Skip to content
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Vented rotor with a bell and rear friction disc.

// Set units and version
@settings(defaultLengthUnit = in, kclVersion = 2.0)
@settings(defaultLengthUnit = in, kclVersion = 1.0)

// Import parameters
import * from "parameters.kcl"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Solver sketch version of the full tire profile.

// Set units and version
@settings(defaultLengthUnit = in, kclVersion = 2.0)
@settings(defaultLengthUnit = in, kclVersion = 1.0)

// Import parameters
import * from "parameters.kcl"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// A sports car wheel with a circular lug pattern and spokes.

// Set units and version
@settings(defaultLengthUnit = in, kclVersion = 2.0)
@settings(defaultLengthUnit = in, kclVersion = 1.0)

// Import parameters
import * from "parameters.kcl"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Solver sketch version of the lug nut profile.

// Set units and version
@settings(defaultLengthUnit = in, kclVersion = 2.0)
@settings(defaultLengthUnit = in, kclVersion = 1.0)

// Import parameters
import * from "parameters.kcl"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// Categories: Automotive

// Set units and version
@settings(defaultLengthUnit = in, kclVersion = 2.0)
@settings(defaultLengthUnit = in, kclVersion = 1.0)

// Import parameters
import * from "parameters.kcl"
Expand Down
2 changes: 1 addition & 1 deletion content/pages/docs/kcl-samples/stylized-car/main.kcl
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
// for game assets, placeholder art, or visual-scripting demos.

// Set units and version
@settings(defaultLengthUnit = m, kclVersion = 2.0)
@settings(defaultLengthUnit = m, kclVersion = 1.0)

// Chassis dimensions
chassisLength = 3.5 // total vehicle length
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ excerpt: "Draw a line segment relative to the current origin using the polar mea
layout: manual
---

**WARNING:** This function is deprecated as of KCL 2.0.

Draw a line segment relative to the current origin using the polar measure of some angle and distance.

```kcl
Expand All @@ -20,7 +22,7 @@ angledLine(
): Sketch
```

This is part of sketch v1 and is soft deprecated in favor of
This is part of sketch v1 and is deprecated in favor of
[sketch-solve](/docs/kcl-std/modules/std-solver).

### Arguments
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ excerpt: "Draw an angled line from the current origin, constructing a line segme
layout: manual
---

**WARNING:** This function is deprecated as of KCL 2.0.

Draw an angled line from the current origin, constructing a line segment such that the newly created line intersects the desired target line segment.

```kcl
Expand All @@ -17,7 +19,7 @@ angledLineThatIntersects(
): Sketch
```

This is part of sketch v1 and is soft deprecated in favor of
This is part of sketch v1 and is deprecated in favor of
[sketch-solve](/docs/kcl-std/modules/std-solver).

### Arguments
Expand Down
4 changes: 3 additions & 1 deletion content/pages/docs/kcl-std/functions/std-sketch-arc.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ excerpt: "Draw a curved line segment along an imaginary circle."
layout: manual
---

**WARNING:** This function is deprecated as of KCL 2.0.

Draw a curved line segment along an imaginary circle.

```kcl
Expand All @@ -20,7 +22,7 @@ arc(
): Sketch
```

This is part of sketch v1 and is soft deprecated in favor of
This is part of sketch v1 and is deprecated in favor of
[sketch-solve](/docs/kcl-std/modules/std-solver).

The arc is constructed such that the current position of the sketch is
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ excerpt: "Draw a smooth, continuous, curved line segment from the current origin
layout: manual
---

**WARNING:** This function is deprecated as of KCL 2.0.

Draw a smooth, continuous, curved line segment from the current origin to the desired (x, y), using a number of control points to shape the curve's shape.

```kcl
Expand All @@ -20,7 +22,7 @@ bezierCurve(
): Sketch
```

This is part of sketch v1 and is soft deprecated in favor of
This is part of sketch v1 and is deprecated in favor of
[sketch-solve](/docs/kcl-std/modules/std-solver). The sketch-solve version
of bezier curve is still under development.

