You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CurvedShapes.addObjectProperty(fp,"App::PropertyInteger", "LoftMaxDegree", "CurvedSegment", "Max Degree for Surface or Solid").LoftMaxDegree=LoftMaxDegree
52
53
CurvedShapes.addObjectProperty(fp,"App::PropertyInteger", "MaxLoftSize", "CurvedSegment", "Max Size of a Loft in Segments.").MaxLoftSize=MaxLoftSize
CurvedShapes.addObjectProperty(fp, "App::PropertyInteger", "LoftMaxDegree", "CurvedSegment", "Max Degree for Surface or Solid", init_val=5) # backwards compatibility - this upgrades older documents
112
116
ifnothasattr(fp, 'MaxLoftSize'):
113
117
CurvedShapes.addObjectProperty(fp,"App::PropertyInteger", "MaxLoftSize", "CurvedSegment", "Max Size of a Loft in Segments.", init_val=-1) # backwards compatibility - this upgrades older documents
Interpoliert zwischen zwei 2D Kurven. Die interpolieren Kurven können innerhalb von Hüllkurven angeordnet werden.
107
+
Dieses tool funktioniert nicht mit allen beliebigen Kurven. Die Parameter TwistReverse und ForceInterploate können das Ergebis evtl. verbessern.
107
108
108
109

109
110

@@ -135,21 +136,7 @@ Interpoliert zwischen zwei 2D Kurven und ordnet diese rechwinklig zu einer Kurve
135
136
Zuerst zwei 2D Kurven auswählen, dann eine Kurve, die als Path verwendet wird, dann optional noch eine oder mehrere Hüllkurven. Danach das Curved Segment Werkzeug verwenden.
136
137
137
138
#### Parameters
138
-
- Shape1: Das erste Object des Segments
139
-
- Shape2: Das letzte Object des Segments
140
-
- Hullcurves: Keine, eine oder mehrere Hüllkurven. Alle Hüllkurven sollten in der XY, XZ oder YZ Raumebene liegen.
141
-
- NormalShape1: Richtung, in der die Array Elemente von Shape1 aus aufgebaut werden (wird automatisch berechnet)
142
-
- NormalShape2: Richtung, in der die Array Elemente von Shape2 aus aufgebaut werden (wird automatisch berechnet)
143
-
- Items: Anzahl der Array Elemente
144
-
- makeSurface: Eine Oberfläche erstellen
145
-
- makeSolid: Einen Festkörper erstellen (funktioniert nur, wenn Base eine geschlossene Form ist)
146
-
- InterpolationPoints: Wenn Shape1 und Shape2 verschiedenartige Objekte sind, werden die Kurven in diese Anzahl von Einzelpunkten zerlegt
147
-
- Twist: (Winkel in Grad) kann eine Rotation zwischen Shape1 unf Shape2 kompensieren
148
-
- TwistReverse: wenn True, wird die Drehrichtung geändert
149
-
- Distribution: Algorithmus zur Berechnung der Distanz zwischen den Elementen. Default ist 'linear'. Weitere Möglichkeiten: parabolic (x²), x³, sinusoidal, elliptic
150
-
- DistributionReverse: Kehrt die Richtung des Distrubution Algorithmus um
151
-
- LoftMaxDegree: Gradzahl für die Erstellung von Oberflächen und Festkörpern.
152
-
- MaxLoftSize: Maximale Anzahl von Elementen für die Erstellung von Oberfächen und Festkörpern
139
+
wie bei Curved Segment
153
140
- Path: Kurve, an der die Segmente rechtwinkling ausgerichtet werden.
Copy file name to clipboardexpand all lines: README.md
+4-16
Original file line number
Diff line number
Diff line change
@@ -110,7 +110,8 @@ The first curve that you select for Curved Path Array creation will be the base
110
110
The parameters ScaleX, ScaleY and ScaleZ have been added because you may want to rescale the items only in one direction, but the hullcurves normally cover 2 or three room directions.
Interpolates between two 2D curves. The interpolated curves can be resized in the bounds of some hullcurves.
113
+
Interpolates between two 2D curves. The interpolated curves can be resized in the bounds of some hullcurves.
114
+
This does not work for all kinds of shapes. The result may look distorted if the two shapes are too different. The parameters TwistReverse and ForceInterpolated may help to get better results.
114
115
115
116

116
117

@@ -134,29 +135,16 @@ Select two 2D shapes first. The curved segment will be created between them. If
134
135
- DistributionReverse: Reverses the direction of the Distribution algorithm
135
136
- LoftMaxDegree: degree for surface or solid creation. Play with this parameter if your surface or solid looks distorted
136
137
- MaxLoftSize: Maximum size of a loft segment. The surface is created by creating a loft over many array items, however OpenCascade gets very slow and produces artefacts towards the end of the loft when the array gets too large. Therefore the array gets split up intp sub-arrays of up to MaxLoftSize items. Play with this value if a split between segements ends up in a inconvenient spot. Sensible values are between 10 and 50.
138
+
- ForceInterpolated: By default, CurvedSegment tries a more direct transition from the first to the second object if the objects have the same number of points and lines and interpolates intermediate shapes if they don't. In case the direct approach does not work because the type or order of lines does not match, interpolation can be forced with this parameter even if the number of points is equal. This should only be needed in rare cases.
Interpolates between two 2D curves and sweeps the elements around a path curve. The interpolated curves can be resized in the bounds of some hullcurves.
140
142
141
143
Select two 2D shapes first, then a sweep path curve. The curved segment will be created between them. If you want to use hullcurves, select them also. Then create the Curved Segment.
142
144
143
145
#### Parameters
144
-
- Shape1: The first object of the segment
145
-
- Shape2: The last object of the segment
146
-
- Hullcurves: List of one or more bounding curves in XY, XZ or YZ plane (optional)
147
-
- NormalShape1: Direction axis of Shape1 (auto computed)
148
-
- NormalShape2: Direction axis of Shape2 (auto computed)
149
-
- Items: Nr. of items between the segments
150
-
- makeSurface: make a surface over the array items
151
-
- makeSolid: make a solid if Base is a closed shape
152
-
- InterpolationPoints: ignored if Shape1 and Shape2 have the same number of edges and poles. Otherwise all edges will be split (discretized) into this number of points
153
-
- Twist: twist into the shape around the profiles normal axis. Useful for example for threaded parts.
154
-
- TwistReverse: Reverses the rotation of one Shape. This is for correcting misalignment between the shapes, use this if the entire shape is inversed on itself (wasp-tail)
146
+
same as in Curved Segment
155
147
- Path: Sweep path - similar to "Path" in CurvedPathArray. If a path is specified, it supersedes the position and orientation of Shape1 and Shape2. CurvedSegment then behaves like CurvedPathArray but with a blend between a beginning and end profile.
156
-
- Distribution: Algorithm for distance between array elements. Default is 'linear'. Also selectable: parabolic (x²), x³, sinusoidal, elliptic
157
-
- DistributionReverse: Reverses the direction of the Distribution algorithm
158
-
- LoftMaxDegree: degree for surface or solid creation. Play with this parameter if your surface or solid looks distorted
159
-
- MaxLoftSize: Maximum size of a loft segment. The surface is created by creating a loft over many array items, however OpenCascade gets very slow and produces artefacts towards the end of the loft when the array gets too large. Therefore the array gets split up intp sub-arrays of up to MaxLoftSize items. Play with this value if a split between segements ends up in a inconvenient spot. Sensible values are between 10 and 50.
0 commit comments