Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/dynamo_post_bin_diff.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ jobs:
if: github.event.workflow_run.event == 'pull_request' && github.event.workflow_run.conclusion == 'success'
steps:
- name: Download Pull Request Data
uses: dawidd6/action-download-artifact@v14
uses: dawidd6/action-download-artifact@v15
with:
name: pr_data
run_id: ${{ github.event.workflow_run.id }}
path: ${{ github.workspace }}/pr
- name: Download Bin Diff Result
uses: dawidd6/action-download-artifact@v14
uses: dawidd6/action-download-artifact@v15
with:
name: bin_diff_result
run_id: ${{ github.event.workflow_run.id }}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## Podrobnosti
ProjectPointsOnto will project the point(s) along a given vector direction onto a specified geometry. The projection is only attempted in the positve direction of the vector. If the vector does not intersect the given geometry, it will return null. In the example below, we create a point using a code block to specify the x,y, and z coordinates. We use a sphere as the geometry to project onto, and the world XAxis as the projection Direction. The output is a point on the surface of the sphere that is projected from the original point.
Uzel ProjectPointsOnto promítne body podél směru daného vektoru na určenou geometrii. Pokus o promítnutí se provede pouze v kladném směru vektoru. Pokud vektor neprotíná danou geometrii, funkce vrátí hodnotu null. V níže uvedeném příkladu vytvoříme bod pomocí bloku kódu, který určuje souřadnice x, y a z. Jako geometrii, na kterou se promítá, použijeme kouli a jako směr projekce globální objekt XAxis. Výstupem je bod na povrchu koule, který je promítnut z původního bodu.
___
## Vzorový soubor

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
## Podrobnosti
Use `NurbsCurve.PeriodicControlPoints` when you need to export a closed NURBS curve to another system (for example Alias) or when that system expects the curve in its periodic form. Many CAD tools expect this form for round-trip accuracy.

`PeriodicControlPoints` returns the control points in the *periodic* form. `ControlPoints` returns them in the *clamped* form. Both arrays have the same number of points; they are two different ways to describe the same curve. In the periodic form, the last few control points match the first few (as many as the curve degree), so the curve closes smoothly. The clamped form uses a different layout, so the point positions in the two arrays differ.

In the example below, a periodic NURBS curve is built with `NurbsCurve.ByControlPointsWeightsKnots`. Watch nodes compare `ControlPoints` and `PeriodicControlPoints` so you can see the same length but different point positions. The ControlPoints are seen with a red color so they appear distinctly from the PeriodicControlPoints, which are in black, in the background preview.
___
## Vzorový soubor

![PeriodicControlPoints](./Autodesk.DesignScript.Geometry.NurbsCurve.PeriodicControlPoints_img.jpg)
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
## Podrobnosti
Use `NurbsCurve.PeriodicKnots` when you need to export a closed NURBS curve to another system (for example Alias) or when that system expects the curve in its periodic form. Many CAD tools expect this form for round-trip accuracy.

`PeriodicKnots` returns the knot vector in the *periodic* (unclamped) form. `Knots` returns it in the *clamped* form. Both arrays have the same length; they are two different ways to describe the same curve. In the clamped form, knots repeat at the start and end so the curve is pinned to the parameter range. In the periodic form, the knot spacing repeats at the start and end instead, which gives a smooth closed loop.

In the example below, a periodic NURBS curve is built with `NurbsCurve.ByControlPointsWeightsKnots`. Watch nodes compare `Knots` and `PeriodicKnots` so you can see the same length but different values. Knots is the clamped form (repeated knots at the ends), and PeriodicKnots is the unclamped form with the repeating difference pattern that defines the curve's periodicity.
___
## Vzorový soubor