Expand Down
4 changes: 3 additions & 1 deletion content/pages/docs/kcl-std/functions/std-sketch-circle.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ excerpt: "Construct a 2-dimensional circle, of the specified radius, centered at
layout: manual
---

**WARNING:** This function is deprecated as of KCL 2.0.

Construct a 2-dimensional circle, of the specified radius, centered at the provided (x, y) origin point.

```kcl
Expand All @@ -17,7 +19,7 @@ circle(
): Sketch
```

This is part of sketch v1 and is soft deprecated in favor of
This is part of sketch v1 and is deprecated in favor of
[sketch-solve](/docs/kcl-std/modules/std-solver).

### Arguments
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ excerpt: "Construct a circle derived from 3 points."
layout: manual
---

**WARNING:** This function is deprecated as of KCL 2.0.

Construct a circle derived from 3 points.

```kcl
Expand All @@ -17,7 +19,7 @@ circleThreePoint(
): Sketch
```

This is part of sketch v1 and is soft deprecated in favor of
This is part of sketch v1 and is deprecated in favor of
[sketch-solve](/docs/kcl-std/modules/std-solver).

### Arguments
Expand Down
4 changes: 3 additions & 1 deletion content/pages/docs/kcl-std/functions/std-sketch-close.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ excerpt: "Construct a line segment from the current origin back to the profile's
layout: manual
---

**WARNING:** This function is deprecated as of KCL 2.0.

Construct a line segment from the current origin back to the profile's origin, ensuring the resulting 2-dimensional sketch is not open-ended.

```kcl
Expand All @@ -14,7 +16,7 @@ close(
): Sketch
```

This is part of sketch v1 and is soft deprecated in favor of
This is part of sketch v1 and is deprecated in favor of
[sketch-solve](/docs/kcl-std/modules/std-solver).

If you want to perform some 3-dimensional operation on a sketch, like
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ excerpt: "Extend the current sketch with a new involute circular curve."
layout: manual
---

**WARNING:** This function is deprecated as of KCL 2.0.

Extend the current sketch with a new involute circular curve.

```kcl
Expand All @@ -20,9 +22,9 @@ involuteCircular(
): Sketch
```

This is part of sketch v1 and is soft deprecated in favor of
[sketch-solve](/docs/kcl-std/modules/std-solver). The sketch-solve version
of involute circular is still under development.
This is part of sketch v1 and is deprecated in favor of
[sketch-solve](/docs/kcl-std/modules/std-solver) and the
[gear module](/docs/kcl-std/modules/std-gear).

### Arguments

Expand Down
4 changes: 3 additions & 1 deletion content/pages/docs/kcl-std/functions/std-sketch-line.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ excerpt: "Extend the current sketch with a new straight line."
layout: manual
---

**WARNING:** This function is deprecated as of KCL 2.0.

Extend the current sketch with a new straight line.

```kcl
Expand All @@ -16,7 +18,7 @@ line(
): Sketch
```

This is part of sketch v1 and is soft deprecated in favor of
This is part of sketch v1 and is deprecated in favor of
[sketch-solve](/docs/kcl-std/modules/std-solver).

### Arguments
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ excerpt: "Create a regular polygon with the specified number of sides that is ei
layout: manual
---

**WARNING:** This function is deprecated as of KCL 2.0.

Create a regular polygon with the specified number of sides that is either inscribed or circumscribed around a circle of the specified radius.

```kcl
Expand All @@ -17,7 +19,7 @@ polygon(
): Sketch
```

This is part of sketch v1 and is soft deprecated in favor of
This is part of sketch v1 and is deprecated in favor of
[sketch-solve](/docs/kcl-std/modules/std-solver).

### Arguments
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ excerpt: "Sketch a rectangle."
layout: manual
---

**WARNING:** This function is deprecated as of KCL 2.0.

