|
Silk ControlGrid44
|
| Menu location
|
| Silk → ControlGrid44
|
| Workbenches
|
| Silk
|
| Default shortcut
|
| None
|
| Introduced in version
|
| -
|
| See also
|
| None
|
|
Description
The
Silk ControlGrid44 command creates a 4x4 control grid, a ControlGrid44 object, from four connected
4 point polygons.
A ControlGrid44 built from four ControlPoly4 edges
A loop of 4 connected 4 point polygons → Resulting 4x4 control grid
Usage
- Select a loop of 4 connected
4 point polygons sequentially in counter-clockwise direction (looking from the "outer side" of the surface to be created) in the 3D View.
- There are several ways to invoke the command.
- Press the
ControlGrid44 button.
- Select the Silk →
ControlGrid44 option from the menu.
- A 4x4 control grid, a ControlGrid44_4 object, is created.
Notes
- Silk performs its first useful task beyond using existing FreeCAD functions and forcing a particular input format: it generates the inner control points of the grid based on the polys. This is not the only way to generate the inner control points, but it is a solid default starting point. The user provides 12 points through the polys, and Silk provides 4 more. 4 out of 12 doesn't seem like much, but it snowballs from here — the rest of the tools will generate tens and hundreds of useful control points with less and less input required from the user at each step.
Tangency Rules
- If adjacent CubicSurface_44 objects are not going to be segmented and blended, their ControlGrid44 objects must follow strict rules to achieve tangency (G1) across the shared edge (picture two grids/surfaces side by side, left and right):
- There must be a shared edge (G0) in the middle — the entire edge. This is done by selecting the same poly for that edge in both grid creations. Do not trace, approximate, copy, or link the poly — use the same object in both grid creations.
- The legs of the polys that meet on the shared edge must be collinear (aligned/parallel).
- The ratio of the lengths of the poly legs that meet on the shared edge must be equal. For example, if the top poly on the left grid has a last leg of length 3, meeting a leg of length 1 on the top of the right grid, the tangency ratio is 3:1 from left to right. If the bottom poly on the left grid then has a last leg of length 5, the connecting poly on the right grid must have a first leg of length 2 (keeping the 3:1 ratio). This ratio rule does not apply if all poly legs are parallel across the shared edge.
- Users do not need to do anything beyond preparing the polys correctly — if the polys follow these rules, the generated adjacent grids will always be G1, since Silk calculates all of the surface's internal control points (the ones not on edges).
- Following tangency rules (G1) forces changes to the polys, which changes the entire surface. When a surface should not be modified, it is blended instead of aligned. G1 alignment is useful for patching small holes, or for connecting to planes, cylinders, and spheres.
Optional — flawed, use with caution
- Selecting 3 connected ControlPoly4 edges produces a "triangle" grid, which yields a lower-quality surface. The "triangle" has a degenerate (collapsed) edge between the first and third selected polys, because internally this grid still has as many points and lines as a four-sided grid; the collapsed lines and points cause visible defects in the surface, and make further operations with this grid (or surfaces built from it) difficult or even impossible. This "triangle" does respect tangency rules and will connect cleanly to other grids despite its inner flaw. In fact, conforming to G1 on the edges makes it particularly flawed and ugly on the inside. Removing this option is being considered, but it remains for now, since some users want it despite the warnings.
Properties
See also: Property View.
A 4x4 control grid, a ControlGrid44_4 object, is derived from a Part feature, or more precise a Part::FeaturePython object and inherits all its properties. It also has the following additional properties:
Data
C1 - Inputs
- DataPoly0 (
Link): First control polygon.
- DataPoly1 (
Link): Second control polygon.
- DataPoly2 (
Link): Third control polygon.
- DataPoly3 (
Link): Fourth control polygon.
- Datareverse (
Bool): Default is False. Reverses the parameter direction.
- Datatolerance (
Float): Default is 1e-06. Point-to-point connection tolerance for the 4 corners.
C2 - Outputs
- DataLegs (
Part::PropertyGeometryList): Control segments.
- DataPoles (
VectorList): Poles.
- DataWeights (
FloatList): Weights.
C3 - Identifiers
- DatainternalName (
String): The permanent internal FreeCAD name for this object.
- Dataobject_type (
String): Default is ControlGrid44_4. The workbench class used to create this object.
- Dataobject_version (
String): The class version of this object.