![PeriodicKnots](./Autodesk.DesignScript.Geometry.NurbsCurve.PeriodicKnots_img.jpg)
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!--- Autodesk.DesignScript.Geometry.Curve.SweepAsSurface(curve, path, cutEndOff) --->
<!--- DUHOUAQLX67Z6VGX2F6TGNPE2PGYDN7VGCOK6UW3D5GYILRXG3KA --->
## Podrobnosti
`Curve.SweepAsSurface` will create a surface by sweeping an input curve along a specfied path. In the example below, we create a curve to sweep by using a Code Block to create three points of an `Arc.ByThreePoints` node. A path curve is created as a simple line along the x-axis. `Curve.SweepAsSurface` moves the profile curve along the path curve creating a surface. The `cutEndOff` parameter is a boolean that controls the end treatment of the swept surface. When set to `true`, the ends of the surface are cut perpendicular (normal) to the path curve, producing clean, flat terminations. When set to `false` (the default), the surface ends follow the natural shape of the profile curve without any trimming, which may result in angled or uneven ends depending on the path curvature.
Uzel `Curve.SweepAsSurface` vytvoří povrch tažením vstupní křivky podél určené trajektorie. V následujícím příkladu vytvoříme křivku k tažení pomocí bloku kódu, který vytvoří tři body uzlu `Arc.ByThreePoints`. Křivka trajektorie se vytvoří jako jednoduchá čára podél osy x. Uzel `Curve.SweepAsSurface` přesune křivku profilu podél křivky trajektorie, čímž vytvoří povrch. Parametr `cutEndOff` je booleovská hodnota, která určuje zakončení taženého povrchu. Pokud je hodnota nastavena na `true`, konce povrchu jsou oříznuty kolmo (normálně) ke křivce trajektorie, čímž se vytvoří čistá, plochá ukončení. Pokud je hodnota nastavena na `false`(výchozí nastavení), konce povrchu sledují přirozený tvar křivky profilu bez ořezávání, což může mít za následek šikmé nebo nerovnoměrné konce v závislosti na zakřivení cesty.
___
## Vzorový soubor

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## Im Detail
ProjectPointsOnto will project the point(s) along a given vector direction onto a specified geometry. The projection is only attempted in the positve direction of the vector. If the vector does not intersect the given geometry, it will return null. In the example below, we create a point using a code block to specify the x,y, and z coordinates. We use a sphere as the geometry to project onto, and the world XAxis as the projection Direction. The output is a point on the surface of the sphere that is projected from the original point.
Mit ProjectPointsOnto werden die Punkte entlang einer angegebenen Vektorrichtung auf eine angegebene Geometrie projiziert. Die Projektion wird nur in der positiven Richtung des Vektors versucht. Wenn der Vektor die angegebene Geometrie nicht schneidet, wird null zurückgegeben. Im folgenden Beispiel wird ein Punkt mithilfe eines Codeblocks erstellt, um die X-, Y- und Z-Koordinaten anzugeben. Verwenden Sie eine Kugel als Geometrie für die Projektion und die Welt-XAxis als Projektionsrichtung. Die Ausgabe ist ein Punkt auf der Oberfläche der Kugel, die vom ursprünglichen Punkt projiziert wird.
___
## Beispieldatei

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
## Im Detail
Use `NurbsCurve.PeriodicControlPoints` when you need to export a closed NURBS curve to another system (for example Alias) or when that system expects the curve in its periodic form. Many CAD tools expect this form for round-trip accuracy.

`PeriodicControlPoints` returns the control points in the *periodic* form. `ControlPoints` returns them in the *clamped* form. Both arrays have the same number of points; they are two different ways to describe the same curve. In the periodic form, the last few control points match the first few (as many as the curve degree), so the curve closes smoothly. The clamped form uses a different layout, so the point positions in the two arrays differ.

In the example below, a periodic NURBS curve is built with `NurbsCurve.ByControlPointsWeightsKnots`. Watch nodes compare `ControlPoints` and `PeriodicControlPoints` so you can see the same length but different point positions. The ControlPoints are seen with a red color so they appear distinctly from the PeriodicControlPoints, which are in black, in the background preview.
___
## Beispieldatei

![PeriodicControlPoints](./Autodesk.DesignScript.Geometry.NurbsCurve.PeriodicControlPoints_img.jpg)
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
## Im Detail
Use `NurbsCurve.PeriodicKnots` when you need to export a closed NURBS curve to another system (for example Alias) or when that system expects the curve in its periodic form. Many CAD tools expect this form for round-trip accuracy.

`PeriodicKnots` returns the knot vector in the *periodic* (unclamped) form. `Knots` returns it in the *clamped* form. Both arrays have the same length; they are two different ways to describe the same curve. In the clamped form, knots repeat at the start and end so the curve is pinned to the parameter range. In the periodic form, the knot spacing repeats at the start and end instead, which gives a smooth closed loop.

In the example below, a periodic NURBS curve is built with `NurbsCurve.ByControlPointsWeightsKnots`. Watch nodes compare `Knots` and `PeriodicKnots` so you can see the same length but different values. Knots is the clamped form (repeated knots at the ends), and PeriodicKnots is the unclamped form with the repeating difference pattern that defines the curve's periodicity.
___
## Beispieldatei