Sketch a rectangle.

```kcl
Expand All @@ -17,7 +19,7 @@ rectangle(
): Sketch
```

This is part of sketch v1 and is soft deprecated in favor of
This is part of sketch v1 and is deprecated in favor of
[sketch-solve](/docs/kcl-std/modules/std-solver).

A rectangle can be defined by its width, height, and location. Either the center or corner must be provided, but not both, to specify its location.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ excerpt: "Start a new profile at a given point."
layout: manual
---

**WARNING:** This function is deprecated as of KCL 2.0.

Start a new profile at a given point.

```kcl
Expand All @@ -15,7 +17,7 @@ startProfile(
): Sketch
```

This is part of sketch v1 and is soft deprecated in favor of
This is part of sketch v1 and is deprecated in favor of
[sketch-solve](/docs/kcl-std/modules/std-solver).

### Arguments
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ excerpt: "Start a new 2-dimensional sketch on a specific plane or face."
layout: manual
---

**WARNING:** This function is deprecated as of KCL 2.0.

Start a new 2-dimensional sketch on a specific plane or face.

```kcl
Expand All @@ -17,7 +19,7 @@ startSketchOn(
): Plane | Face
```

This is part of sketch v1 and is soft deprecated in favor of
This is part of sketch v1 and is deprecated in favor of
[sketch-solve](/docs/kcl-std/modules/std-solver).

### Sketch on Face Behavior
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ excerpt: "Use a 2-dimensional sketch to cut a hole in another 2-dimensional sket
layout: manual
---

**WARNING:** This function is deprecated as of KCL 2.0.

Use a 2-dimensional sketch to cut a hole in another 2-dimensional sketch.

```kcl
Expand All @@ -14,7 +16,7 @@ subtract2d(
): Sketch
```

This is part of sketch v1 and is soft deprecated in favor of
This is part of sketch v1 and is deprecated in favor of
[sketch-solve](/docs/kcl-std/modules/std-solver).

### Arguments
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ excerpt: "Starting at the current sketch's origin, draw a curved line segment al
layout: manual
---

**WARNING:** This function is deprecated as of KCL 2.0.

Starting at the current sketch's origin, draw a curved line segment along some part of an imaginary circle until it reaches the desired (x, y) coordinates.

```kcl
Expand All @@ -19,7 +21,7 @@ tangentialArc(
): Sketch
```

This is part of sketch v1 and is soft deprecated in favor of
This is part of sketch v1 and is deprecated in favor of
[sketch-solve](/docs/kcl-std/modules/std-solver).

When using radius and angle, draw a curved line segment along part of an
Expand Down
4 changes: 3 additions & 1 deletion content/pages/docs/kcl-std/functions/std-sketch-xLine.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ excerpt: "Draw a line relative to the current origin to a specified distance awa
layout: manual
---

**WARNING:** This function is deprecated as of KCL 2.0.

Draw a line relative to the current origin to a specified distance away from the current position along the 'x' axis.

```kcl
Expand All @@ -16,7 +18,7 @@ xLine(
): Sketch
```

This is part of sketch v1 and is soft deprecated in favor of
This is part of sketch v1 and is deprecated in favor of
[sketch-solve](/docs/kcl-std/modules/std-solver).

### Arguments
Expand Down
4 changes: 3 additions & 1 deletion content/pages/docs/kcl-std/functions/std-sketch-yLine.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ excerpt: "Draw a line relative to the current origin to a specified distance awa
layout: manual
---

**WARNING:** This function is deprecated as of KCL 2.0.

Draw a line relative to the current origin to a specified distance away from the current position along the 'y' axis.

```kcl
Expand All @@ -16,7 +18,7 @@ yLine(
): Sketch
```

This is part of sketch v1 and is soft deprecated in favor of
This is part of sketch v1 and is deprecated in favor of
[sketch-solve](/docs/kcl-std/modules/std-solver).

### Arguments
Expand Down
Loading