![PeriodicKnots](./Autodesk.DesignScript.Geometry.NurbsCurve.PeriodicKnots_img.jpg)
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!--- Autodesk.DesignScript.Geometry.Curve.SweepAsSurface(curve, path, cutEndOff) --->
<!--- DUHOUAQLX67Z6VGX2F6TGNPE2PGYDN7VGCOK6UW3D5GYILRXG3KA --->
## Im Detail
`Curve.SweepAsSurface` will create a surface by sweeping an input curve along a specfied path. In the example below, we create a curve to sweep by using a Code Block to create three points of an `Arc.ByThreePoints` node. A path curve is created as a simple line along the x-axis. `Curve.SweepAsSurface` moves the profile curve along the path curve creating a surface. The `cutEndOff` parameter is a boolean that controls the end treatment of the swept surface. When set to `true`, the ends of the surface are cut perpendicular (normal) to the path curve, producing clean, flat terminations. When set to `false` (the default), the surface ends follow the natural shape of the profile curve without any trimming, which may result in angled or uneven ends depending on the path curvature.
`Curve.SweepAsSurface` erstellt eine Oberfläche durch Sweeping einer Eingabekurve entlang eines angegebenen Pfads. Im folgenden Beispiel wird eine zu sweepende Kurve erstellt, indem mithilfe eines Codeblocks drei Punkte eines `Arc.ByThreePoints`-Blocks erstellt werden. Eine Pfadkurve wird als einfache Linie entlang der X-Achse erstellt. `Curve.SweepAsSurface` verschiebt die Profilkurve entlang der Pfadkurve, wodurch eine Oberfläche erstellt wird. Der `cutEndOff`-Parameter ist ein boolescher Wert, der die Endenbearbeitung der Sweep-Oberfläche steuert. Wenn `true` festgelegt wird, werden die Enden der Oberfläche lotrecht (Normale) zur Pfadkurve geschnitten, wodurch saubere, flache Enden erzielt werden. Wenn `false` (Vorgabe) eingestellt wird, folgen die Oberflächenenden der natürlichen Form der Profilkurve, ohne gestutzt zu werden. Dies kann zu winkeligen oder ungleichen Enden führen, abhängig von der Pfadkurve.
___
## Beispieldatei

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
## In Depth
Use `NurbsCurve.PeriodicControlPoints` when you need to export a closed NURBS curve to another system (for example Alias) or when that system expects the curve in its periodic form. Many CAD tools expect this form for round-trip accuracy.

`PeriodicControlPoints` returns the control points in the *periodic* form. `ControlPoints` returns them in the *clamped* form. Both arrays have the same number of points; they are two different ways to describe the same curve. In the periodic form, the last few control points match the first few (as many as the curve degree), so the curve closes smoothly. The clamped form uses a different layout, so the point positions in the two arrays differ.

In the example below, a periodic NURBS curve is built with `NurbsCurve.ByControlPointsWeightsKnots`. Watch nodes compare `ControlPoints` and `PeriodicControlPoints` so you can see the same length but different point positions. The ControlPoints are seen with a red color so they appear distinctly from the PeriodicControlPoints, which are in black, in the background preview.
___
## Example File

![PeriodicControlPoints](./Autodesk.DesignScript.Geometry.NurbsCurve.PeriodicControlPoints_img.jpg)
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
## In Depth
Use `NurbsCurve.PeriodicKnots` when you need to export a closed NURBS curve to another system (for example Alias) or when that system expects the curve in its periodic form. Many CAD tools expect this form for round-trip accuracy.

`PeriodicKnots` returns the knot vector in the *periodic* (unclamped) form. `Knots` returns it in the *clamped* form. Both arrays have the same length; they are two different ways to describe the same curve. In the clamped form, knots repeat at the start and end so the curve is pinned to the parameter range. In the periodic form, the knot spacing repeats at the start and end instead, which gives a smooth closed loop.

In the example below, a periodic NURBS curve is built with `NurbsCurve.ByControlPointsWeightsKnots`. Watch nodes compare `Knots` and `PeriodicKnots` so you can see the same length but different values. Knots is the clamped form (repeated knots at the ends), and PeriodicKnots is the unclamped form with the repeating difference pattern that defines the curve's periodicity.
___
## Example File

![PeriodicKnots](./Autodesk.DesignScript.Geometry.NurbsCurve.PeriodicKnots_img.jpg)
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## En detalle:
ProjectPointsOnto will project the point(s) along a given vector direction onto a specified geometry. The projection is only attempted in the positve direction of the vector. If the vector does not intersect the given geometry, it will return null. In the example below, we create a point using a code block to specify the x,y, and z coordinates. We use a sphere as the geometry to project onto, and the world XAxis as the projection Direction. The output is a point on the surface of the sphere that is projected from the original point.
ProjectPointsOnto proyectará los puntos a lo largo de una dirección vectorial indicada sobre una geometría especificada. Solo se intentará realizar la proyección en la dirección positiva del vector. Si el vector no se interseca con la geometría indicada, devolverá un valor nulo. En el ejemplo siguiente, creamos un punto mediante un bloque de código para especificar las coordenadas X, Y y Z. Utilizamos una esfera como geometría sobre la que proyectar y el XAxis universal como dirección de proyección. El resultado es un punto en la superficie de la esfera que se proyecta desde el punto original.
___
## Archivo de ejemplo

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
## En detalle:
Use `NurbsCurve.PeriodicControlPoints` when you need to export a closed NURBS curve to another system (for example Alias) or when that system expects the curve in its periodic form. Many CAD tools expect this form for round-trip accuracy.

`PeriodicControlPoints` returns the control points in the *periodic* form. `ControlPoints` returns them in the *clamped* form. Both arrays have the same number of points; they are two different ways to describe the same curve. In the periodic form, the last few control points match the first few (as many as the curve degree), so the curve closes smoothly. The clamped form uses a different layout, so the point positions in the two arrays differ.

In the example below, a periodic NURBS curve is built with `NurbsCurve.ByControlPointsWeightsKnots`. Watch nodes compare `ControlPoints` and `PeriodicControlPoints` so you can see the same length but different point positions. The ControlPoints are seen with a red color so they appear distinctly from the PeriodicControlPoints, which are in black, in the background preview.
___
## Archivo de ejemplo

![PeriodicControlPoints](./Autodesk.DesignScript.Geometry.NurbsCurve.PeriodicControlPoints_img.jpg)
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
## En detalle:
Use `NurbsCurve.PeriodicKnots` when you need to export a closed NURBS curve to another system (for example Alias) or when that system expects the curve in its periodic form. Many CAD tools expect this form for round-trip accuracy.

`PeriodicKnots` returns the knot vector in the *periodic* (unclamped) form. `Knots` returns it in the *clamped* form. Both arrays have the same length; they are two different ways to describe the same curve. In the clamped form, knots repeat at the start and end so the curve is pinned to the parameter range. In the periodic form, the knot spacing repeats at the start and end instead, which gives a smooth closed loop.

In the example below, a periodic NURBS curve is built with `NurbsCurve.ByControlPointsWeightsKnots`. Watch nodes compare `Knots` and `PeriodicKnots` so you can see the same length but different values. Knots is the clamped form (repeated knots at the ends), and PeriodicKnots is the unclamped form with the repeating difference pattern that defines the curve's periodicity.
___
## Archivo de ejemplo

![PeriodicKnots](./Autodesk.DesignScript.Geometry.NurbsCurve.PeriodicKnots_img.jpg)
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!--- Autodesk.DesignScript.Geometry.Curve.SweepAsSurface(curve, path, cutEndOff) --->
<!--- DUHOUAQLX67Z6VGX2F6TGNPE2PGYDN7VGCOK6UW3D5GYILRXG3KA --->
## En detalle:
`Curve.SweepAsSurface` will create a surface by sweeping an input curve along a specfied path. In the example below, we create a curve to sweep by using a Code Block to create three points of an `Arc.ByThreePoints` node. A path curve is created as a simple line along the x-axis. `Curve.SweepAsSurface` moves the profile curve along the path curve creating a surface. The `cutEndOff` parameter is a boolean that controls the end treatment of the swept surface. When set to `true`, the ends of the surface are cut perpendicular (normal) to the path curve, producing clean, flat terminations. When set to `false` (the default), the surface ends follow the natural shape of the profile curve without any trimming, which may result in angled or uneven ends depending on the path curvature.
`Curve.SweepAsSurface` creará una superficie mediante el barrido de una curva de entrada a lo largo de una trayectoria especificada. En el ejemplo siguiente, creamos una curva para barrer mediante un bloque de código a fin de crear tres puntos de un nodo `Arc.ByThreePoints`. Se crea una curva de trayectoria como una línea simple a lo largo del eje X. `Curve.SweepAsSurface` mueve la curva de perfil a lo largo de la curva de trayectoria para crear una superficie. El parámetro `cutEndOff` es un valor booleano que controla el tratamiento de los extremos de la superficie barrida. Si se establece en `true`, los extremos de la superficie se cortan perpendicularmente (normal) a la curva de trayectoria, lo que genera terminaciones limpias y planas. Si se establece en `false` (el valor por defecto), los extremos de la superficie siguen la forma natural de la curva de perfil sin ningún recorte, lo que puede dar lugar a extremos angulosos o irregulares en función de la curvatura de la trayectoria.
___
## Archivo de ejemplo

Expand Down
Loading