hide program memory source ranges from the app (#5759)

* hide program memory source ranges from the app

Signed-off-by: Jess Frazelle <github@jessfraz.com>

fix unit tests

Signed-off-by: Jess Frazelle <github@jessfraz.com>

fix memory

Signed-off-by: Jess Frazelle <github@jessfraz.com>

remove from paths

Signed-off-by: Jess Frazelle <github@jessfraz.com>

updates

Signed-off-by: Jess Frazelle <github@jessfraz.com>

fixes

Signed-off-by: Jess Frazelle <github@jessfraz.com>

updates

Signed-off-by: Jess Frazelle <github@jessfraz.com>

updates

Signed-off-by: Jess Frazelle <github@jessfraz.com>

updates

Signed-off-by: Jess Frazelle <github@jessfraz.com>

updates

Signed-off-by: Jess Frazelle <github@jessfraz.com>

updates

Signed-off-by: Jess Frazelle <github@jessfraz.com>

updates

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* fix program memory source ranges

* updates

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* updates

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* updates

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* updates

Signed-off-by: Jess Frazelle <github@jessfraz.com>

---------

Signed-off-by: Jess Frazelle <github@jessfraz.com>
Co-authored-by: Kurt Hutten Irev-Dev <k.hutten@protonmail.ch>
This commit is contained in:
Jess Frazelle
2025-03-13 11:13:33 -07:00
committed by GitHub
parent 05a6313d97
commit e8886bb358
139 changed files with 18824 additions and 112091 deletions

View File

@ -42,7 +42,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.x
python-version: 'pypy3.10'
- name: Build wheels
uses: PyO3/maturin-action@v1
with:

File diff suppressed because it is too large Load Diff

View File

@ -24,6 +24,5 @@ A face.
| `zAxis` |[`Point3d`](/docs/kcl/types/Point3d)| The z-axis (normal). | No |
| `solid` |[`Solid`](/docs/kcl/types/Solid)| The solid the face is on. | No |
| `units` |[`UnitLen`](/docs/kcl/types/UnitLen)| A unit of length. | No |
| `__meta` |`[` [`Metadata`](/docs/kcl/types/Metadata) `]`| | No |

View File

@ -22,6 +22,5 @@ A helix.
| `angleStart` |[`number`](/docs/kcl/types/number)| Start angle (in degrees). | No |
| `ccw` |`boolean`| Is the helix rotation counter clockwise? | No |
| `units` |[`UnitLen`](/docs/kcl/types/UnitLen)| A unit of length. | No |
| `__meta` |`[` [`Metadata`](/docs/kcl/types/Metadata) `]`| | No |

View File

@ -22,6 +22,5 @@ A helix.
| `angleStart` |[`number`](/docs/kcl/types/number)| Start angle (in degrees). | No |
| `ccw` |`boolean`| Is the helix rotation counter clockwise? | No |
| `units` |[`UnitLen`](/docs/kcl/types/UnitLen)| A unit of length. | No |
| `__meta` |`[` [`Metadata`](/docs/kcl/types/Metadata) `]`| | No |

View File

@ -18,6 +18,5 @@ Data for an imported geometry.
|----------|------|-------------|----------|
| `id` |[`string`](/docs/kcl/types/string)| The ID of the imported geometry. | No |
| `value` |`[` [`string`](/docs/kcl/types/string) `]`| The original file paths. | No |
| `__meta` |`[` [`Metadata`](/docs/kcl/types/Metadata) `]`| | No |

View File

@ -25,7 +25,6 @@ Any KCL value.
|----------|------|-------------|----------|
| `type` |enum: `Uuid`| | No |
| `value` |[`string`](/docs/kcl/types/string)| | No |
| `__meta` |`[` [`Metadata`](/docs/kcl/types/Metadata) `]`| | No |
----
@ -42,7 +41,6 @@ Any KCL value.
|----------|------|-------------|----------|
| `type` |enum: `Bool`| | No |
| `value` |`boolean`| | No |
| `__meta` |`[` [`Metadata`](/docs/kcl/types/Metadata) `]`| | No |
----
@ -60,7 +58,6 @@ Any KCL value.
| `type` |enum: `Number`| | No |
| `value` |[`number`](/docs/kcl/types/number)| | No |
| `ty` |[`NumericType`](/docs/kcl/types/NumericType)| | No |
| `__meta` |`[` [`Metadata`](/docs/kcl/types/Metadata) `]`| | No |
----
@ -77,7 +74,6 @@ Any KCL value.
|----------|------|-------------|----------|
| `type` |enum: `String`| | No |
| `value` |[`string`](/docs/kcl/types/string)| | No |
| `__meta` |`[` [`Metadata`](/docs/kcl/types/Metadata) `]`| | No |
----
@ -94,7 +90,6 @@ Any KCL value.
|----------|------|-------------|----------|
| `type` |enum: `MixedArray`| | No |
| `value` |`[` [`KclValue`](/docs/kcl/types/KclValue) `]`| | No |
| `__meta` |`[` [`Metadata`](/docs/kcl/types/Metadata) `]`| | No |
----
@ -111,7 +106,6 @@ Any KCL value.
|----------|------|-------------|----------|
| `type` |enum: `Object`| | No |
| `value` |`object`| | No |
| `__meta` |`[` [`Metadata`](/docs/kcl/types/Metadata) `]`| | No |
----
@ -129,7 +123,6 @@ Any KCL value.
| `type` |enum: [`TagIdentifier`](/docs/kcl/types#tag-identifier)| | No |
| `value` |[`string`](/docs/kcl/types/string)| | No |
| `info` |[`TagEngineInfo`](/docs/kcl/types/TagEngineInfo)| | No |
| `__meta` |`[` [`Metadata`](/docs/kcl/types/Metadata) `]`| | No |
----
@ -279,7 +272,6 @@ Data for an imported geometry.
| `type` |enum: [`ImportedGeometry`](/docs/kcl/types/ImportedGeometry)| | No |
| `id` |[`string`](/docs/kcl/types/string)| The ID of the imported geometry. | No |
| `value` |`[` [`string`](/docs/kcl/types/string) `]`| The original file paths. | No |
| `__meta` |`[` [`Metadata`](/docs/kcl/types/Metadata) `]`| | No |
----
@ -295,7 +287,6 @@ Data for an imported geometry.
| Property | Type | Description | Required |
|----------|------|-------------|----------|
| `type` |enum: `Function`| | No |
| `__meta` |`[` [`Metadata`](/docs/kcl/types/Metadata) `]`| | No |
----
@ -312,7 +303,6 @@ Data for an imported geometry.
|----------|------|-------------|----------|
| `type` |enum: `Module`| | No |
| `value` |[`ModuleId`](/docs/kcl/types/ModuleId)| Identifier of a source file. Uses a u32 to keep the size small. | No |
| `__meta` |`[` [`Metadata`](/docs/kcl/types/Metadata) `]`| | No |
----
@ -328,7 +318,6 @@ Data for an imported geometry.
| Property | Type | Description | Required |
|----------|------|-------------|----------|
| `type` |enum: `Type`| | No |
| `__meta` |`[` [`Metadata`](/docs/kcl/types/Metadata) `]`| | No |
----
@ -345,7 +334,6 @@ Data for an imported geometry.
|----------|------|-------------|----------|
| `type` |enum: [`KclNone`](/docs/kcl/types/KclNone)| | No |
| `value` |[`KclNone`](/docs/kcl/types/KclNone)| KCL value for an optional parameter which was not given an argument. (remember, parameters are in the function declaration, arguments are in the function call/application). | No |
| `__meta` |`[` [`Metadata`](/docs/kcl/types/Metadata) `]`| | No |
----
@ -362,7 +350,6 @@ Data for an imported geometry.
|----------|------|-------------|----------|
| `type` |enum: `Tombstone`| | No |
| `value` |`null`| | No |
| `__meta` |`[` [`Metadata`](/docs/kcl/types/Metadata) `]`| | No |
----

View File

@ -32,7 +32,6 @@ A sketch or a group of sketches.
| `artifactId` |[`ArtifactId`](/docs/kcl/types/ArtifactId)| The original id of the sketch. This stays the same even if the sketch is is sketched on face etc. | No |
| `originalId` |[`string`](/docs/kcl/types/string)| | No |
| `units` |[`UnitLen`](/docs/kcl/types/UnitLen)| A unit of length. | No |
| `__meta` |`[` [`Metadata`](/docs/kcl/types/Metadata) `]`| Metadata. | No |
----

View File

@ -32,7 +32,6 @@ A sketch type.
| `yAxis` |[`Point3d`](/docs/kcl/types/Point3d)| What should the plane's Y axis be? | No |
| `zAxis` |[`Point3d`](/docs/kcl/types/Point3d)| The z-axis (normal). | No |
| `units` |[`UnitLen`](/docs/kcl/types/UnitLen)| A unit of length. | No |
| `__meta` |`[` [`Metadata`](/docs/kcl/types/Metadata) `]`| | No |
----
@ -57,7 +56,6 @@ A face.
| `zAxis` |[`Point3d`](/docs/kcl/types/Point3d)| The z-axis (normal). | No |
| `solid` |[`Solid`](/docs/kcl/types/Solid)| The solid the face is on. | No |
| `units` |[`UnitLen`](/docs/kcl/types/UnitLen)| A unit of length. | No |
| `__meta` |`[` [`Metadata`](/docs/kcl/types/Metadata) `]`| | No |
----

View File

@ -33,7 +33,6 @@ Data for a solid or an imported geometry.
| `endCapId` |[`string`](/docs/kcl/types/string)| The id of the extrusion end cap | No |
| `edgeCuts` |`[` [`EdgeCut`](/docs/kcl/types/EdgeCut) `]`| Chamfers or fillets on this solid. | No |
| `units` |[`UnitLen`](/docs/kcl/types/UnitLen)| A unit of length. | No |
| `__meta` |`[` [`Metadata`](/docs/kcl/types/Metadata) `]`| Metadata. | No |
----
@ -52,7 +51,6 @@ Data for an imported geometry.
| `type` |enum: `importedGeometry`| | No |
| `id` |[`string`](/docs/kcl/types/string)| The ID of the imported geometry. | No |
| `value` |`[` [`string`](/docs/kcl/types/string) `]`| The original file paths. | No |
| `__meta` |`[` [`Metadata`](/docs/kcl/types/Metadata) `]`| | No |
----

View File

@ -33,7 +33,6 @@ A solid or a group of solids.
| `endCapId` |[`string`](/docs/kcl/types/string)| The id of the extrusion end cap | No |
| `edgeCuts` |`[` [`EdgeCut`](/docs/kcl/types/EdgeCut) `]`| Chamfers or fillets on this solid. | No |
| `units` |[`UnitLen`](/docs/kcl/types/UnitLen)| A unit of length. | No |
| `__meta` |`[` [`Metadata`](/docs/kcl/types/Metadata) `]`| Metadata. | No |
----

View File

@ -82,6 +82,30 @@ export class EditorFixture {
toContain: this._expectEditorToContain(),
not: { toContain: this._expectEditorToContain(true) },
}
snapshot = async (options?: { timeout?: number; name?: string }) => {
const wasPaneOpen = await this.checkIfPaneIsOpen()
if (!wasPaneOpen) {
await this.openPane()
}
try {
// Use expect.poll to implement retry logic
await expect
.poll(
async () => {
const code = await this.codeContent.textContent()
return code || ''
},
{ timeout: options?.timeout || 5000 }
)
.toMatchSnapshot(options?.name || 'editor-content')
} finally {
// Reset pane state if needed
if (!wasPaneOpen) {
await this.closePane()
}
}
}
private _serialiseDiagnostics = async (): Promise<Array<string>> => {
const diagnostics = await this.diagnosticsGutterIcon.all()
const diagnosticsContent: string[] = []

View File

@ -257,6 +257,7 @@ test.describe('Testing selections', { tag: ['@skipWin'] }, () => {
page,
homePage,
scene,
cmdBar,
}) => {
test.setTimeout(90_000)
const u = await getUtils(page)
@ -352,28 +353,15 @@ profile003 = startProfileAt([40.16, -120.48], sketch006)
await page.setBodyDimensions({ width: 1000, height: 500 })
await homePage.goToModelingScene()
await scene.waitForExecutionDone()
await scene.settled(cmdBar)
await u.openAndClearDebugPanel()
await u.sendCustomCmd({
type: 'modeling_cmd_req',
cmd_id: uuidv4(),
cmd: {
type: 'default_camera_look_at',
vantage: { x: 1139.49, y: -7053, z: 8597.31 },
center: { x: -2206.68, y: -1298.36, z: 60 },
up: { x: 0, y: 0, z: 1 },
},
})
await page.waitForTimeout(100)
await u.sendCustomCmd({
type: 'modeling_cmd_req',
cmd_id: uuidv4(),
cmd: {
type: 'default_camera_get_settings',
},
})
await page.waitForTimeout(100)
const camPosition1 = async () => {
await scene.moveCameraTo(
{ x: 1139.49, y: -7053, z: 8597.31 },
{ x: -2206.68, y: -1298.36, z: 60 }
)
}
await camPosition1()
const revolve = { x: 635, y: 253 }
const parentExtrude = { x: 915, y: 133 }
@ -386,7 +374,7 @@ profile003 = startProfileAt([40.16, -120.48], sketch006)
await expect(page.locator('.cm-activeLine')).toHaveText(
'|> line(end = [0, -pipeLength])'
)
await u.clearCommandLogs()
await u.openAndClearDebugPanel()
await page.keyboard.press('Delete')
await u.expectCmdLog('[data-message-type="execution-done"]', 10_000)
await page.waitForTimeout(200)
@ -399,11 +387,12 @@ profile003 = startProfileAt([40.16, -120.48], sketch006)
// and replace the sketch on face with a hard coded custom plane, but since there was a sketch on that plane maybe it
// should have delete the sketch? it's broken atm, but not sure if worth fixing since desired behaviour is a little
// vague
// // DELETE PARENT EXTRUDE
// DELETE PARENT EXTRUDE
// await camPosition2()
// await page.mouse.click(parentExtrude.x, parentExtrude.y)
// await page.waitForTimeout(100)
// await expect(page.locator('.cm-activeLine')).toHaveText(
// '|> line(end = [170.36, -121.61], tag = $seg01)'
// '|> line(end = [112.54, 127.64], tag = $seg02)'
// )
// await u.clearCommandLogs()
// await page.keyboard.press('Backspace')
@ -463,71 +452,77 @@ profile003 = startProfileAt([40.16, -120.48], sketch006)
await page.waitForTimeout(200)
await expect(u.codeLocator).not.toContainText(codeToBeDeletedSnippet)
})
test.fixme(
"Deleting solid that the AST mod can't handle results in a toast message",
async ({ page, homePage }) => {
const u = await getUtils(page)
await page.addInitScript(async () => {
localStorage.setItem(
'persistCode',
`sketch001 = startSketchOn('XZ')
|> startProfileAt([-79.26, 95.04], %)
|> line(end = [112.54, 127.64], tag = $seg02)
|> line(end = [170.36, -121.61], tag = $seg01)
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|> close()
extrude001 = extrude(sketch001, length = 50)
launderExtrudeThroughVar = extrude001
sketch002 = startSketchOn(launderExtrudeThroughVar, seg02)
|> startProfileAt([-100.54, 16.99], %)
|> line(end = [0, 20.03])
|> line(end = [62.61, 0], tag = $seg03)
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|> close()
`
)
}, KCL_DEFAULT_LENGTH)
await page.setBodyDimensions({ width: 1000, height: 500 })
test('parent Solid should be select and deletable and uses custom planes to position children', async ({
page,
homePage,
scene,
cmdBar,
editor,
}) => {
test.setTimeout(90_000)
const u = await getUtils(page)
await page.addInitScript(async () => {
localStorage.setItem(
'persistCode',
`part001 = startSketchOn('XY')
yo = startProfileAt([4.83, 12.56], part001)
|> line(end = [15.1, 2.48])
|> line(end = [3.15, -9.85], tag = $seg01)
|> line(end = [-15.17, -4.1])
|> angledLine([segAng(seg01), 12.35], %, $seg02)
|> line(end = [-13.02, 10.03])
|> close()
yoo = extrude(yo, length = 4)
sketch002 = startSketchOn(yoo, seg02)
sketch001 = startSketchOn(yoo, 'END')
profile002 = startProfileAt([-11.08, 2.39], sketch002)
|> line(end = [4.89, 0.9])
|> line(end = [-0.61, -2.41])
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|> close()
extrude001 = extrude(profile002, length = 15)
profile001 = startProfileAt([7.49, 9.96], sketch001)
|> angledLine([0, 5.05], %, $rectangleSegmentA001)
|> angledLine([
segAng(rectangleSegmentA001) - 90,
4.81
], %)
|> angledLine([
segAng(rectangleSegmentA001),
-segLen(rectangleSegmentA001)
], %)
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|> close()
await homePage.goToModelingScene()
await u.openDebugPanel()
await u.expectCmdLog('[data-message-type="execution-done"]', 10_000)
await u.closeDebugPanel()
await u.openAndClearDebugPanel()
await u.sendCustomCmd({
type: 'modeling_cmd_req',
cmd_id: uuidv4(),
cmd: {
type: 'default_camera_look_at',
vantage: { x: 1139.49, y: -7053, z: 8597.31 },
center: { x: -2206.68, y: -1298.36, z: 60 },
up: { x: 0, y: 0, z: 1 },
},
})
await page.waitForTimeout(100)
await u.sendCustomCmd({
type: 'modeling_cmd_req',
cmd_id: uuidv4(),
cmd: {
type: 'default_camera_get_settings',
},
})
await page.waitForTimeout(100)
// attempt delete
await page.mouse.click(930, 139)
await page.waitForTimeout(100)
await expect(page.locator('.cm-activeLine')).toHaveText(
'|> line(end = [170.36, -121.61], tag = $seg01)'
`
)
await u.clearCommandLogs()
await page.keyboard.press('Delete')
}, KCL_DEFAULT_LENGTH)
await page.setBodyDimensions({ width: 1000, height: 500 })
await expect(page.getByText('Unable to delete selection')).toBeVisible()
}
)
await homePage.goToModelingScene()
await scene.settled(cmdBar)
const extrudeWall = { x: 575, y: 238 }
// DELETE with selection on face of parent
await page.mouse.click(extrudeWall.x, extrudeWall.y)
await page.waitForTimeout(100)
await expect(page.locator('.cm-activeLine')).toHaveText(
'|> line(end = [-15.17, -4.1])'
)
await u.openAndClearDebugPanel()
await page.keyboard.press('Delete')
await u.expectCmdLog('[data-message-type="execution-done"]', 10_000)
await page.waitForTimeout(200)
await editor.expectEditor.not.toContain(`yoo = extrude(yo, length = 4)`, {
shouldNormalise: true,
})
await editor.expectEditor.toContain(`startSketchOn({plane={origin`, {
shouldNormalise: true,
})
await editor.snapshot()
})
test('Hovering over 3d features highlights code, clicking puts the cursor in the right place and sends selection id to engine', async ({
page,
homePage,

View File

@ -0,0 +1 @@
part001 = startSketchOn('XY')yo = startProfileAt([4.83, 12.56], part001) |> line(end = [15.1, 2.48]) |> line(end = [3.15, -9.85], tag = $seg01) |> line(end = [-15.17, -4.1]) |> angledLine([segAng(seg01), 12.35], %, $seg02) |> line(end = [-13.02, 10.03]) |> close()sketch002 = startSketchOn({ plane = { origin = { x = 7.49, y = 2.4, z = 0 }, xAxis = { x = -0.3, y = 0.95, z = 0 }, yAxis = { x = 0, y = 0, z = 1 }, zAxis = { x = 0.95, y = 0.3, z = 0 } }})sketch001 = startSketchOn({ plane = { origin = { x = 0, y = 0, z = 4 }, xAxis = { x = 1, y = 0, z = 0 }, yAxis = { x = 0, y = 1, z = 0 }, zAxis = { x = 0, y = 0, z = 1 } }})profile002 = startProfileAt([-11.08, 2.39], sketch002) |> line(end = [4.89, 0.9]) |> line(end = [-0.61, -2.41]) |> line(endAbsolute = [profileStartX(%), profileStartY(%)]) |> close()extrude001 = extrude(profile002, length = 15)profile001 = startProfileAt([7.49, 9.96], sketch001) |> angledLine([0, 5.05], %, $rectangleSegmentA001) |> angledLine([ segAng(rectangleSegmentA001) - 90, 4.81 ], %) |> angledLine([ segAng(rectangleSegmentA001), -segLen(rectangleSegmentA001) ], %) |> line(endAbsolute = [profileStartX(%), profileStartY(%)]) |> close()

View File

@ -219,7 +219,7 @@ pub struct ImportedGeometry {
pub id: uuid::Uuid,
/// The original file paths.
pub value: Vec<String>,
#[serde(rename = "__meta")]
#[serde(skip)]
pub meta: Vec<Metadata>,
}
@ -266,7 +266,7 @@ pub struct Helix {
/// Is the helix rotation counter clockwise?
pub ccw: bool,
pub units: UnitLen,
#[serde(rename = "__meta")]
#[serde(skip)]
pub meta: Vec<Metadata>,
}
@ -289,7 +289,7 @@ pub struct Plane {
/// The z-axis (normal).
pub z_axis: Point3d,
pub units: UnitLen,
#[serde(rename = "__meta")]
#[serde(skip)]
pub meta: Vec<Metadata>,
}
@ -480,7 +480,7 @@ pub struct Face {
/// The solid the face is on.
pub solid: Box<Solid>,
pub units: UnitLen,
#[serde(rename = "__meta")]
#[serde(skip)]
pub meta: Vec<Metadata>,
}
@ -528,7 +528,7 @@ pub struct Sketch {
pub original_id: uuid::Uuid,
pub units: UnitLen,
/// Metadata.
#[serde(rename = "__meta")]
#[serde(skip)]
pub meta: Vec<Metadata>,
}
@ -659,7 +659,7 @@ pub struct Solid {
pub edge_cuts: Vec<EdgeCut>,
pub units: UnitLen,
/// Metadata.
#[serde(rename = "__meta")]
#[serde(skip)]
pub meta: Vec<Metadata>,
}

View File

@ -34,33 +34,33 @@ pub type KclObjectFields = HashMap<String, KclValue>;
pub enum KclValue {
Uuid {
value: ::uuid::Uuid,
#[serde(rename = "__meta")]
#[serde(skip)]
meta: Vec<Metadata>,
},
Bool {
value: bool,
#[serde(rename = "__meta")]
#[serde(skip)]
meta: Vec<Metadata>,
},
Number {
value: f64,
ty: NumericType,
#[serde(rename = "__meta")]
#[serde(skip)]
meta: Vec<Metadata>,
},
String {
value: String,
#[serde(rename = "__meta")]
#[serde(skip)]
meta: Vec<Metadata>,
},
MixedArray {
value: Vec<KclValue>,
#[serde(rename = "__meta")]
#[serde(skip)]
meta: Vec<Metadata>,
},
Object {
value: KclObjectFields,
#[serde(rename = "__meta")]
#[serde(skip)]
meta: Vec<Metadata>,
},
TagIdentifier(Box<TagIdentifier>),
@ -91,30 +91,30 @@ pub enum KclValue {
Function {
#[serde(skip)]
value: FunctionSource,
#[serde(rename = "__meta")]
#[serde(skip)]
meta: Vec<Metadata>,
},
Module {
value: ModuleId,
#[serde(rename = "__meta")]
#[serde(skip)]
meta: Vec<Metadata>,
},
#[ts(skip)]
Type {
#[serde(skip)]
value: Option<(PrimitiveType, StdFnProps)>,
#[serde(rename = "__meta")]
#[serde(skip)]
meta: Vec<Metadata>,
},
KclNone {
value: KclNone,
#[serde(rename = "__meta")]
#[serde(skip)]
meta: Vec<Metadata>,
},
// Only used for memory management. Should never be visible outside of the memory module.
Tombstone {
value: (),
#[serde(rename = "__meta")]
#[serde(skip)]
meta: Vec<Metadata>,
},
}

View File

@ -92,7 +92,7 @@ pub struct DefaultPlanes {
pub struct TagIdentifier {
pub value: String,
pub info: Option<TagEngineInfo>,
#[serde(rename = "__meta")]
#[serde(skip)]
pub meta: Vec<Metadata>,
}

View File

@ -2137,6 +2137,28 @@ mod flush_batch_on_end {
}
}
mod multi_transform {
const TEST_NAME: &str = "multi_transform";
/// Test parsing KCL.
#[test]
fn parse() {
super::parse(TEST_NAME);
}
/// Test that parsing and unparsing KCL produces the original KCL input.
#[test]
fn unparse() {
super::unparse(TEST_NAME)
}
/// Test that KCL is executed correctly.
#[tokio::test(flavor = "multi_thread")]
async fn kcl_test_execute() {
super::execute(TEST_NAME, true).await
}
}
mod import_transform {
const TEST_NAME: &str = "import_transform";

File diff suppressed because it is too large Load Diff

View File

@ -1,5 +1,5 @@
---
source: kcl/src/simulation_tests.rs
source: kcl-lib/src/simulation_tests.rs
description: Variables in memory after executing angled_line.kcl
---
{
@ -257,8 +257,7 @@ description: Variables in memory after executing angled_line.kcl
},
"units": {
"type": "Mm"
},
"__meta": []
}
},
"start": {
"from": [
@ -334,48 +333,21 @@ description: Variables in memory after executing angled_line.kcl
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
135,
141,
0
]
}
]
}
}
},
"artifactId": "[uuid]",
"originalId": "[uuid]",
"units": {
"type": "Mm"
},
"__meta": [
{
"sourceRange": [
35,
67,
0
]
}
]
}
},
"height": 4.0,
"startCapId": "[uuid]",
"endCapId": "[uuid]",
"units": {
"type": "Mm"
},
"__meta": [
{
"sourceRange": [
35,
67,
0
]
}
]
}
}
},
"seg01": {
@ -430,15 +402,6 @@ description: Variables in memory after executing angled_line.kcl
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
135,
141,
0
]
}
]
}
}
}

View File

@ -17,16 +17,7 @@ description: Variables in memory after executing array_elem_pop.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
7,
8,
0
]
}
]
}
},
{
"type": "Number",
@ -39,16 +30,7 @@ description: Variables in memory after executing array_elem_pop.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
10,
11,
0
]
}
]
}
},
{
"type": "Number",
@ -61,25 +43,7 @@ description: Variables in memory after executing array_elem_pop.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
13,
14,
0
]
}
]
}
],
"__meta": [
{
"sourceRange": [
6,
15,
0
]
}
}
]
},
@ -97,16 +61,7 @@ description: Variables in memory after executing array_elem_pop.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
7,
8,
0
]
}
]
}
},
{
"type": "Number",
@ -119,25 +74,7 @@ description: Variables in memory after executing array_elem_pop.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
10,
11,
0
]
}
]
}
],
"__meta": [
{
"sourceRange": [
27,
35,
0
]
}
}
]
},
@ -155,39 +92,12 @@ description: Variables in memory after executing array_elem_pop.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
7,
8,
0
]
}
]
}
],
"__meta": [
{
"sourceRange": [
47,
60,
0
]
}
}
]
},
"new_arr3": {
"type": "MixedArray",
"value": [],
"__meta": [
{
"sourceRange": [
72,
85,
0
]
}
]
"value": []
}
}

View File

@ -17,16 +17,7 @@ description: Variables in memory after executing array_elem_push.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
7,
8,
0
]
}
]
}
},
{
"type": "Number",
@ -39,16 +30,7 @@ description: Variables in memory after executing array_elem_push.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
10,
11,
0
]
}
]
}
},
{
"type": "Number",
@ -61,25 +43,7 @@ description: Variables in memory after executing array_elem_push.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
13,
14,
0
]
}
]
}
],
"__meta": [
{
"sourceRange": [
6,
15,
0
]
}
}
]
},
@ -97,16 +61,7 @@ description: Variables in memory after executing array_elem_push.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
7,
8,
0
]
}
]
}
},
{
"type": "Number",
@ -119,16 +74,7 @@ description: Variables in memory after executing array_elem_push.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
10,
11,
0
]
}
]
}
},
{
"type": "Number",
@ -141,16 +87,7 @@ description: Variables in memory after executing array_elem_push.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
13,
14,
0
]
}
]
}
},
{
"type": "Number",
@ -163,25 +100,7 @@ description: Variables in memory after executing array_elem_push.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
37,
38,
0
]
}
]
}
],
"__meta": [
{
"sourceRange": [
27,
39,
0
]
}
}
]
},
@ -199,16 +118,7 @@ description: Variables in memory after executing array_elem_push.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
7,
8,
0
]
}
]
}
},
{
"type": "Number",
@ -221,16 +131,7 @@ description: Variables in memory after executing array_elem_push.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
10,
11,
0
]
}
]
}
},
{
"type": "Number",
@ -243,16 +144,7 @@ description: Variables in memory after executing array_elem_push.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
13,
14,
0
]
}
]
}
},
{
"type": "Number",
@ -265,16 +157,7 @@ description: Variables in memory after executing array_elem_push.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
37,
38,
0
]
}
]
}
},
{
"type": "Number",
@ -287,25 +170,7 @@ description: Variables in memory after executing array_elem_push.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
66,
67,
0
]
}
]
}
],
"__meta": [
{
"sourceRange": [
51,
68,
0
]
}
}
]
}

View File

@ -14,16 +14,7 @@ description: Variables in memory after executing array_range_expr.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
175,
188,
0
]
}
]
}
},
"four": {
"type": "Number",
@ -36,16 +27,7 @@ description: Variables in memory after executing array_range_expr.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
79,
80,
0
]
}
]
}
},
"r1": {
"type": "MixedArray",
@ -56,16 +38,7 @@ description: Variables in memory after executing array_range_expr.kcl
"ty": {
"type": "Known",
"type": "Count"
},
"__meta": [
{
"sourceRange": [
5,
11,
0
]
}
]
}
},
{
"type": "Number",
@ -73,16 +46,7 @@ description: Variables in memory after executing array_range_expr.kcl
"ty": {
"type": "Known",
"type": "Count"
},
"__meta": [
{
"sourceRange": [
5,
11,
0
]
}
]
}
},
{
"type": "Number",
@ -90,16 +54,7 @@ description: Variables in memory after executing array_range_expr.kcl
"ty": {
"type": "Known",
"type": "Count"
},
"__meta": [
{
"sourceRange": [
5,
11,
0
]
}
]
}
},
{
"type": "Number",
@ -107,16 +62,7 @@ description: Variables in memory after executing array_range_expr.kcl
"ty": {
"type": "Known",
"type": "Count"
},
"__meta": [
{
"sourceRange": [
5,
11,
0
]
}
]
}
},
{
"type": "Number",
@ -124,25 +70,7 @@ description: Variables in memory after executing array_range_expr.kcl
"ty": {
"type": "Known",
"type": "Count"
},
"__meta": [
{
"sourceRange": [
5,
11,
0
]
}
]
}
],
"__meta": [
{
"sourceRange": [
5,
11,
0
]
}
}
]
},
@ -155,16 +83,7 @@ description: Variables in memory after executing array_range_expr.kcl
"ty": {
"type": "Known",
"type": "Count"
},
"__meta": [
{
"sourceRange": [
95,
107,
0
]
}
]
}
},
{
"type": "Number",
@ -172,16 +91,7 @@ description: Variables in memory after executing array_range_expr.kcl
"ty": {
"type": "Known",
"type": "Count"
},
"__meta": [
{
"sourceRange": [
95,
107,
0
]
}
]
}
},
{
"type": "Number",
@ -189,16 +99,7 @@ description: Variables in memory after executing array_range_expr.kcl
"ty": {
"type": "Known",
"type": "Count"
},
"__meta": [
{
"sourceRange": [
95,
107,
0
]
}
]
}
},
{
"type": "Number",
@ -206,16 +107,7 @@ description: Variables in memory after executing array_range_expr.kcl
"ty": {
"type": "Known",
"type": "Count"
},
"__meta": [
{
"sourceRange": [
95,
107,
0
]
}
]
}
},
{
"type": "Number",
@ -223,25 +115,7 @@ description: Variables in memory after executing array_range_expr.kcl
"ty": {
"type": "Known",
"type": "Count"
},
"__meta": [
{
"sourceRange": [
95,
107,
0
]
}
]
}
],
"__meta": [
{
"sourceRange": [
95,
107,
0
]
}
}
]
},
@ -254,16 +128,7 @@ description: Variables in memory after executing array_range_expr.kcl
"ty": {
"type": "Known",
"type": "Count"
},
"__meta": [
{
"sourceRange": [
194,
206,
0
]
}
]
}
},
{
"type": "Number",
@ -271,16 +136,7 @@ description: Variables in memory after executing array_range_expr.kcl
"ty": {
"type": "Known",
"type": "Count"
},
"__meta": [
{
"sourceRange": [
194,
206,
0
]
}
]
}
},
{
"type": "Number",
@ -288,16 +144,7 @@ description: Variables in memory after executing array_range_expr.kcl
"ty": {
"type": "Known",
"type": "Count"
},
"__meta": [
{
"sourceRange": [
194,
206,
0
]
}
]
}
},
{
"type": "Number",
@ -305,16 +152,7 @@ description: Variables in memory after executing array_range_expr.kcl
"ty": {
"type": "Known",
"type": "Count"
},
"__meta": [
{
"sourceRange": [
194,
206,
0
]
}
]
}
},
{
"type": "Number",
@ -322,16 +160,7 @@ description: Variables in memory after executing array_range_expr.kcl
"ty": {
"type": "Known",
"type": "Count"
},
"__meta": [
{
"sourceRange": [
194,
206,
0
]
}
]
}
},
{
"type": "Number",
@ -339,25 +168,7 @@ description: Variables in memory after executing array_range_expr.kcl
"ty": {
"type": "Known",
"type": "Count"
},
"__meta": [
{
"sourceRange": [
194,
206,
0
]
}
]
}
],
"__meta": [
{
"sourceRange": [
194,
206,
0
]
}
}
]
},
@ -370,16 +181,7 @@ description: Variables in memory after executing array_range_expr.kcl
"ty": {
"type": "Known",
"type": "Count"
},
"__meta": [
{
"sourceRange": [
341,
373,
0
]
}
]
}
},
{
"type": "Number",
@ -387,16 +189,7 @@ description: Variables in memory after executing array_range_expr.kcl
"ty": {
"type": "Known",
"type": "Count"
},
"__meta": [
{
"sourceRange": [
341,
373,
0
]
}
]
}
},
{
"type": "Number",
@ -404,16 +197,7 @@ description: Variables in memory after executing array_range_expr.kcl
"ty": {
"type": "Known",
"type": "Count"
},
"__meta": [
{
"sourceRange": [
341,
373,
0
]
}
]
}
},
{
"type": "Number",
@ -421,25 +205,7 @@ description: Variables in memory after executing array_range_expr.kcl
"ty": {
"type": "Known",
"type": "Count"
},
"__meta": [
{
"sourceRange": [
341,
373,
0
]
}
]
}
],
"__meta": [
{
"sourceRange": [
341,
373,
0
]
}
}
]
},
@ -454,15 +220,6 @@ description: Variables in memory after executing array_range_expr.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
88,
89,
0
]
}
]
}
}
}

View File

@ -12,16 +12,7 @@ description: Variables in memory after executing array_range_negative_expr.kcl
"ty": {
"type": "Known",
"type": "Count"
},
"__meta": [
{
"sourceRange": [
5,
19,
0
]
}
]
}
},
{
"type": "Number",
@ -29,16 +20,7 @@ description: Variables in memory after executing array_range_negative_expr.kcl
"ty": {
"type": "Known",
"type": "Count"
},
"__meta": [
{
"sourceRange": [
5,
19,
0
]
}
]
}
},
{
"type": "Number",
@ -46,16 +28,7 @@ description: Variables in memory after executing array_range_negative_expr.kcl
"ty": {
"type": "Known",
"type": "Count"
},
"__meta": [
{
"sourceRange": [
5,
19,
0
]
}
]
}
},
{
"type": "Number",
@ -63,16 +36,7 @@ description: Variables in memory after executing array_range_negative_expr.kcl
"ty": {
"type": "Known",
"type": "Count"
},
"__meta": [
{
"sourceRange": [
5,
19,
0
]
}
]
}
},
{
"type": "Number",
@ -80,16 +44,7 @@ description: Variables in memory after executing array_range_negative_expr.kcl
"ty": {
"type": "Known",
"type": "Count"
},
"__meta": [
{
"sourceRange": [
5,
19,
0
]
}
]
}
},
{
"type": "Number",
@ -97,16 +52,7 @@ description: Variables in memory after executing array_range_negative_expr.kcl
"ty": {
"type": "Known",
"type": "Count"
},
"__meta": [
{
"sourceRange": [
5,
19,
0
]
}
]
}
},
{
"type": "Number",
@ -114,16 +60,7 @@ description: Variables in memory after executing array_range_negative_expr.kcl
"ty": {
"type": "Known",
"type": "Count"
},
"__meta": [
{
"sourceRange": [
5,
19,
0
]
}
]
}
},
{
"type": "Number",
@ -131,16 +68,7 @@ description: Variables in memory after executing array_range_negative_expr.kcl
"ty": {
"type": "Known",
"type": "Count"
},
"__meta": [
{
"sourceRange": [
5,
19,
0
]
}
]
}
},
{
"type": "Number",
@ -148,16 +76,7 @@ description: Variables in memory after executing array_range_negative_expr.kcl
"ty": {
"type": "Known",
"type": "Count"
},
"__meta": [
{
"sourceRange": [
5,
19,
0
]
}
]
}
},
{
"type": "Number",
@ -165,16 +84,7 @@ description: Variables in memory after executing array_range_negative_expr.kcl
"ty": {
"type": "Known",
"type": "Count"
},
"__meta": [
{
"sourceRange": [
5,
19,
0
]
}
]
}
},
{
"type": "Number",
@ -182,25 +92,7 @@ description: Variables in memory after executing array_range_negative_expr.kcl
"ty": {
"type": "Known",
"type": "Count"
},
"__meta": [
{
"sourceRange": [
5,
19,
0
]
}
]
}
],
"__meta": [
{
"sourceRange": [
5,
19,
0
]
}
}
]
}

View File

@ -1,5 +1,5 @@
---
source: kcl/src/simulation_tests.rs
source: kcl-lib/src/simulation_tests.rs
description: Variables in memory after executing artifact_graph_example_code1.kcl
---
{
@ -222,8 +222,7 @@ description: Variables in memory after executing artifact_graph_example_code1.kc
},
"units": {
"type": "Mm"
},
"__meta": []
}
},
"start": {
"from": [
@ -299,16 +298,7 @@ description: Variables in memory after executing artifact_graph_example_code1.kc
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
124,
130,
0
]
}
]
}
},
"seg02": {
"type": "TagIdentifier",
@ -361,32 +351,14 @@ description: Variables in memory after executing artifact_graph_example_code1.kc
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
164,
170,
0
]
}
]
}
}
},
"artifactId": "[uuid]",
"originalId": "[uuid]",
"units": {
"type": "Mm"
},
"__meta": [
{
"sourceRange": [
37,
64,
0
]
}
]
}
},
"height": -10.0,
"startCapId": "[uuid]",
@ -402,16 +374,7 @@ description: Variables in memory after executing artifact_graph_example_code1.kc
],
"units": {
"type": "Mm"
},
"__meta": [
{
"sourceRange": [
37,
64,
0
]
}
]
}
}
},
"extrude002": {
@ -789,8 +752,7 @@ description: Variables in memory after executing artifact_graph_example_code1.kc
},
"units": {
"type": "Mm"
},
"__meta": []
}
},
"start": {
"from": [
@ -866,16 +828,7 @@ description: Variables in memory after executing artifact_graph_example_code1.kc
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
124,
130,
0
]
}
]
}
},
"seg02": {
"type": "TagIdentifier",
@ -928,32 +881,14 @@ description: Variables in memory after executing artifact_graph_example_code1.kc
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
164,
170,
0
]
}
]
}
}
},
"artifactId": "[uuid]",
"originalId": "[uuid]",
"units": {
"type": "Mm"
},
"__meta": [
{
"sourceRange": [
37,
64,
0
]
}
]
}
},
"height": -10.0,
"startCapId": "[uuid]",
@ -969,29 +904,11 @@ description: Variables in memory after executing artifact_graph_example_code1.kc
],
"units": {
"type": "Mm"
},
"__meta": [
{
"sourceRange": [
37,
64,
0
]
}
]
}
},
"units": {
"type": "Mm"
},
"__meta": [
{
"sourceRange": [
345,
377,
0
]
}
]
}
},
"start": {
"from": [
@ -1019,32 +936,14 @@ description: Variables in memory after executing artifact_graph_example_code1.kc
"originalId": "[uuid]",
"units": {
"type": "Mm"
},
"__meta": [
{
"sourceRange": [
383,
410,
0
]
}
]
}
},
"height": 5.0,
"startCapId": null,
"endCapId": "[uuid]",
"units": {
"type": "Mm"
},
"__meta": [
{
"sourceRange": [
383,
410,
0
]
}
]
}
}
},
"seg01": {
@ -1099,16 +998,7 @@ description: Variables in memory after executing artifact_graph_example_code1.kc
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
124,
130,
0
]
}
]
}
},
"seg02": {
"type": "TagIdentifier",
@ -1162,16 +1052,7 @@ description: Variables in memory after executing artifact_graph_example_code1.kc
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
164,
170,
0
]
}
]
}
},
"sketch001": {
"type": "Sketch",
@ -1332,8 +1213,7 @@ description: Variables in memory after executing artifact_graph_example_code1.kc
},
"units": {
"type": "Mm"
},
"__meta": []
}
},
"start": {
"from": [
@ -1409,16 +1289,7 @@ description: Variables in memory after executing artifact_graph_example_code1.kc
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
124,
130,
0
]
}
]
}
},
"seg02": {
"type": "TagIdentifier",
@ -1471,32 +1342,14 @@ description: Variables in memory after executing artifact_graph_example_code1.kc
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
164,
170,
0
]
}
]
}
}
},
"artifactId": "[uuid]",
"originalId": "[uuid]",
"units": {
"type": "Mm"
},
"__meta": [
{
"sourceRange": [
37,
64,
0
]
}
]
}
}
},
"sketch002": {
@ -1835,8 +1688,7 @@ description: Variables in memory after executing artifact_graph_example_code1.kc
},
"units": {
"type": "Mm"
},
"__meta": []
}
},
"start": {
"from": [
@ -1912,16 +1764,7 @@ description: Variables in memory after executing artifact_graph_example_code1.kc
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
124,
130,
0
]
}
]
}
},
"seg02": {
"type": "TagIdentifier",
@ -1974,32 +1817,14 @@ description: Variables in memory after executing artifact_graph_example_code1.kc
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
164,
170,
0
]
}
]
}
}
},
"artifactId": "[uuid]",
"originalId": "[uuid]",
"units": {
"type": "Mm"
},
"__meta": [
{
"sourceRange": [
37,
64,
0
]
}
]
}
},
"height": -10.0,
"startCapId": "[uuid]",
@ -2015,29 +1840,11 @@ description: Variables in memory after executing artifact_graph_example_code1.kc
],
"units": {
"type": "Mm"
},
"__meta": [
{
"sourceRange": [
37,
64,
0
]
}
]
}
},
"units": {
"type": "Mm"
},
"__meta": [
{
"sourceRange": [
345,
377,
0
]
}
]
}
},
"start": {
"from": [
@ -2065,16 +1872,7 @@ description: Variables in memory after executing artifact_graph_example_code1.kc
"originalId": "[uuid]",
"units": {
"type": "Mm"
},
"__meta": [
{
"sourceRange": [
383,
410,
0
]
}
]
}
}
}
}

View File

@ -1,5 +1,5 @@
---
source: kcl/src/simulation_tests.rs
source: kcl-lib/src/simulation_tests.rs
description: Variables in memory after executing artifact_graph_example_code_no_3d.kcl
---
{
@ -40,16 +40,7 @@ description: Variables in memory after executing artifact_graph_example_code_no_
}
},
"surface": null
},
"__meta": [
{
"sourceRange": [
99,
120,
0
]
}
]
}
},
"rectangleSegmentB001": {
"type": "TagIdentifier",
@ -88,16 +79,7 @@ description: Variables in memory after executing artifact_graph_example_code_no_
}
},
"surface": null
},
"__meta": [
{
"sourceRange": [
205,
226,
0
]
}
]
}
},
"rectangleSegmentC001": {
"type": "TagIdentifier",
@ -136,16 +118,7 @@ description: Variables in memory after executing artifact_graph_example_code_no_
}
},
"surface": null
},
"__meta": [
{
"sourceRange": [
331,
352,
0
]
}
]
}
},
"sketch003": {
"type": "Sketch",
@ -311,8 +284,7 @@ description: Variables in memory after executing artifact_graph_example_code_no_
},
"units": {
"type": "Mm"
},
"__meta": []
}
},
"start": {
"from": [
@ -373,16 +345,7 @@ description: Variables in memory after executing artifact_graph_example_code_no_
}
},
"surface": null
},
"__meta": [
{
"sourceRange": [
99,
120,
0
]
}
]
}
},
"rectangleSegmentB001": {
"type": "TagIdentifier",
@ -420,16 +383,7 @@ description: Variables in memory after executing artifact_graph_example_code_no_
}
},
"surface": null
},
"__meta": [
{
"sourceRange": [
205,
226,
0
]
}
]
}
},
"rectangleSegmentC001": {
"type": "TagIdentifier",
@ -467,32 +421,14 @@ description: Variables in memory after executing artifact_graph_example_code_no_
}
},
"surface": null
},
"__meta": [
{
"sourceRange": [
331,
352,
0
]
}
]
}
}
},
"artifactId": "[uuid]",
"originalId": "[uuid]",
"units": {
"type": "Mm"
},
"__meta": [
{
"sourceRange": [
37,
65,
0
]
}
]
}
}
},
"sketch004": {
@ -608,8 +544,7 @@ description: Variables in memory after executing artifact_graph_example_code_no_
},
"units": {
"type": "Mm"
},
"__meta": []
}
},
"start": {
"from": [
@ -637,16 +572,7 @@ description: Variables in memory after executing artifact_graph_example_code_no_
"originalId": "[uuid]",
"units": {
"type": "Mm"
},
"__meta": [
{
"sourceRange": [
467,
496,
0
]
}
]
}
}
}
}

View File

@ -1,5 +1,5 @@
---
source: kcl/src/simulation_tests.rs
source: kcl-lib/src/simulation_tests.rs
description: Variables in memory after executing artifact_graph_example_code_offset_planes.kcl
---
{
@ -31,8 +31,7 @@ description: Variables in memory after executing artifact_graph_example_code_off
},
"units": {
"type": "Mm"
},
"__meta": []
}
}
},
"offsetPlane002": {
@ -63,8 +62,7 @@ description: Variables in memory after executing artifact_graph_example_code_off
},
"units": {
"type": "Mm"
},
"__meta": []
}
}
},
"offsetPlane003": {
@ -95,8 +93,7 @@ description: Variables in memory after executing artifact_graph_example_code_off
},
"units": {
"type": "Mm"
},
"__meta": []
}
}
},
"sketch002": {
@ -156,8 +153,7 @@ description: Variables in memory after executing artifact_graph_example_code_off
},
"units": {
"type": "Mm"
},
"__meta": []
}
},
"start": {
"from": [
@ -185,16 +181,7 @@ description: Variables in memory after executing artifact_graph_example_code_off
"originalId": "[uuid]",
"units": {
"type": "Mm"
},
"__meta": [
{
"sourceRange": [
193,
218,
0
]
}
]
}
}
}
}

View File

@ -5,28 +5,10 @@ description: Variables in memory after executing assembly_non_default_units.kcl
{
"other1": {
"type": "Module",
"value": 3,
"__meta": [
{
"sourceRange": [
153,
172,
0
]
}
]
"value": 3
},
"other2": {
"type": "Module",
"value": 4,
"__meta": [
{
"sourceRange": [
173,
192,
0
]
}
]
"value": 4
}
}

View File

@ -1,5 +1,5 @@
---
source: kcl/src/simulation_tests.rs
source: kcl-lib/src/simulation_tests.rs
description: Variables in memory after executing basic_fillet_cube_close_opposite.kcl
---
{
@ -209,8 +209,7 @@ description: Variables in memory after executing basic_fillet_cube_close_opposit
},
"units": {
"type": "Mm"
},
"__meta": []
}
},
"start": {
"from": [
@ -286,16 +285,7 @@ description: Variables in memory after executing basic_fillet_cube_close_opposit
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
92,
98,
0
]
}
]
}
},
"thing2": {
"type": "TagIdentifier",
@ -348,16 +338,7 @@ description: Variables in memory after executing basic_fillet_cube_close_opposit
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
157,
164,
0
]
}
]
}
},
"thing3": {
"type": "TagIdentifier",
@ -410,32 +391,14 @@ description: Variables in memory after executing basic_fillet_cube_close_opposit
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
183,
190,
0
]
}
]
}
}
},
"artifactId": "[uuid]",
"originalId": "[uuid]",
"units": {
"type": "Mm"
},
"__meta": [
{
"sourceRange": [
35,
60,
0
]
}
]
}
},
"height": 10.0,
"startCapId": "[uuid]",
@ -458,16 +421,7 @@ description: Variables in memory after executing basic_fillet_cube_close_opposit
],
"units": {
"type": "Mm"
},
"__meta": [
{
"sourceRange": [
35,
60,
0
]
}
]
}
}
},
"thing": {
@ -522,16 +476,7 @@ description: Variables in memory after executing basic_fillet_cube_close_opposit
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
92,
98,
0
]
}
]
}
},
"thing2": {
"type": "TagIdentifier",
@ -585,16 +530,7 @@ description: Variables in memory after executing basic_fillet_cube_close_opposit
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
157,
164,
0
]
}
]
}
},
"thing3": {
"type": "TagIdentifier",
@ -648,15 +584,6 @@ description: Variables in memory after executing basic_fillet_cube_close_opposit
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
183,
190,
0
]
}
]
}
}
}

View File

@ -1,5 +1,5 @@
---
source: kcl/src/simulation_tests.rs
source: kcl-lib/src/simulation_tests.rs
description: Variables in memory after executing basic_fillet_cube_end.kcl
---
{
@ -199,8 +199,7 @@ description: Variables in memory after executing basic_fillet_cube_end.kcl
},
"units": {
"type": "Mm"
},
"__meta": []
}
},
"start": {
"from": [
@ -276,16 +275,7 @@ description: Variables in memory after executing basic_fillet_cube_end.kcl
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
92,
98,
0
]
}
]
}
},
"thing2": {
"type": "TagIdentifier",
@ -338,32 +328,14 @@ description: Variables in memory after executing basic_fillet_cube_end.kcl
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
157,
164,
0
]
}
]
}
}
},
"artifactId": "[uuid]",
"originalId": "[uuid]",
"units": {
"type": "Mm"
},
"__meta": [
{
"sourceRange": [
35,
60,
0
]
}
]
}
},
"height": 10.0,
"startCapId": "[uuid]",
@ -386,16 +358,7 @@ description: Variables in memory after executing basic_fillet_cube_end.kcl
],
"units": {
"type": "Mm"
},
"__meta": [
{
"sourceRange": [
35,
60,
0
]
}
]
}
}
},
"thing": {
@ -450,16 +413,7 @@ description: Variables in memory after executing basic_fillet_cube_end.kcl
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
92,
98,
0
]
}
]
}
},
"thing2": {
"type": "TagIdentifier",
@ -513,15 +467,6 @@ description: Variables in memory after executing basic_fillet_cube_end.kcl
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
157,
164,
0
]
}
]
}
}
}

View File

@ -1,5 +1,5 @@
---
source: kcl/src/simulation_tests.rs
source: kcl-lib/src/simulation_tests.rs
description: Variables in memory after executing basic_fillet_cube_next_adjacent.kcl
---
{
@ -219,8 +219,7 @@ description: Variables in memory after executing basic_fillet_cube_next_adjacent
},
"units": {
"type": "Mm"
},
"__meta": []
}
},
"start": {
"from": [
@ -296,16 +295,7 @@ description: Variables in memory after executing basic_fillet_cube_next_adjacent
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
92,
98,
0
]
}
]
}
},
"thing1": {
"type": "TagIdentifier",
@ -358,16 +348,7 @@ description: Variables in memory after executing basic_fillet_cube_next_adjacent
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
131,
138,
0
]
}
]
}
},
"thing2": {
"type": "TagIdentifier",
@ -420,16 +401,7 @@ description: Variables in memory after executing basic_fillet_cube_next_adjacent
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
172,
179,
0
]
}
]
}
},
"thing3": {
"type": "TagIdentifier",
@ -482,32 +454,14 @@ description: Variables in memory after executing basic_fillet_cube_next_adjacent
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
198,
205,
0
]
}
]
}
}
},
"artifactId": "[uuid]",
"originalId": "[uuid]",
"units": {
"type": "Mm"
},
"__meta": [
{
"sourceRange": [
35,
60,
0
]
}
]
}
},
"height": 10.0,
"startCapId": "[uuid]",
@ -523,16 +477,7 @@ description: Variables in memory after executing basic_fillet_cube_next_adjacent
],
"units": {
"type": "Mm"
},
"__meta": [
{
"sourceRange": [
35,
60,
0
]
}
]
}
}
},
"thing": {
@ -587,16 +532,7 @@ description: Variables in memory after executing basic_fillet_cube_next_adjacent
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
92,
98,
0
]
}
]
}
},
"thing1": {
"type": "TagIdentifier",
@ -650,16 +586,7 @@ description: Variables in memory after executing basic_fillet_cube_next_adjacent
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
131,
138,
0
]
}
]
}
},
"thing2": {
"type": "TagIdentifier",
@ -713,16 +640,7 @@ description: Variables in memory after executing basic_fillet_cube_next_adjacent
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
172,
179,
0
]
}
]
}
},
"thing3": {
"type": "TagIdentifier",
@ -776,15 +694,6 @@ description: Variables in memory after executing basic_fillet_cube_next_adjacent
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
198,
205,
0
]
}
]
}
}
}

View File

@ -1,5 +1,5 @@
---
source: kcl/src/simulation_tests.rs
source: kcl-lib/src/simulation_tests.rs
description: Variables in memory after executing basic_fillet_cube_previous_adjacent.kcl
---
{
@ -219,8 +219,7 @@ description: Variables in memory after executing basic_fillet_cube_previous_adja
},
"units": {
"type": "Mm"
},
"__meta": []
}
},
"start": {
"from": [
@ -296,16 +295,7 @@ description: Variables in memory after executing basic_fillet_cube_previous_adja
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
92,
98,
0
]
}
]
}
},
"thing1": {
"type": "TagIdentifier",
@ -358,16 +348,7 @@ description: Variables in memory after executing basic_fillet_cube_previous_adja
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
131,
138,
0
]
}
]
}
},
"thing2": {
"type": "TagIdentifier",
@ -420,16 +401,7 @@ description: Variables in memory after executing basic_fillet_cube_previous_adja
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
172,
179,
0
]
}
]
}
},
"thing3": {
"type": "TagIdentifier",
@ -482,32 +454,14 @@ description: Variables in memory after executing basic_fillet_cube_previous_adja
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
198,
205,
0
]
}
]
}
}
},
"artifactId": "[uuid]",
"originalId": "[uuid]",
"units": {
"type": "Mm"
},
"__meta": [
{
"sourceRange": [
35,
60,
0
]
}
]
}
},
"height": 10.0,
"startCapId": "[uuid]",
@ -523,16 +477,7 @@ description: Variables in memory after executing basic_fillet_cube_previous_adja
],
"units": {
"type": "Mm"
},
"__meta": [
{
"sourceRange": [
35,
60,
0
]
}
]
}
}
},
"thing": {
@ -587,16 +532,7 @@ description: Variables in memory after executing basic_fillet_cube_previous_adja
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
92,
98,
0
]
}
]
}
},
"thing1": {
"type": "TagIdentifier",
@ -650,16 +586,7 @@ description: Variables in memory after executing basic_fillet_cube_previous_adja
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
131,
138,
0
]
}
]
}
},
"thing2": {
"type": "TagIdentifier",
@ -713,16 +640,7 @@ description: Variables in memory after executing basic_fillet_cube_previous_adja
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
172,
179,
0
]
}
]
}
},
"thing3": {
"type": "TagIdentifier",
@ -776,15 +694,6 @@ description: Variables in memory after executing basic_fillet_cube_previous_adja
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
198,
205,
0
]
}
]
}
}
}

View File

@ -1,5 +1,5 @@
---
source: kcl/src/simulation_tests.rs
source: kcl-lib/src/simulation_tests.rs
description: Variables in memory after executing basic_fillet_cube_start.kcl
---
{
@ -199,8 +199,7 @@ description: Variables in memory after executing basic_fillet_cube_start.kcl
},
"units": {
"type": "Mm"
},
"__meta": []
}
},
"start": {
"from": [
@ -276,16 +275,7 @@ description: Variables in memory after executing basic_fillet_cube_start.kcl
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
92,
98,
0
]
}
]
}
},
"thing2": {
"type": "TagIdentifier",
@ -338,32 +328,14 @@ description: Variables in memory after executing basic_fillet_cube_start.kcl
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
157,
164,
0
]
}
]
}
}
},
"artifactId": "[uuid]",
"originalId": "[uuid]",
"units": {
"type": "Mm"
},
"__meta": [
{
"sourceRange": [
35,
60,
0
]
}
]
}
},
"height": 10.0,
"startCapId": "[uuid]",
@ -386,16 +358,7 @@ description: Variables in memory after executing basic_fillet_cube_start.kcl
],
"units": {
"type": "Mm"
},
"__meta": [
{
"sourceRange": [
35,
60,
0
]
}
]
}
}
},
"thing": {
@ -450,16 +413,7 @@ description: Variables in memory after executing basic_fillet_cube_start.kcl
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
92,
98,
0
]
}
]
}
},
"thing2": {
"type": "TagIdentifier",
@ -513,15 +467,6 @@ description: Variables in memory after executing basic_fillet_cube_start.kcl
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
157,
164,
0
]
}
]
}
}
}

View File

@ -1,5 +1,5 @@
---
source: kcl/src/simulation_tests.rs
source: kcl-lib/src/simulation_tests.rs
description: Variables in memory after executing big_number_angle_to_match_length_x.kcl
---
{
@ -155,8 +155,7 @@ description: Variables in memory after executing big_number_angle_to_match_lengt
},
"units": {
"type": "Mm"
},
"__meta": []
}
},
"start": {
"from": [
@ -232,48 +231,21 @@ description: Variables in memory after executing big_number_angle_to_match_lengt
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
94,
100,
0
]
}
]
}
}
},
"artifactId": "[uuid]",
"originalId": "[uuid]",
"units": {
"type": "Mm"
},
"__meta": [
{
"sourceRange": [
35,
60,
0
]
}
]
}
},
"height": 10.0,
"startCapId": "[uuid]",
"endCapId": "[uuid]",
"units": {
"type": "Mm"
},
"__meta": [
{
"sourceRange": [
35,
60,
0
]
}
]
}
}
},
"seg01": {
@ -328,15 +300,6 @@ description: Variables in memory after executing big_number_angle_to_match_lengt
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
94,
100,
0
]
}
]
}
}
}

View File

@ -1,5 +1,5 @@
---
source: kcl/src/simulation_tests.rs
source: kcl-lib/src/simulation_tests.rs
description: Variables in memory after executing big_number_angle_to_match_length_y.kcl
---
{
@ -155,8 +155,7 @@ description: Variables in memory after executing big_number_angle_to_match_lengt
},
"units": {
"type": "Mm"
},
"__meta": []
}
},
"start": {
"from": [
@ -232,48 +231,21 @@ description: Variables in memory after executing big_number_angle_to_match_lengt
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
94,
100,
0
]
}
]
}
}
},
"artifactId": "[uuid]",
"originalId": "[uuid]",
"units": {
"type": "Mm"
},
"__meta": [
{
"sourceRange": [
35,
60,
0
]
}
]
}
},
"height": 10.0,
"startCapId": "[uuid]",
"endCapId": "[uuid]",
"units": {
"type": "Mm"
},
"__meta": [
{
"sourceRange": [
35,
60,
0
]
}
]
}
}
},
"seg01": {
@ -328,15 +300,6 @@ description: Variables in memory after executing big_number_angle_to_match_lengt
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
94,
100,
0
]
}
]
}
}
}

View File

@ -1,5 +1,5 @@
---
source: kcl/src/simulation_tests.rs
source: kcl-lib/src/simulation_tests.rs
description: Variables in memory after executing boolean_logical_and.kcl
---
{
@ -14,36 +14,11 @@ description: Variables in memory after executing boolean_logical_and.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
45,
46,
0
]
}
]
}
},
"aa": {
"type": "Bool",
"value": false,
"__meta": [
{
"sourceRange": [
5,
9,
0
]
},
{
"sourceRange": [
12,
17,
0
]
}
]
"value": false
},
"b": {
"type": "Number",
@ -56,36 +31,11 @@ description: Variables in memory after executing boolean_logical_and.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
175,
176,
0
]
}
]
}
},
"bb": {
"type": "Bool",
"value": false,
"__meta": [
{
"sourceRange": [
135,
140,
0
]
},
{
"sourceRange": [
143,
147,
0
]
}
]
"value": false
},
"c": {
"type": "Number",
@ -98,36 +48,11 @@ description: Variables in memory after executing boolean_logical_and.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
290,
291,
0
]
}
]
}
},
"cc": {
"type": "Bool",
"value": true,
"__meta": [
{
"sourceRange": [
264,
268,
0
]
},
{
"sourceRange": [
271,
275,
0
]
}
]
"value": true
},
"d": {
"type": "Number",
@ -140,35 +65,10 @@ description: Variables in memory after executing boolean_logical_and.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
434,
435,
0
]
}
]
}
},
"dd": {
"type": "Bool",
"value": false,
"__meta": [
{
"sourceRange": [
393,
398,
0
]
},
{
"sourceRange": [
401,
406,
0
]
}
]
"value": false
}
}

View File

@ -1,5 +1,5 @@
---
source: kcl/src/simulation_tests.rs
source: kcl-lib/src/simulation_tests.rs
description: Variables in memory after executing boolean_logical_multiple.kcl
---
{
@ -14,43 +14,11 @@ description: Variables in memory after executing boolean_logical_multiple.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
40,
41,
0
]
}
]
}
},
"ii": {
"type": "Bool",
"value": true,
"__meta": [
{
"sourceRange": [
5,
9,
0
]
},
{
"sourceRange": [
12,
17,
0
]
},
{
"sourceRange": [
20,
25,
0
]
}
]
"value": true
},
"j": {
"type": "Number",
@ -63,56 +31,10 @@ description: Variables in memory after executing boolean_logical_multiple.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
166,
167,
0
]
}
]
}
},
"jj": {
"type": "Bool",
"value": true,
"__meta": [
{
"sourceRange": [
115,
120,
0
]
},
{
"sourceRange": [
123,
127,
0
]
},
{
"sourceRange": [
130,
136,
0
]
},
{
"sourceRange": [
139,
144,
0
]
},
{
"sourceRange": [
147,
151,
0
]
}
]
"value": true
}
}

View File

@ -1,5 +1,5 @@
---
source: kcl/src/simulation_tests.rs
source: kcl-lib/src/simulation_tests.rs
description: Variables in memory after executing boolean_logical_or.kcl
---
{
@ -14,36 +14,11 @@ description: Variables in memory after executing boolean_logical_or.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
32,
33,
0
]
}
]
}
},
"aa": {
"type": "Bool",
"value": true,
"__meta": [
{
"sourceRange": [
5,
9,
0
]
},
{
"sourceRange": [
12,
17,
0
]
}
]
"value": true
},
"b": {
"type": "Number",
@ -56,36 +31,11 @@ description: Variables in memory after executing boolean_logical_or.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
158,
159,
0
]
}
]
}
},
"bb": {
"type": "Bool",
"value": true,
"__meta": [
{
"sourceRange": [
131,
136,
0
]
},
{
"sourceRange": [
139,
143,
0
]
}
]
"value": true
},
"c": {
"type": "Number",
@ -98,36 +48,11 @@ description: Variables in memory after executing boolean_logical_or.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
284,
285,
0
]
}
]
}
},
"cc": {
"type": "Bool",
"value": true,
"__meta": [
{
"sourceRange": [
258,
262,
0
]
},
{
"sourceRange": [
265,
269,
0
]
}
]
"value": true
},
"d": {
"type": "Number",
@ -140,35 +65,10 @@ description: Variables in memory after executing boolean_logical_or.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
427,
428,
0
]
}
]
}
},
"dd": {
"type": "Bool",
"value": false,
"__meta": [
{
"sourceRange": [
386,
391,
0
]
},
{
"sourceRange": [
394,
399,
0
]
}
]
"value": false
}
}

View File

@ -1,5 +1,5 @@
---
source: kcl/src/simulation_tests.rs
source: kcl-lib/src/simulation_tests.rs
description: Variables in memory after executing circle_three_point.kcl
---
{
@ -89,8 +89,7 @@ description: Variables in memory after executing circle_three_point.kcl
},
"units": {
"type": "Mm"
},
"__meta": []
}
},
"start": {
"from": [
@ -118,32 +117,14 @@ description: Variables in memory after executing circle_three_point.kcl
"originalId": "[uuid]",
"units": {
"type": "Mm"
},
"__meta": [
{
"sourceRange": [
37,
98,
0
]
}
]
}
},
"height": 10.0,
"startCapId": "[uuid]",
"endCapId": "[uuid]",
"units": {
"type": "Mm"
},
"__meta": [
{
"sourceRange": [
37,
98,
0
]
}
]
}
}
}
}

View File

@ -17,16 +17,7 @@ description: Variables in memory after executing computed_var.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
44,
45,
0
]
}
]
}
},
{
"type": "Number",
@ -39,16 +30,7 @@ description: Variables in memory after executing computed_var.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
47,
48,
0
]
}
]
}
},
{
"type": "Number",
@ -61,16 +43,7 @@ description: Variables in memory after executing computed_var.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
50,
51,
0
]
}
]
}
},
{
"type": "Number",
@ -83,25 +56,7 @@ description: Variables in memory after executing computed_var.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
53,
55,
0
]
}
]
}
],
"__meta": [
{
"sourceRange": [
43,
56,
0
]
}
}
]
},
@ -116,16 +71,7 @@ description: Variables in memory after executing computed_var.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
61,
62,
0
]
}
]
}
},
"obj": {
"type": "Object",
@ -141,16 +87,7 @@ description: Variables in memory after executing computed_var.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
150,
151,
0
]
}
]
}
},
"foo": {
"type": "Number",
@ -163,27 +100,9 @@ description: Variables in memory after executing computed_var.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
141,
142,
0
]
}
]
}
}
},
"__meta": [
{
"sourceRange": [
133,
153,
0
]
}
]
}
},
"one": {
"type": "Number",
@ -196,29 +115,11 @@ description: Variables in memory after executing computed_var.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
141,
142,
0
]
}
]
}
},
"p": {
"type": "String",
"value": "foo",
"__meta": [
{
"sourceRange": [
121,
126,
0
]
}
]
"value": "foo"
},
"ten": {
"type": "Number",
@ -231,16 +132,7 @@ description: Variables in memory after executing computed_var.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
53,
55,
0
]
}
]
}
},
"x": {
"type": "Number",
@ -248,15 +140,6 @@ description: Variables in memory after executing computed_var.kcl
"ty": {
"type": "Known",
"type": "Count"
},
"__meta": [
{
"sourceRange": [
247,
258,
0
]
}
]
}
}
}

View File

@ -4,16 +4,7 @@ description: Variables in memory after executing cube.kcl
---
{
"cube": {
"type": "Function",
"__meta": [
{
"sourceRange": [
7,
404,
0
]
}
]
"type": "Function"
},
"myCube": {
"type": "Solid",
@ -214,8 +205,7 @@ description: Variables in memory after executing cube.kcl
},
"units": {
"type": "Mm"
},
"__meta": []
}
},
"start": {
"from": [
@ -243,32 +233,14 @@ description: Variables in memory after executing cube.kcl
"originalId": "[uuid]",
"units": {
"type": "Mm"
},
"__meta": [
{
"sourceRange": [
210,
231,
0
]
}
]
}
},
"height": 40.0,
"startCapId": "[uuid]",
"endCapId": "[uuid]",
"units": {
"type": "Mm"
},
"__meta": [
{
"sourceRange": [
210,
231,
0
]
}
]
}
}
}
}

View File

@ -4,16 +4,7 @@ description: Variables in memory after executing double_map_fn.kcl
---
{
"increment": {
"type": "Function",
"__meta": [
{
"sourceRange": [
12,
34,
0
]
}
]
"type": "Function"
},
"xs": {
"type": "MixedArray",
@ -24,16 +15,7 @@ description: Variables in memory after executing double_map_fn.kcl
"ty": {
"type": "Known",
"type": "Count"
},
"__meta": [
{
"sourceRange": [
41,
47,
0
]
}
]
}
},
{
"type": "Number",
@ -41,16 +23,7 @@ description: Variables in memory after executing double_map_fn.kcl
"ty": {
"type": "Known",
"type": "Count"
},
"__meta": [
{
"sourceRange": [
41,
47,
0
]
}
]
}
},
{
"type": "Number",
@ -58,25 +31,7 @@ description: Variables in memory after executing double_map_fn.kcl
"ty": {
"type": "Known",
"type": "Count"
},
"__meta": [
{
"sourceRange": [
41,
47,
0
]
}
]
}
],
"__meta": [
{
"sourceRange": [
41,
47,
0
]
}
}
]
},
@ -88,99 +43,21 @@ description: Variables in memory after executing double_map_fn.kcl
"value": 2.0,
"ty": {
"type": "Unknown"
},
"__meta": [
{
"sourceRange": [
41,
47,
0
]
},
{
"sourceRange": [
31,
32,
0
]
},
{
"sourceRange": [
31,
32,
0
]
}
]
}
},
{
"type": "Number",
"value": 3.0,
"ty": {
"type": "Unknown"
},
"__meta": [
{
"sourceRange": [
41,
47,
0
]
},
{
"sourceRange": [
31,
32,
0
]
},
{
"sourceRange": [
31,
32,
0
]
}
]
}
},
{
"type": "Number",
"value": 4.0,
"ty": {
"type": "Unknown"
},
"__meta": [
{
"sourceRange": [
41,
47,
0
]
},
{
"sourceRange": [
31,
32,
0
]
},
{
"sourceRange": [
31,
32,
0
]
}
]
}
],
"__meta": [
{
"sourceRange": [
84,
101,
0
]
}
}
]
}

View File

@ -14,16 +14,7 @@ description: Variables in memory after executing fillet-and-shell.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
60,
61,
0
]
}
]
}
},
"case": {
"type": "Solid",
@ -241,8 +232,7 @@ description: Variables in memory after executing fillet-and-shell.kcl
},
"units": {
"type": "Mm"
},
"__meta": []
}
},
"start": {
"from": [
@ -318,16 +308,7 @@ description: Variables in memory after executing fillet-and-shell.kcl
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
901,
907,
0
]
}
]
}
},
"edge2": {
"type": "TagIdentifier",
@ -380,16 +361,7 @@ description: Variables in memory after executing fillet-and-shell.kcl
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
964,
970,
0
]
}
]
}
},
"edge3": {
"type": "TagIdentifier",
@ -442,16 +414,7 @@ description: Variables in memory after executing fillet-and-shell.kcl
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
1019,
1025,
0
]
}
]
}
},
"edge4": {
"type": "TagIdentifier",
@ -504,32 +467,14 @@ description: Variables in memory after executing fillet-and-shell.kcl
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
1044,
1050,
0
]
}
]
}
}
},
"artifactId": "[uuid]",
"originalId": "[uuid]",
"units": {
"type": "Mm"
},
"__meta": [
{
"sourceRange": [
829,
854,
0
]
}
]
}
},
"height": 8.0,
"startCapId": "[uuid]",
@ -566,16 +511,7 @@ description: Variables in memory after executing fillet-and-shell.kcl
],
"units": {
"type": "Mm"
},
"__meta": [
{
"sourceRange": [
829,
854,
0
]
}
]
}
}
},
"caseHeight": {
@ -589,46 +525,14 @@ description: Variables in memory after executing fillet-and-shell.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
165,
166,
0
]
}
]
}
},
"caseLength": {
"type": "Number",
"value": 73.0,
"ty": {
"type": "Unknown"
},
"__meta": [
{
"sourceRange": [
28,
30,
0
]
},
{
"sourceRange": [
60,
61,
0
]
},
{
"sourceRange": [
150,
151,
0
]
}
]
}
},
"caseThickness": {
"type": "Number",
@ -641,46 +545,14 @@ description: Variables in memory after executing fillet-and-shell.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
48,
49,
0
]
}
]
}
},
"caseWidth": {
"type": "Number",
"value": 38.0,
"ty": {
"type": "Unknown"
},
"__meta": [
{
"sourceRange": [
12,
14,
0
]
},
{
"sourceRange": [
60,
61,
0
]
},
{
"sourceRange": [
113,
114,
0
]
}
]
}
},
"connectorPadding": {
"type": "Number",
@ -693,16 +565,7 @@ description: Variables in memory after executing fillet-and-shell.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
355,
356,
0
]
}
]
}
},
"edge1": {
"type": "TagIdentifier",
@ -756,16 +619,7 @@ description: Variables in memory after executing fillet-and-shell.kcl
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
901,
907,
0
]
}
]
}
},
"edge2": {
"type": "TagIdentifier",
@ -819,16 +673,7 @@ description: Variables in memory after executing fillet-and-shell.kcl
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
964,
970,
0
]
}
]
}
},
"edge3": {
"type": "TagIdentifier",
@ -882,16 +727,7 @@ description: Variables in memory after executing fillet-and-shell.kcl
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
1019,
1025,
0
]
}
]
}
},
"edge4": {
"type": "TagIdentifier",
@ -945,51 +781,17 @@ description: Variables in memory after executing fillet-and-shell.kcl
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
1044,
1050,
0
]
}
]
}
},
"lengthBetweenScrews": {
"type": "Number",
"value": 58.0,
"ty": {
"type": "Unknown"
},
"__meta": [
{
"sourceRange": [
214,
216,
0
]
},
{
"sourceRange": [
219,
220,
0
]
}
]
}
},
"m25Screw": {
"type": "Function",
"__meta": [
{
"sourceRange": [
1310,
1538,
0
]
}
]
"type": "Function"
},
"microUsb1Distance": {
"type": "Number",
@ -1002,16 +804,7 @@ description: Variables in memory after executing fillet-and-shell.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
266,
270,
0
]
}
]
}
},
"microUsb2Distance": {
"type": "Number",
@ -1024,16 +817,7 @@ description: Variables in memory after executing fillet-and-shell.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
291,
293,
0
]
}
]
}
},
"microUsbWidth": {
"type": "Number",
@ -1046,16 +830,7 @@ description: Variables in memory after executing fillet-and-shell.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
332,
335,
0
]
}
]
}
},
"miniHdmiDistance": {
"type": "Number",
@ -1068,16 +843,7 @@ description: Variables in memory after executing fillet-and-shell.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
241,
245,
0
]
}
]
}
},
"miniHdmiHole": {
"type": "Sketch",
@ -1205,8 +971,7 @@ description: Variables in memory after executing fillet-and-shell.kcl
},
"units": {
"type": "Mm"
},
"__meta": []
}
},
"start": {
"from": [
@ -1234,16 +999,7 @@ description: Variables in memory after executing fillet-and-shell.kcl
"originalId": "[uuid]",
"units": {
"type": "Mm"
},
"__meta": [
{
"sourceRange": [
396,
488,
0
]
}
]
}
}
},
"miniHdmiWidth": {
@ -1257,16 +1013,7 @@ description: Variables in memory after executing fillet-and-shell.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
311,
315,
0
]
}
]
}
},
"rpizLength": {
"type": "Number",
@ -1279,16 +1026,7 @@ description: Variables in memory after executing fillet-and-shell.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
28,
30,
0
]
}
]
}
},
"rpizWidth": {
"type": "Number",
@ -1301,16 +1039,7 @@ description: Variables in memory after executing fillet-and-shell.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
12,
14,
0
]
}
]
}
},
"screwHeight": {
"type": "Number",
@ -1323,16 +1052,7 @@ description: Variables in memory after executing fillet-and-shell.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
77,
78,
0
]
}
]
}
},
"widthBetweenScrews": {
"type": "Number",
@ -1345,15 +1065,6 @@ description: Variables in memory after executing fillet-and-shell.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
189,
191,
0
]
}
]
}
}
}

View File

@ -1,5 +1,5 @@
---
source: kcl/src/simulation_tests.rs
source: kcl-lib/src/simulation_tests.rs
description: Variables in memory after executing flush_batch_on_end.kcl
---
{
@ -61,16 +61,7 @@ description: Variables in memory after executing flush_batch_on_end.kcl
},
"type": "extrudeArc"
}
},
"__meta": [
{
"sourceRange": [
364,
371,
0
]
}
]
}
},
"arc001": {
"type": "TagIdentifier",
@ -115,16 +106,7 @@ description: Variables in memory after executing flush_batch_on_end.kcl
}
},
"surface": null
},
"__meta": [
{
"sourceRange": [
519,
526,
0
]
}
]
}
},
"innerDiameter": {
"type": "Number",
@ -137,16 +119,7 @@ description: Variables in memory after executing flush_batch_on_end.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
100,
105,
0
]
}
]
}
},
"innerProfile": {
"type": "Sketch",
@ -216,8 +189,7 @@ description: Variables in memory after executing flush_batch_on_end.kcl
},
"units": {
"type": "Inches"
},
"__meta": []
}
},
"start": {
"from": [
@ -284,32 +256,14 @@ description: Variables in memory after executing flush_batch_on_end.kcl
}
},
"surface": null
},
"__meta": [
{
"sourceRange": [
519,
526,
0
]
}
]
}
}
},
"artifactId": "[uuid]",
"originalId": "[uuid]",
"units": {
"type": "Inches"
},
"__meta": [
{
"sourceRange": [
437,
529,
0
]
}
]
}
}
},
"length": {
@ -317,53 +271,14 @@ description: Variables in memory after executing flush_batch_on_end.kcl
"value": 1.5,
"ty": {
"type": "Unknown"
},
"__meta": [
{
"sourceRange": [
139,
140,
0
]
},
{
"sourceRange": [
143,
144,
0
]
},
{
"sourceRange": [
147,
148,
0
]
}
]
}
},
"outerDiameter": {
"type": "Number",
"value": 0.5469,
"ty": {
"type": "Unknown"
},
"__meta": [
{
"sourceRange": [
122,
124,
0
]
},
{
"sourceRange": [
127,
129,
0
]
}
]
}
},
"outerProfile": {
"type": "Sketch",
@ -433,8 +348,7 @@ description: Variables in memory after executing flush_batch_on_end.kcl
},
"units": {
"type": "Inches"
},
"__meta": []
}
},
"start": {
"from": [
@ -516,32 +430,14 @@ description: Variables in memory after executing flush_batch_on_end.kcl
},
"type": "extrudeArc"
}
},
"__meta": [
{
"sourceRange": [
364,
371,
0
]
}
]
}
}
},
"artifactId": "[uuid]",
"originalId": "[uuid]",
"units": {
"type": "Inches"
},
"__meta": [
{
"sourceRange": [
282,
374,
0
]
}
]
}
}
},
"pipe": {
@ -634,8 +530,7 @@ description: Variables in memory after executing flush_batch_on_end.kcl
},
"units": {
"type": "Inches"
},
"__meta": []
}
},
"start": {
"from": [
@ -717,48 +612,21 @@ description: Variables in memory after executing flush_batch_on_end.kcl
},
"type": "extrudeArc"
}
},
"__meta": [
{
"sourceRange": [
364,
371,
0
]
}
]
}
}
},
"artifactId": "[uuid]",
"originalId": "[uuid]",
"units": {
"type": "Inches"
},
"__meta": [
{
"sourceRange": [
282,
374,
0
]
}
]
}
},
"height": 1.5,
"startCapId": "[uuid]",
"endCapId": "[uuid]",
"units": {
"type": "Inches"
},
"__meta": [
{
"sourceRange": [
282,
374,
0
]
}
]
}
}
},
"pipeProfile": {
@ -829,8 +697,7 @@ description: Variables in memory after executing flush_batch_on_end.kcl
},
"units": {
"type": "Inches"
},
"__meta": []
}
},
"start": {
"from": [
@ -912,32 +779,14 @@ description: Variables in memory after executing flush_batch_on_end.kcl
},
"type": "extrudeArc"
}
},
"__meta": [
{
"sourceRange": [
364,
371,
0
]
}
]
}
}
},
"artifactId": "[uuid]",
"originalId": "[uuid]",
"units": {
"type": "Inches"
},
"__meta": [
{
"sourceRange": [
282,
374,
0
]
}
]
}
}
},
"sketch000": {
@ -968,8 +817,7 @@ description: Variables in memory after executing flush_batch_on_end.kcl
},
"units": {
"type": "Inches"
},
"__meta": []
}
}
}
}

View File

@ -1,19 +1,10 @@
---
source: kcl/src/simulation_tests.rs
source: kcl-lib/src/simulation_tests.rs
description: Variables in memory after executing function_sketch.kcl
---
{
"box": {
"type": "Function",
"__meta": [
{
"sourceRange": [
6,
220,
0
]
}
]
"type": "Function"
},
"fnBox": {
"type": "Solid",
@ -191,8 +182,7 @@ description: Variables in memory after executing function_sketch.kcl
},
"units": {
"type": "Mm"
},
"__meta": []
}
},
"start": {
"from": [
@ -220,32 +210,14 @@ description: Variables in memory after executing function_sketch.kcl
"originalId": "[uuid]",
"units": {
"type": "Mm"
},
"__meta": [
{
"sourceRange": [
55,
80,
0
]
}
]
}
},
"height": 3.0,
"startCapId": "[uuid]",
"endCapId": "[uuid]",
"units": {
"type": "Mm"
},
"__meta": [
{
"sourceRange": [
55,
80,
0
]
}
]
}
}
}
}

View File

@ -1,19 +1,10 @@
---
source: kcl/src/simulation_tests.rs
source: kcl-lib/src/simulation_tests.rs
description: Variables in memory after executing function_sketch_with_position.kcl
---
{
"box": {
"type": "Function",
"__meta": [
{
"sourceRange": [
6,
218,
0
]
}
]
"type": "Function"
},
"thing": {
"type": "Solid",
@ -191,8 +182,7 @@ description: Variables in memory after executing function_sketch_with_position.k
},
"units": {
"type": "Mm"
},
"__meta": []
}
},
"start": {
"from": [
@ -220,32 +210,14 @@ description: Variables in memory after executing function_sketch_with_position.k
"originalId": "[uuid]",
"units": {
"type": "Mm"
},
"__meta": [
{
"sourceRange": [
58,
78,
0
]
}
]
}
},
"height": 3.0,
"startCapId": "[uuid]",
"endCapId": "[uuid]",
"units": {
"type": "Mm"
},
"__meta": [
{
"sourceRange": [
58,
78,
0
]
}
]
}
}
}
}

View File

@ -1,5 +1,5 @@
---
source: kcl/src/simulation_tests.rs
source: kcl-lib/src/simulation_tests.rs
description: Variables in memory after executing helix_ccw.kcl
---
{
@ -83,8 +83,7 @@ description: Variables in memory after executing helix_ccw.kcl
},
"units": {
"type": "Mm"
},
"__meta": []
}
},
"start": {
"from": [
@ -112,32 +111,14 @@ description: Variables in memory after executing helix_ccw.kcl
"originalId": "[uuid]",
"units": {
"type": "Mm"
},
"__meta": [
{
"sourceRange": [
35,
71,
0
]
}
]
}
},
"height": 10.0,
"startCapId": "[uuid]",
"endCapId": "[uuid]",
"units": {
"type": "Mm"
},
"__meta": [
{
"sourceRange": [
35,
71,
0
]
}
]
}
}
}
}

View File

@ -1,5 +1,5 @@
---
source: kcl/src/simulation_tests.rs
source: kcl-lib/src/simulation_tests.rs
description: Variables in memory after executing helix_simple.kcl
---
{
@ -40,16 +40,7 @@ description: Variables in memory after executing helix_simple.kcl
}
},
"surface": null
},
"__meta": [
{
"sourceRange": [
128,
136,
0
]
}
]
}
},
"helixPath": {
"type": "Helix",
@ -61,16 +52,7 @@ description: Variables in memory after executing helix_simple.kcl
"ccw": true,
"units": {
"type": "Mm"
},
"__meta": [
{
"sourceRange": [
151,
257,
0
]
}
]
}
}
},
"helper001": {
@ -135,8 +117,7 @@ description: Variables in memory after executing helix_simple.kcl
},
"units": {
"type": "Mm"
},
"__meta": []
}
},
"start": {
"from": [
@ -197,32 +178,14 @@ description: Variables in memory after executing helix_simple.kcl
}
},
"surface": null
},
"__meta": [
{
"sourceRange": [
128,
136,
0
]
}
]
}
}
},
"artifactId": "[uuid]",
"originalId": "[uuid]",
"units": {
"type": "Mm"
},
"__meta": [
{
"sourceRange": [
71,
96,
0
]
}
]
}
}
}
}

View File

@ -672,8 +672,7 @@ description: Variables in memory after executing i_shape.kcl
},
"units": {
"type": "Mm"
},
"__meta": []
}
},
"start": {
"from": [
@ -701,16 +700,7 @@ description: Variables in memory after executing i_shape.kcl
"originalId": "[uuid]",
"units": {
"type": "Mm"
},
"__meta": [
{
"sourceRange": [
422,
459,
0
]
}
]
}
}
},
"corner_radius": {
@ -724,16 +714,7 @@ description: Variables in memory after executing i_shape.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
216,
219,
0
]
}
]
}
},
"d_wrist_circumference": {
"type": "MixedArray",
@ -749,16 +730,7 @@ description: Variables in memory after executing i_shape.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
25,
29,
0
]
}
]
}
},
{
"type": "Number",
@ -771,16 +743,7 @@ description: Variables in memory after executing i_shape.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
31,
35,
0
]
}
]
}
},
{
"type": "Number",
@ -793,16 +756,7 @@ description: Variables in memory after executing i_shape.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
37,
41,
0
]
}
]
}
},
{
"type": "Number",
@ -815,25 +769,7 @@ description: Variables in memory after executing i_shape.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
43,
47,
0
]
}
]
}
],
"__meta": [
{
"sourceRange": [
24,
48,
0
]
}
}
]
},
@ -1776,8 +1712,7 @@ description: Variables in memory after executing i_shape.kcl
},
"units": {
"type": "Mm"
},
"__meta": []
}
},
"start": {
"from": [
@ -1805,32 +1740,14 @@ description: Variables in memory after executing i_shape.kcl
"originalId": "[uuid]",
"units": {
"type": "Mm"
},
"__meta": [
{
"sourceRange": [
422,
459,
0
]
}
]
}
},
"height": 3.0,
"startCapId": "[uuid]",
"endCapId": "[uuid]",
"units": {
"type": "Mm"
},
"__meta": [
{
"sourceRange": [
422,
459,
0
]
}
]
}
}
},
"hand_thickness": {
@ -1844,16 +1761,7 @@ description: Variables in memory after executing i_shape.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
195,
199,
0
]
}
]
}
},
"inner": {
"type": "Sketch",
@ -2116,8 +2024,7 @@ description: Variables in memory after executing i_shape.kcl
},
"units": {
"type": "Mm"
},
"__meta": []
}
},
"start": {
"from": [
@ -2145,16 +2052,7 @@ description: Variables in memory after executing i_shape.kcl
"originalId": "[uuid]",
"units": {
"type": "Mm"
},
"__meta": [
{
"sourceRange": [
2015,
2040,
0
]
}
]
}
}
},
"length": {
@ -2168,16 +2066,7 @@ description: Variables in memory after executing i_shape.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
172,
177,
0
]
}
]
}
},
"width": {
"type": "Number",
@ -2190,36 +2079,6 @@ description: Variables in memory after executing i_shape.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
25,
29,
0
]
},
{
"sourceRange": [
31,
35,
0
]
},
{
"sourceRange": [
37,
41,
0
]
},
{
"sourceRange": [
43,
47,
0
]
}
]
}
}
}

View File

@ -1,5 +1,5 @@
---
source: kcl/src/simulation_tests.rs
source: kcl-lib/src/simulation_tests.rs
description: Variables in memory after executing if_else.kcl
---
{
@ -14,16 +14,7 @@ description: Variables in memory after executing if_else.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
64,
65,
0
]
}
]
}
},
"b": {
"type": "Number",
@ -36,16 +27,7 @@ description: Variables in memory after executing if_else.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
199,
200,
0
]
}
]
}
},
"c": {
"type": "Number",
@ -58,15 +40,6 @@ description: Variables in memory after executing if_else.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
332,
333,
0
]
}
]
}
}
}

View File

@ -1,5 +1,5 @@
---
source: kcl/src/simulation_tests.rs
source: kcl-lib/src/simulation_tests.rs
description: Variables in memory after executing import_constant.kcl
---
{
@ -14,15 +14,6 @@ description: Variables in memory after executing import_constant.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
15,
16,
3
]
}
]
}
}
}

View File

@ -1,5 +1,5 @@
---
source: kcl/src/simulation_tests.rs
source: kcl-lib/src/simulation_tests.rs
description: Variables in memory after executing import_export.kcl
---
{
@ -14,15 +14,6 @@ description: Variables in memory after executing import_export.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
15,
16,
4
]
}
]
}
}
}

View File

@ -1,35 +1,17 @@
---
source: kcl/src/simulation_tests.rs
source: kcl-lib/src/simulation_tests.rs
description: Variables in memory after executing import_foreign.kcl
---
{
"cube": {
"type": "Module",
"value": 3,
"__meta": [
{
"sourceRange": [
0,
36,
0
]
}
]
"value": 3
},
"model": {
"type": "ImportedGeometry",
"id": "[uuid]",
"value": [
"cube.gltf"
],
"__meta": [
{
"sourceRange": [
0,
36,
0
]
}
]
}
}

View File

@ -1,30 +1,12 @@
---
source: kcl/src/simulation_tests.rs
source: kcl-lib/src/simulation_tests.rs
description: Variables in memory after executing import_function_not_sketch.kcl
---
{
"one": {
"type": "Function",
"__meta": [
{
"sourceRange": [
83,
108,
0
]
}
]
"type": "Function"
},
"two": {
"type": "Function",
"__meta": [
{
"sourceRange": [
372,
390,
3
]
}
]
"type": "Function"
}
}

View File

@ -1,19 +1,10 @@
---
source: kcl/src/simulation_tests.rs
source: kcl-lib/src/simulation_tests.rs
description: Variables in memory after executing import_glob.kcl
---
{
"foo": {
"type": "Function",
"__meta": [
{
"sourceRange": [
31,
49,
3
]
}
]
"type": "Function"
},
"three": {
"type": "Number",
@ -26,15 +17,6 @@ description: Variables in memory after executing import_glob.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
15,
16,
3
]
}
]
}
}
}

View File

@ -1,18 +1,9 @@
---
source: kcl/src/simulation_tests.rs
source: kcl-lib/src/simulation_tests.rs
description: Variables in memory after executing import_side_effect.kcl
---
{
"foo": {
"type": "Function",
"__meta": [
{
"sourceRange": [
16,
34,
3
]
}
]
"type": "Function"
}
}

View File

@ -5,15 +5,6 @@ description: Variables in memory after executing import_transform.kcl
{
"screw": {
"type": "Module",
"value": 3,
"__meta": [
{
"sourceRange": [
0,
43,
0
]
}
]
"value": 3
}
}

View File

@ -1,5 +1,5 @@
---
source: kcl/src/simulation_tests.rs
source: kcl-lib/src/simulation_tests.rs
description: Variables in memory after executing import_whole.kcl
---
{
@ -83,8 +83,7 @@ description: Variables in memory after executing import_whole.kcl
},
"units": {
"type": "Inches"
},
"__meta": []
}
},
"start": {
"from": [
@ -112,45 +111,18 @@ description: Variables in memory after executing import_whole.kcl
"originalId": "[uuid]",
"units": {
"type": "Inches"
},
"__meta": [
{
"sourceRange": [
61,
97,
3
]
}
]
}
},
"height": 10.0,
"startCapId": "[uuid]",
"endCapId": "[uuid]",
"units": {
"type": "Inches"
},
"__meta": [
{
"sourceRange": [
61,
97,
3
]
}
]
}
}
},
"foo": {
"type": "Module",
"value": 3,
"__meta": [
{
"sourceRange": [
34,
66,
0
]
}
]
"value": 3
}
}

View File

@ -17,16 +17,7 @@ description: Variables in memory after executing index_of_array.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
42,
44,
0
]
}
]
}
},
{
"type": "Number",
@ -39,16 +30,7 @@ description: Variables in memory after executing index_of_array.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
46,
48,
0
]
}
]
}
},
{
"type": "Number",
@ -61,25 +43,7 @@ description: Variables in memory after executing index_of_array.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
50,
52,
0
]
}
]
}
],
"__meta": [
{
"sourceRange": [
41,
53,
0
]
}
}
]
},
@ -94,16 +58,7 @@ description: Variables in memory after executing index_of_array.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
252,
262,
0
]
}
]
}
},
"result0": {
"type": "Number",
@ -116,16 +71,7 @@ description: Variables in memory after executing index_of_array.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
46,
48,
0
]
}
]
}
},
"result1": {
"type": "Number",
@ -138,15 +84,6 @@ description: Variables in memory after executing index_of_array.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
46,
48,
0
]
}
]
}
}
}

View File

@ -4,28 +4,10 @@ description: Variables in memory after executing 3d-boaty.kcl
---
{
"armRest": {
"type": "Function",
"__meta": [
{
"sourceRange": [
3671,
3861,
3
]
}
]
"type": "Function"
},
"backSlats": {
"type": "Function",
"__meta": [
{
"sourceRange": [
2993,
3084,
3
]
}
]
"type": "Function"
},
"benchLength": {
"type": "Number",
@ -38,40 +20,13 @@ description: Variables in memory after executing 3d-boaty.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
440,
442,
0
]
}
]
}
},
"connector": {
"type": "Function",
"__meta": [
{
"sourceRange": [
1889,
2052,
3
]
}
]
"type": "Function"
},
"divider": {
"type": "Function",
"__meta": [
{
"sourceRange": [
1331,
1606,
3
]
}
]
"type": "Function"
},
"dividerThickness": {
"type": "Number",
@ -84,27 +39,9 @@ description: Variables in memory after executing 3d-boaty.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
290,
291,
3
]
}
]
}
},
"seatSlats": {
"type": "Function",
"__meta": [
{
"sourceRange": [
2474,
2560,
3
]
}
]
"type": "Function"
}
}

View File

@ -4,15 +4,6 @@ description: Variables in memory after executing 80-20-rail.kcl
---
{
"rail8020": {
"type": "Function",
"__meta": [
{
"sourceRange": [
214,
7478,
0
]
}
]
"type": "Function"
}
}

View File

@ -1,5 +1,5 @@
---
source: kcl/src/simulation_tests.rs
source: kcl-lib/src/simulation_tests.rs
description: Variables in memory after executing a-parametric-bearing-pillow-block.kcl
---
{
@ -14,16 +14,7 @@ description: Variables in memory after executing a-parametric-bearing-pillow-blo
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
830,
831,
0
]
}
]
}
},
"block": {
"type": "Solid",
@ -201,8 +192,7 @@ description: Variables in memory after executing a-parametric-bearing-pillow-blo
},
"units": {
"type": "Inches"
},
"__meta": []
}
},
"start": {
"from": [
@ -230,32 +220,14 @@ description: Variables in memory after executing a-parametric-bearing-pillow-blo
"originalId": "[uuid]",
"units": {
"type": "Inches"
},
"__meta": [
{
"sourceRange": [
966,
1010,
0
]
}
]
}
},
"height": 0.75,
"startCapId": "[uuid]",
"endCapId": "[uuid]",
"units": {
"type": "Inches"
},
"__meta": [
{
"sourceRange": [
966,
1010,
0
]
}
]
}
}
},
"cbDepth": {
@ -269,16 +241,7 @@ description: Variables in memory after executing a-parametric-bearing-pillow-blo
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
773,
776,
0
]
}
]
}
},
"cbDia": {
"type": "Number",
@ -291,16 +254,7 @@ description: Variables in memory after executing a-parametric-bearing-pillow-blo
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
785,
787,
0
]
}
]
}
},
"height": {
"type": "Number",
@ -313,16 +267,7 @@ description: Variables in memory after executing a-parametric-bearing-pillow-blo
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
761,
762,
0
]
}
]
}
},
"holeDia": {
"type": "Number",
@ -335,16 +280,7 @@ description: Variables in memory after executing a-parametric-bearing-pillow-blo
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
798,
802,
0
]
}
]
}
},
"length": {
"type": "Number",
@ -357,16 +293,7 @@ description: Variables in memory after executing a-parametric-bearing-pillow-blo
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
740,
741,
0
]
}
]
}
},
"padding": {
"type": "Number",
@ -379,16 +306,7 @@ description: Variables in memory after executing a-parametric-bearing-pillow-blo
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
813,
816,
0
]
}
]
}
},
"secondHalf": {
"type": "Solid",
@ -566,8 +484,7 @@ description: Variables in memory after executing a-parametric-bearing-pillow-blo
},
"units": {
"type": "Inches"
},
"__meta": []
}
},
"start": {
"from": [
@ -595,32 +512,14 @@ description: Variables in memory after executing a-parametric-bearing-pillow-blo
"originalId": "[uuid]",
"units": {
"type": "Inches"
},
"__meta": [
{
"sourceRange": [
2455,
2499,
0
]
}
]
}
},
"height": 0.25,
"startCapId": "[uuid]",
"endCapId": "[uuid]",
"units": {
"type": "Inches"
},
"__meta": [
{
"sourceRange": [
2455,
2499,
0
]
}
]
}
}
},
"width": {
@ -634,15 +533,6 @@ description: Variables in memory after executing a-parametric-bearing-pillow-blo
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
750,
751,
0
]
}
]
}
}
}

File diff suppressed because it is too large Load Diff

View File

@ -1,5 +1,5 @@
---
source: kcl/src/simulation_tests.rs
source: kcl-lib/src/simulation_tests.rs
description: Variables in memory after executing bracket.kcl
---
{
@ -199,8 +199,7 @@ description: Variables in memory after executing bracket.kcl
},
"units": {
"type": "Inches"
},
"__meta": []
}
},
"start": {
"from": [
@ -276,16 +275,7 @@ description: Variables in memory after executing bracket.kcl
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
1252,
1260,
0
]
}
]
}
},
"fillet2": {
"type": "TagIdentifier",
@ -338,32 +328,14 @@ description: Variables in memory after executing bracket.kcl
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
1296,
1304,
0
]
}
]
}
}
},
"artifactId": "[uuid]",
"originalId": "[uuid]",
"units": {
"type": "Inches"
},
"__meta": [
{
"sourceRange": [
1171,
1196,
0
]
}
]
}
},
"height": 0.35132402626147197,
"startCapId": "[uuid]",
@ -386,16 +358,7 @@ description: Variables in memory after executing bracket.kcl
],
"units": {
"type": "Inches"
},
"__meta": [
{
"sourceRange": [
1171,
1196,
0
]
}
]
}
}
},
"bracketLeg1Sketch": {
@ -534,8 +497,7 @@ description: Variables in memory after executing bracket.kcl
},
"units": {
"type": "Inches"
},
"__meta": []
}
},
"start": {
"from": [
@ -611,16 +573,7 @@ description: Variables in memory after executing bracket.kcl
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
1252,
1260,
0
]
}
]
}
},
"fillet2": {
"type": "TagIdentifier",
@ -673,32 +626,14 @@ description: Variables in memory after executing bracket.kcl
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
1296,
1304,
0
]
}
]
}
}
},
"artifactId": "[uuid]",
"originalId": "[uuid]",
"units": {
"type": "Inches"
},
"__meta": [
{
"sourceRange": [
1171,
1196,
0
]
}
]
}
}
},
"bracketLeg2Extrude": {
@ -897,8 +832,7 @@ description: Variables in memory after executing bracket.kcl
},
"units": {
"type": "Inches"
},
"__meta": []
}
},
"start": {
"from": [
@ -974,16 +908,7 @@ description: Variables in memory after executing bracket.kcl
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
2943,
2951,
0
]
}
]
}
},
"fillet4": {
"type": "TagIdentifier",
@ -1036,32 +961,14 @@ description: Variables in memory after executing bracket.kcl
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
2988,
2996,
0
]
}
]
}
}
},
"artifactId": "[uuid]",
"originalId": "[uuid]",
"units": {
"type": "Inches"
},
"__meta": [
{
"sourceRange": [
2837,
2874,
0
]
}
]
}
},
"height": -0.35132402626147197,
"startCapId": "[uuid]",
@ -1084,16 +991,7 @@ description: Variables in memory after executing bracket.kcl
],
"units": {
"type": "Inches"
},
"__meta": [
{
"sourceRange": [
2837,
2874,
0
]
}
]
}
}
},
"bracketLeg2Sketch": {
@ -1232,8 +1130,7 @@ description: Variables in memory after executing bracket.kcl
},
"units": {
"type": "Inches"
},
"__meta": []
}
},
"start": {
"from": [
@ -1309,16 +1206,7 @@ description: Variables in memory after executing bracket.kcl
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
2943,
2951,
0
]
}
]
}
},
"fillet4": {
"type": "TagIdentifier",
@ -1371,32 +1259,14 @@ description: Variables in memory after executing bracket.kcl
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
2988,
2996,
0
]
}
]
}
}
},
"artifactId": "[uuid]",
"originalId": "[uuid]",
"units": {
"type": "Inches"
},
"__meta": [
{
"sourceRange": [
2837,
2874,
0
]
}
]
}
}
},
"customPlane": {
@ -1419,16 +1289,7 @@ description: Variables in memory after executing bracket.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
2599,
2612,
0
]
}
]
}
},
"y": {
"type": "Number",
@ -1441,16 +1302,7 @@ description: Variables in memory after executing bracket.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
2618,
2619,
0
]
}
]
}
},
"z": {
"type": "Number",
@ -1463,27 +1315,9 @@ description: Variables in memory after executing bracket.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
2625,
2626,
0
]
}
]
}
}
},
"__meta": [
{
"sourceRange": [
2593,
2628,
0
]
}
]
}
},
"xAxis": {
"type": "Object",
@ -1499,16 +1333,7 @@ description: Variables in memory after executing bracket.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
2648,
2649,
0
]
}
]
}
},
"y": {
"type": "Number",
@ -1521,16 +1346,7 @@ description: Variables in memory after executing bracket.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
2655,
2656,
0
]
}
]
}
},
"z": {
"type": "Number",
@ -1543,27 +1359,9 @@ description: Variables in memory after executing bracket.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
2662,
2663,
0
]
}
]
}
}
},
"__meta": [
{
"sourceRange": [
2642,
2665,
0
]
}
]
}
},
"yAxis": {
"type": "Object",
@ -1579,16 +1377,7 @@ description: Variables in memory after executing bracket.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
2685,
2686,
0
]
}
]
}
},
"y": {
"type": "Number",
@ -1601,16 +1390,7 @@ description: Variables in memory after executing bracket.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
2692,
2693,
0
]
}
]
}
},
"z": {
"type": "Number",
@ -1623,27 +1403,9 @@ description: Variables in memory after executing bracket.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
2699,
2700,
0
]
}
]
}
}
},
"__meta": [
{
"sourceRange": [
2679,
2702,
0
]
}
]
}
},
"zAxis": {
"type": "Object",
@ -1659,16 +1421,7 @@ description: Variables in memory after executing bracket.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
2722,
2723,
0
]
}
]
}
},
"y": {
"type": "Number",
@ -1681,16 +1434,7 @@ description: Variables in memory after executing bracket.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
2729,
2730,
0
]
}
]
}
},
"z": {
"type": "Number",
@ -1703,49 +1447,13 @@ description: Variables in memory after executing bracket.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
2736,
2737,
0
]
}
]
}
}
},
"__meta": [
{
"sourceRange": [
2716,
2739,
0
]
}
]
}
}
},
"__meta": [
{
"sourceRange": [
2578,
2743,
0
]
}
]
}
}
},
"__meta": [
{
"sourceRange": [
2566,
2745,
0
]
}
]
}
},
"extFilletRadius": {
"type": "Number",
@ -1758,16 +1466,7 @@ description: Variables in memory after executing bracket.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
831,
834,
0
]
}
]
}
},
"factorOfSafety": {
"type": "Number",
@ -1780,16 +1479,7 @@ description: Variables in memory after executing bracket.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
575,
578,
0
]
}
]
}
},
"fillet1": {
"type": "TagIdentifier",
@ -1843,16 +1533,7 @@ description: Variables in memory after executing bracket.kcl
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
1252,
1260,
0
]
}
]
}
},
"fillet2": {
"type": "TagIdentifier",
@ -1906,16 +1587,7 @@ description: Variables in memory after executing bracket.kcl
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
1296,
1304,
0
]
}
]
}
},
"fillet3": {
"type": "TagIdentifier",
@ -1969,16 +1641,7 @@ description: Variables in memory after executing bracket.kcl
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
2943,
2951,
0
]
}
]
}
},
"fillet4": {
"type": "TagIdentifier",
@ -2032,16 +1695,7 @@ description: Variables in memory after executing bracket.kcl
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
2988,
2996,
0
]
}
]
}
},
"filletExtrude": {
"type": "Solid",
@ -2231,8 +1885,7 @@ description: Variables in memory after executing bracket.kcl
},
"units": {
"type": "Inches"
},
"__meta": []
}
},
"start": {
"from": [
@ -2260,32 +1913,14 @@ description: Variables in memory after executing bracket.kcl
"originalId": "[uuid]",
"units": {
"type": "Inches"
},
"__meta": [
{
"sourceRange": [
2119,
2144,
0
]
}
]
}
},
"height": -6.0,
"startCapId": "[uuid]",
"endCapId": "[uuid]",
"units": {
"type": "Inches"
},
"__meta": [
{
"sourceRange": [
2119,
2144,
0
]
}
]
}
}
},
"filletRadius": {
@ -2299,16 +1934,7 @@ description: Variables in memory after executing bracket.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
808,
812,
0
]
}
]
}
},
"filletSketch": {
"type": "Sketch",
@ -2448,8 +2074,7 @@ description: Variables in memory after executing bracket.kcl
},
"units": {
"type": "Inches"
},
"__meta": []
}
},
"start": {
"from": [
@ -2477,16 +2102,7 @@ description: Variables in memory after executing bracket.kcl
"originalId": "[uuid]",
"units": {
"type": "Inches"
},
"__meta": [
{
"sourceRange": [
2119,
2144,
0
]
}
]
}
}
},
"moment": {
@ -2494,23 +2110,7 @@ description: Variables in memory after executing bracket.kcl
"value": 3600.0,
"ty": {
"type": "Unknown"
},
"__meta": [
{
"sourceRange": [
637,
639,
0
]
},
{
"sourceRange": [
530,
533,
0
]
}
]
}
},
"mountingHoleDiameter": {
"type": "Number",
@ -2523,16 +2123,7 @@ description: Variables in memory after executing bracket.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
858,
861,
0
]
}
]
}
},
"p": {
"type": "Number",
@ -2545,16 +2136,7 @@ description: Variables in memory after executing bracket.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
530,
533,
0
]
}
]
}
},
"shelfDepth": {
"type": "Number",
@ -2567,16 +2149,7 @@ description: Variables in memory after executing bracket.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
637,
639,
0
]
}
]
}
},
"shelfMountL": {
"type": "Number",
@ -2589,16 +2162,7 @@ description: Variables in memory after executing bracket.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
607,
608,
0
]
}
]
}
},
"sigmaAllow": {
"type": "Number",
@ -2611,32 +2175,14 @@ description: Variables in memory after executing bracket.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
484,
489,
0
]
}
]
}
},
"thickness": {
"type": "Number",
"value": 0.3513,
"ty": {
"type": "Unknown"
},
"__meta": [
{
"sourceRange": [
918,
974,
0
]
}
]
}
},
"wallMountL": {
"type": "Number",
@ -2649,16 +2195,7 @@ description: Variables in memory after executing bracket.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
622,
623,
0
]
}
]
}
},
"width": {
"type": "Number",
@ -2671,15 +2208,6 @@ description: Variables in memory after executing bracket.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
524,
525,
0
]
}
]
}
}
}

View File

@ -1,59 +1,23 @@
---
source: kcl/src/simulation_tests.rs
source: kcl-lib/src/simulation_tests.rs
description: Variables in memory after executing car-wheel-assembly.kcl
---
{
"brakeCaliper": {
"type": "Module",
"value": 5,
"__meta": [
{
"sourceRange": [
200,
242,
0
]
}
]
"value": 5
},
"carRotor": {
"type": "Module",
"value": 4,
"__meta": [
{
"sourceRange": [
165,
199,
0
]
}
]
"value": 4
},
"carTire": {
"type": "Module",
"value": 7,
"__meta": [
{
"sourceRange": [
274,
306,
0
]
}
]
"value": 7
},
"carWheel": {
"type": "Module",
"value": 3,
"__meta": [
{
"sourceRange": [
129,
163,
0
]
}
]
"value": 3
},
"lugCount": {
"type": "Number",
@ -66,28 +30,10 @@ description: Variables in memory after executing car-wheel-assembly.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
119,
120,
8
]
}
]
}
},
"lugNut": {
"type": "Module",
"value": 6,
"__meta": [
{
"sourceRange": [
243,
273,
0
]
}
]
"value": 6
}
}

View File

@ -31,8 +31,7 @@ description: Variables in memory after executing color-cube.kcl
},
"units": {
"type": "Mm"
},
"__meta": []
}
}
},
"extrudeLength": {
@ -46,16 +45,7 @@ description: Variables in memory after executing color-cube.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
252,
255,
0
]
}
]
}
},
"greenPlane": {
"type": "Plane",
@ -85,8 +75,7 @@ description: Variables in memory after executing color-cube.kcl
},
"units": {
"type": "Mm"
},
"__meta": []
}
}
},
"halfSize": {
@ -94,23 +83,7 @@ description: Variables in memory after executing color-cube.kcl
"value": 50.0,
"ty": {
"type": "Unknown"
},
"__meta": [
{
"sourceRange": [
214,
217,
0
]
},
{
"sourceRange": [
234,
235,
0
]
}
]
}
},
"metalConstant": {
"type": "Number",
@ -123,16 +96,7 @@ description: Variables in memory after executing color-cube.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
272,
274,
0
]
}
]
}
},
"purplePlane": {
"type": "Plane",
@ -162,8 +126,7 @@ description: Variables in memory after executing color-cube.kcl
},
"units": {
"type": "Mm"
},
"__meta": []
}
}
},
"redPlane": {
@ -194,8 +157,7 @@ description: Variables in memory after executing color-cube.kcl
},
"units": {
"type": "Mm"
},
"__meta": []
}
}
},
"roughnessConstant": {
@ -209,16 +171,7 @@ description: Variables in memory after executing color-cube.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
295,
297,
0
]
}
]
}
},
"size": {
"type": "Number",
@ -231,28 +184,10 @@ description: Variables in memory after executing color-cube.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
214,
217,
0
]
}
]
}
},
"sketchRectangle": {
"type": "Function",
"__meta": [
{
"sourceRange": [
737,
1309,
0
]
}
]
"type": "Function"
},
"tealPlane": {
"type": "Plane",
@ -282,8 +217,7 @@ description: Variables in memory after executing color-cube.kcl
},
"units": {
"type": "Mm"
},
"__meta": []
}
}
},
"yellowPlane": {
@ -314,8 +248,7 @@ description: Variables in memory after executing color-cube.kcl
},
"units": {
"type": "Mm"
},
"__meta": []
}
}
}
}

View File

@ -1,18 +1,9 @@
---
source: kcl/src/simulation_tests.rs
source: kcl-lib/src/simulation_tests.rs
description: Variables in memory after executing cycloidal-gear.kcl
---
{
"cycloidalGear": {
"type": "Function",
"__meta": [
{
"sourceRange": [
222,
1721,
0
]
}
]
"type": "Function"
}
}

View File

@ -213,8 +213,7 @@ description: Variables in memory after executing dodecahedron.kcl
},
"units": {
"type": "Inches"
},
"__meta": []
}
},
"start": {
"from": [
@ -242,32 +241,14 @@ description: Variables in memory after executing dodecahedron.kcl
"originalId": "[uuid]",
"units": {
"type": "Inches"
},
"__meta": [
{
"sourceRange": [
1164,
1276,
0
]
}
]
}
},
"height": 5.0,
"startCapId": "[uuid]",
"endCapId": "[uuid]",
"units": {
"type": "Inches"
},
"__meta": [
{
"sourceRange": [
1164,
1276,
0
]
}
]
}
}
},
"bottomBowl": {
@ -481,8 +462,7 @@ description: Variables in memory after executing dodecahedron.kcl
},
"units": {
"type": "Inches"
},
"__meta": []
}
},
"start": {
"from": [
@ -510,32 +490,14 @@ description: Variables in memory after executing dodecahedron.kcl
"originalId": "[uuid]",
"units": {
"type": "Inches"
},
"__meta": [
{
"sourceRange": [
1321,
1433,
0
]
}
]
}
},
"height": 5.0,
"startCapId": "[uuid]",
"endCapId": "[uuid]",
"units": {
"type": "Inches"
},
"__meta": [
{
"sourceRange": [
1321,
1433,
0
]
}
]
}
},
{
"type": "Solid",
@ -745,8 +707,7 @@ description: Variables in memory after executing dodecahedron.kcl
},
"units": {
"type": "Inches"
},
"__meta": []
}
},
"start": {
"from": [
@ -774,32 +735,14 @@ description: Variables in memory after executing dodecahedron.kcl
"originalId": "[uuid]",
"units": {
"type": "Inches"
},
"__meta": [
{
"sourceRange": [
1321,
1433,
0
]
}
]
}
},
"height": 5.0,
"startCapId": "[uuid]",
"endCapId": "[uuid]",
"units": {
"type": "Inches"
},
"__meta": [
{
"sourceRange": [
1321,
1433,
0
]
}
]
}
},
{
"type": "Solid",
@ -1009,8 +952,7 @@ description: Variables in memory after executing dodecahedron.kcl
},
"units": {
"type": "Inches"
},
"__meta": []
}
},
"start": {
"from": [
@ -1038,32 +980,14 @@ description: Variables in memory after executing dodecahedron.kcl
"originalId": "[uuid]",
"units": {
"type": "Inches"
},
"__meta": [
{
"sourceRange": [
1321,
1433,
0
]
}
]
}
},
"height": 5.0,
"startCapId": "[uuid]",
"endCapId": "[uuid]",
"units": {
"type": "Inches"
},
"__meta": [
{
"sourceRange": [
1321,
1433,
0
]
}
]
}
},
{
"type": "Solid",
@ -1273,8 +1197,7 @@ description: Variables in memory after executing dodecahedron.kcl
},
"units": {
"type": "Inches"
},
"__meta": []
}
},
"start": {
"from": [
@ -1302,32 +1225,14 @@ description: Variables in memory after executing dodecahedron.kcl
"originalId": "[uuid]",
"units": {
"type": "Inches"
},
"__meta": [
{
"sourceRange": [
1321,
1433,
0
]
}
]
}
},
"height": 5.0,
"startCapId": "[uuid]",
"endCapId": "[uuid]",
"units": {
"type": "Inches"
},
"__meta": [
{
"sourceRange": [
1321,
1433,
0
]
}
]
}
},
{
"type": "Solid",
@ -1537,8 +1442,7 @@ description: Variables in memory after executing dodecahedron.kcl
},
"units": {
"type": "Inches"
},
"__meta": []
}
},
"start": {
"from": [
@ -1566,32 +1470,14 @@ description: Variables in memory after executing dodecahedron.kcl
"originalId": "[uuid]",
"units": {
"type": "Inches"
},
"__meta": [
{
"sourceRange": [
1321,
1433,
0
]
}
]
}
},
"height": 5.0,
"startCapId": "[uuid]",
"endCapId": "[uuid]",
"units": {
"type": "Inches"
},
"__meta": [
{
"sourceRange": [
1321,
1433,
0
]
}
]
}
}
]
},
@ -1744,8 +1630,7 @@ description: Variables in memory after executing dodecahedron.kcl
},
"units": {
"type": "Inches"
},
"__meta": []
}
},
"start": {
"from": [
@ -1773,16 +1658,7 @@ description: Variables in memory after executing dodecahedron.kcl
"originalId": "[uuid]",
"units": {
"type": "Inches"
},
"__meta": [
{
"sourceRange": [
1164,
1276,
0
]
}
]
}
}
},
"bottomSide": {
@ -1995,8 +1871,7 @@ description: Variables in memory after executing dodecahedron.kcl
},
"units": {
"type": "Inches"
},
"__meta": []
}
},
"start": {
"from": [
@ -2024,32 +1899,14 @@ description: Variables in memory after executing dodecahedron.kcl
"originalId": "[uuid]",
"units": {
"type": "Inches"
},
"__meta": [
{
"sourceRange": [
1321,
1433,
0
]
}
]
}
},
"height": 5.0,
"startCapId": "[uuid]",
"endCapId": "[uuid]",
"units": {
"type": "Inches"
},
"__meta": [
{
"sourceRange": [
1321,
1433,
0
]
}
]
}
}
},
"bottomSideFace": {
@ -2201,8 +2058,7 @@ description: Variables in memory after executing dodecahedron.kcl
},
"units": {
"type": "Inches"
},
"__meta": []
}
},
"start": {
"from": [
@ -2230,16 +2086,7 @@ description: Variables in memory after executing dodecahedron.kcl
"originalId": "[uuid]",
"units": {
"type": "Inches"
},
"__meta": [
{
"sourceRange": [
1321,
1433,
0
]
}
]
}
}
},
"circR": {
@ -2253,164 +2100,35 @@ description: Variables in memory after executing dodecahedron.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
359,
361,
0
]
}
]
}
},
"dihedral": {
"type": "Number",
"value": 2.0344,
"ty": {
"type": "Unknown"
},
"__meta": [
{
"sourceRange": [
495,
515,
0
]
}
]
}
},
"edgeL": {
"type": "Number",
"value": 17.8411,
"ty": {
"type": "Unknown"
},
"__meta": [
{
"sourceRange": [
615,
616,
0
]
},
{
"sourceRange": [
359,
361,
0
]
},
{
"sourceRange": [
628,
635,
0
]
},
{
"sourceRange": [
639,
640,
0
]
},
{
"sourceRange": [
643,
650,
0
]
}
]
}
},
"inscR": {
"type": "Number",
"value": 19.8664,
"ty": {
"type": "Unknown"
},
"__meta": [
{
"sourceRange": [
359,
361,
0
]
},
{
"sourceRange": [
553,
555,
0
]
},
{
"sourceRange": [
558,
581,
0
]
}
]
}
},
"pentR": {
"type": "Number",
"value": 15.1765,
"ty": {
"type": "Unknown"
},
"__meta": [
{
"sourceRange": [
615,
616,
0
]
},
{
"sourceRange": [
359,
361,
0
]
},
{
"sourceRange": [
628,
635,
0
]
},
{
"sourceRange": [
639,
640,
0
]
},
{
"sourceRange": [
643,
650,
0
]
},
{
"sourceRange": [
689,
690,
0
]
},
{
"sourceRange": [
693,
711,
0
]
}
]
}
},
"plane": {
"type": "Object",
@ -2426,23 +2144,7 @@ description: Variables in memory after executing dodecahedron.kcl
"value": -17.769,
"ty": {
"type": "Unknown"
},
"__meta": [
{
"sourceRange": [
801,
807,
0
]
},
{
"sourceRange": [
810,
850,
0
]
}
]
}
},
{
"type": "Number",
@ -2455,83 +2157,14 @@ description: Variables in memory after executing dodecahedron.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
858,
859,
0
]
}
]
}
},
{
"type": "Number",
"value": 10.9819,
"ty": {
"type": "Unknown"
},
"__meta": [
{
"sourceRange": [
359,
361,
0
]
},
{
"sourceRange": [
553,
555,
0
]
},
{
"sourceRange": [
558,
581,
0
]
},
{
"sourceRange": [
359,
361,
0
]
},
{
"sourceRange": [
553,
555,
0
]
},
{
"sourceRange": [
558,
581,
0
]
},
{
"sourceRange": [
884,
924,
0
]
}
]
}
],
"__meta": [
{
"sourceRange": [
793,
931,
0
]
}
}
]
},
@ -2544,16 +2177,7 @@ description: Variables in memory after executing dodecahedron.kcl
"ty": {
"type": "Known",
"type": "Count"
},
"__meta": [
{
"sourceRange": [
946,
959,
0
]
}
]
}
},
{
"type": "Number",
@ -2566,16 +2190,7 @@ description: Variables in memory after executing dodecahedron.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
961,
964,
0
]
}
]
}
},
{
"type": "Number",
@ -2583,25 +2198,7 @@ description: Variables in memory after executing dodecahedron.kcl
"ty": {
"type": "Known",
"type": "Count"
},
"__meta": [
{
"sourceRange": [
966,
979,
0
]
}
]
}
],
"__meta": [
{
"sourceRange": [
945,
980,
0
]
}
}
]
},
@ -2619,16 +2216,7 @@ description: Variables in memory after executing dodecahedron.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
995,
996,
0
]
}
]
}
},
{
"type": "Number",
@ -2641,16 +2229,7 @@ description: Variables in memory after executing dodecahedron.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
998,
999,
0
]
}
]
}
},
{
"type": "Number",
@ -2663,25 +2242,7 @@ description: Variables in memory after executing dodecahedron.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
1001,
1002,
0
]
}
]
}
],
"__meta": [
{
"sourceRange": [
994,
1003,
0
]
}
}
]
},
@ -2694,16 +2255,7 @@ description: Variables in memory after executing dodecahedron.kcl
"ty": {
"type": "Known",
"type": "Count"
},
"__meta": [
{
"sourceRange": [
1018,
1031,
0
]
}
]
}
},
{
"type": "Number",
@ -2716,16 +2268,7 @@ description: Variables in memory after executing dodecahedron.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
1033,
1034,
0
]
}
]
}
},
{
"type": "Number",
@ -2733,71 +2276,19 @@ description: Variables in memory after executing dodecahedron.kcl
"ty": {
"type": "Known",
"type": "Count"
},
"__meta": [
{
"sourceRange": [
1036,
1050,
0
]
}
]
}
],
"__meta": [
{
"sourceRange": [
1017,
1051,
0
]
}
}
]
}
},
"__meta": [
{
"sourceRange": [
778,
1055,
0
]
}
]
}
}
},
"__meta": [
{
"sourceRange": [
766,
1057,
0
]
}
]
}
},
"wallThickness": {
"type": "Number",
"value": 5.0,
"ty": {
"type": "Unknown"
},
"__meta": [
{
"sourceRange": [
359,
361,
0
]
},
{
"sourceRange": [
445,
448,
0
]
}
]
}
}
}

File diff suppressed because it is too large Load Diff

View File

@ -14,16 +14,7 @@ description: Variables in memory after executing exhaust-manifold.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
231,
232,
0
]
}
]
}
},
"flangeSketch": {
"type": "Solid",
@ -747,8 +738,7 @@ description: Variables in memory after executing exhaust-manifold.kcl
},
"units": {
"type": "Inches"
},
"__meta": []
}
},
"start": {
"from": [
@ -824,16 +814,7 @@ description: Variables in memory after executing exhaust-manifold.kcl
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
1932,
1938,
0
]
}
]
}
},
"seg03": {
"type": "TagIdentifier",
@ -886,16 +867,7 @@ description: Variables in memory after executing exhaust-manifold.kcl
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
2130,
2136,
0
]
}
]
}
},
"seg04": {
"type": "TagIdentifier",
@ -948,16 +920,7 @@ description: Variables in memory after executing exhaust-manifold.kcl
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
2179,
2185,
0
]
}
]
}
},
"seg05": {
"type": "TagIdentifier",
@ -1010,16 +973,7 @@ description: Variables in memory after executing exhaust-manifold.kcl
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
2218,
2224,
0
]
}
]
}
},
"seg07": {
"type": "TagIdentifier",
@ -1072,16 +1026,7 @@ description: Variables in memory after executing exhaust-manifold.kcl
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
2426,
2432,
0
]
}
]
}
},
"seg08": {
"type": "TagIdentifier",
@ -1134,16 +1079,7 @@ description: Variables in memory after executing exhaust-manifold.kcl
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
2483,
2489,
0
]
}
]
}
},
"seg09": {
"type": "TagIdentifier",
@ -1196,32 +1132,14 @@ description: Variables in memory after executing exhaust-manifold.kcl
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
2533,
2539,
0
]
}
]
}
}
},
"artifactId": "[uuid]",
"originalId": "[uuid]",
"units": {
"type": "Inches"
},
"__meta": [
{
"sourceRange": [
1864,
1899,
0
]
}
]
}
},
"height": 0.125,
"startCapId": "[uuid]",
@ -1258,16 +1176,7 @@ description: Variables in memory after executing exhaust-manifold.kcl
],
"units": {
"type": "Inches"
},
"__meta": [
{
"sourceRange": [
1864,
1899,
0
]
}
]
}
}
},
"plateHeight": {
@ -1281,28 +1190,10 @@ description: Variables in memory after executing exhaust-manifold.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
212,
217,
0
]
}
]
}
},
"primaryTube": {
"type": "Function",
"__meta": [
{
"sourceRange": [
329,
1587,
0
]
}
]
"type": "Function"
},
"primaryTubeDiameter": {
"type": "Number",
@ -1315,16 +1206,7 @@ description: Variables in memory after executing exhaust-manifold.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
170,
175,
0
]
}
]
}
},
"seg01": {
"type": "TagIdentifier",
@ -1378,16 +1260,7 @@ description: Variables in memory after executing exhaust-manifold.kcl
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
1932,
1938,
0
]
}
]
}
},
"seg03": {
"type": "TagIdentifier",
@ -1441,16 +1314,7 @@ description: Variables in memory after executing exhaust-manifold.kcl
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
2130,
2136,
0
]
}
]
}
},
"seg04": {
"type": "TagIdentifier",
@ -1504,16 +1368,7 @@ description: Variables in memory after executing exhaust-manifold.kcl
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
2179,
2185,
0
]
}
]
}
},
"seg05": {
"type": "TagIdentifier",
@ -1567,16 +1422,7 @@ description: Variables in memory after executing exhaust-manifold.kcl
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
2218,
2224,
0
]
}
]
}
},
"seg07": {
"type": "TagIdentifier",
@ -1630,16 +1476,7 @@ description: Variables in memory after executing exhaust-manifold.kcl
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
2426,
2432,
0
]
}
]
}
},
"seg08": {
"type": "TagIdentifier",
@ -1693,16 +1530,7 @@ description: Variables in memory after executing exhaust-manifold.kcl
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
2483,
2489,
0
]
}
]
}
},
"seg09": {
"type": "TagIdentifier",
@ -1756,16 +1584,7 @@ description: Variables in memory after executing exhaust-manifold.kcl
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
2533,
2539,
0
]
}
]
}
},
"wallThickness": {
"type": "Number",
@ -1778,15 +1597,6 @@ description: Variables in memory after executing exhaust-manifold.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
192,
197,
0
]
}
]
}
}
}

View File

@ -1,5 +1,5 @@
---
source: kcl/src/simulation_tests.rs
source: kcl-lib/src/simulation_tests.rs
description: Variables in memory after executing flange-with-patterns.kcl
---
{
@ -14,16 +14,7 @@ description: Variables in memory after executing flange-with-patterns.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
388,
393,
0
]
}
]
}
},
"baseThickness": {
"type": "Number",
@ -36,16 +27,7 @@ description: Variables in memory after executing flange-with-patterns.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
575,
579,
0
]
}
]
}
},
"bottomExtrusion": {
"type": "Solid",
@ -127,8 +109,7 @@ description: Variables in memory after executing flange-with-patterns.kcl
},
"units": {
"type": "Inches"
},
"__meta": []
}
},
"start": {
"from": [
@ -156,32 +137,14 @@ description: Variables in memory after executing flange-with-patterns.kcl
"originalId": "[uuid]",
"units": {
"type": "Inches"
},
"__meta": [
{
"sourceRange": [
2065,
2143,
0
]
}
]
}
},
"height": -0.06,
"startCapId": "[uuid]",
"endCapId": "[uuid]",
"units": {
"type": "Inches"
},
"__meta": [
{
"sourceRange": [
2065,
2143,
0
]
}
]
}
}
},
"bottomThickness": {
@ -195,16 +158,7 @@ description: Variables in memory after executing flange-with-patterns.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
492,
496,
0
]
}
]
}
},
"bottomTotalDiameter": {
"type": "Number",
@ -217,16 +171,7 @@ description: Variables in memory after executing flange-with-patterns.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
519,
522,
0
]
}
]
}
},
"circles": {
"type": "Sketches",
@ -292,8 +237,7 @@ description: Variables in memory after executing flange-with-patterns.kcl
},
"units": {
"type": "Inches"
},
"__meta": []
}
},
"start": {
"from": [
@ -321,16 +265,7 @@ description: Variables in memory after executing flange-with-patterns.kcl
"originalId": "[uuid]",
"units": {
"type": "Inches"
},
"__meta": [
{
"sourceRange": [
894,
1000,
0
]
}
]
}
},
{
"type": "Sketch",
@ -393,8 +328,7 @@ description: Variables in memory after executing flange-with-patterns.kcl
},
"units": {
"type": "Inches"
},
"__meta": []
}
},
"start": {
"from": [
@ -422,16 +356,7 @@ description: Variables in memory after executing flange-with-patterns.kcl
"originalId": "[uuid]",
"units": {
"type": "Inches"
},
"__meta": [
{
"sourceRange": [
894,
1000,
0
]
}
]
}
},
{
"type": "Sketch",
@ -494,8 +419,7 @@ description: Variables in memory after executing flange-with-patterns.kcl
},
"units": {
"type": "Inches"
},
"__meta": []
}
},
"start": {
"from": [
@ -523,16 +447,7 @@ description: Variables in memory after executing flange-with-patterns.kcl
"originalId": "[uuid]",
"units": {
"type": "Inches"
},
"__meta": [
{
"sourceRange": [
894,
1000,
0
]
}
]
}
},
{
"type": "Sketch",
@ -595,8 +510,7 @@ description: Variables in memory after executing flange-with-patterns.kcl
},
"units": {
"type": "Inches"
},
"__meta": []
}
},
"start": {
"from": [
@ -624,16 +538,7 @@ description: Variables in memory after executing flange-with-patterns.kcl
"originalId": "[uuid]",
"units": {
"type": "Inches"
},
"__meta": [
{
"sourceRange": [
894,
1000,
0
]
}
]
}
}
]
},
@ -717,8 +622,7 @@ description: Variables in memory after executing flange-with-patterns.kcl
},
"units": {
"type": "Inches"
},
"__meta": []
}
},
"start": {
"from": [
@ -746,32 +650,14 @@ description: Variables in memory after executing flange-with-patterns.kcl
"originalId": "[uuid]",
"units": {
"type": "Inches"
},
"__meta": [
{
"sourceRange": [
1238,
1304,
0
]
}
]
}
},
"height": 0.625,
"startCapId": "[uuid]",
"endCapId": "[uuid]",
"units": {
"type": "Inches"
},
"__meta": [
{
"sourceRange": [
1238,
1304,
0
]
}
]
}
}
},
"holeLocator": {
@ -785,23 +671,7 @@ description: Variables in memory after executing flange-with-patterns.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
388,
393,
0
]
},
{
"sourceRange": [
675,
676,
0
]
}
]
}
},
"mountingHoleDia": {
"type": "Number",
@ -814,16 +684,7 @@ description: Variables in memory after executing flange-with-patterns.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
373,
377,
0
]
}
]
}
},
"mountingHolePlacementDiameter": {
"type": "Number",
@ -836,16 +697,7 @@ description: Variables in memory after executing flange-with-patterns.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
555,
558,
0
]
}
]
}
},
"nHoles": {
"type": "Number",
@ -858,16 +710,7 @@ description: Variables in memory after executing flange-with-patterns.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
686,
687,
0
]
}
]
}
},
"pipeDia": {
"type": "Number",
@ -880,16 +723,7 @@ description: Variables in memory after executing flange-with-patterns.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
404,
408,
0
]
}
]
}
},
"thickness": {
"type": "Number",
@ -902,16 +736,7 @@ description: Variables in memory after executing flange-with-patterns.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
421,
425,
0
]
}
]
}
},
"topExtrusion": {
"type": "Solid",
@ -993,8 +818,7 @@ description: Variables in memory after executing flange-with-patterns.kcl
},
"units": {
"type": "Inches"
},
"__meta": []
}
},
"start": {
"from": [
@ -1022,32 +846,14 @@ description: Variables in memory after executing flange-with-patterns.kcl
"originalId": "[uuid]",
"units": {
"type": "Inches"
},
"__meta": [
{
"sourceRange": [
1766,
1841,
0
]
}
]
}
},
"height": 0.1279999999999999,
"startCapId": "[uuid]",
"endCapId": "[uuid]",
"units": {
"type": "Inches"
},
"__meta": [
{
"sourceRange": [
1766,
1841,
0
]
}
]
}
}
},
"topFacePlane": {
@ -1070,16 +876,7 @@ description: Variables in memory after executing flange-with-patterns.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
1516,
1517,
0
]
}
]
}
},
"y": {
"type": "Number",
@ -1092,16 +889,7 @@ description: Variables in memory after executing flange-with-patterns.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
1523,
1524,
0
]
}
]
}
},
"z": {
"type": "Number",
@ -1114,27 +902,9 @@ description: Variables in memory after executing flange-with-patterns.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
575,
579,
0
]
}
]
}
}
},
"__meta": [
{
"sourceRange": [
1510,
1545,
0
]
}
]
}
},
"xAxis": {
"type": "Object",
@ -1150,16 +920,7 @@ description: Variables in memory after executing flange-with-patterns.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
1565,
1566,
0
]
}
]
}
},
"y": {
"type": "Number",
@ -1172,16 +933,7 @@ description: Variables in memory after executing flange-with-patterns.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
1572,
1573,
0
]
}
]
}
},
"z": {
"type": "Number",
@ -1194,27 +946,9 @@ description: Variables in memory after executing flange-with-patterns.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
1579,
1580,
0
]
}
]
}
}
},
"__meta": [
{
"sourceRange": [
1559,
1582,
0
]
}
]
}
},
"yAxis": {
"type": "Object",
@ -1230,16 +964,7 @@ description: Variables in memory after executing flange-with-patterns.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
1602,
1603,
0
]
}
]
}
},
"y": {
"type": "Number",
@ -1252,16 +977,7 @@ description: Variables in memory after executing flange-with-patterns.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
1609,
1610,
0
]
}
]
}
},
"z": {
"type": "Number",
@ -1274,27 +990,9 @@ description: Variables in memory after executing flange-with-patterns.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
1616,
1617,
0
]
}
]
}
}
},
"__meta": [
{
"sourceRange": [
1596,
1619,
0
]
}
]
}
},
"zAxis": {
"type": "Object",
@ -1310,16 +1008,7 @@ description: Variables in memory after executing flange-with-patterns.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
1639,
1640,
0
]
}
]
}
},
"y": {
"type": "Number",
@ -1332,16 +1021,7 @@ description: Variables in memory after executing flange-with-patterns.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
1646,
1647,
0
]
}
]
}
},
"z": {
"type": "Number",
@ -1354,49 +1034,13 @@ description: Variables in memory after executing flange-with-patterns.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
1653,
1654,
0
]
}
]
}
}
},
"__meta": [
{
"sourceRange": [
1633,
1656,
0
]
}
]
}
}
},
"__meta": [
{
"sourceRange": [
1495,
1660,
0
]
}
]
}
}
},
"__meta": [
{
"sourceRange": [
1483,
1662,
0
]
}
]
}
},
"topTotalDiameter": {
"type": "Number",
@ -1409,16 +1053,7 @@ description: Variables in memory after executing flange-with-patterns.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
468,
473,
0
]
}
]
}
},
"topTotalThickness": {
"type": "Number",
@ -1431,30 +1066,7 @@ description: Variables in memory after executing flange-with-patterns.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
443,
448,
0
]
},
{
"sourceRange": [
492,
496,
0
]
},
{
"sourceRange": [
575,
579,
0
]
}
]
}
},
"totalThickness": {
"type": "Number",
@ -1467,15 +1079,6 @@ description: Variables in memory after executing flange-with-patterns.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
443,
448,
0
]
}
]
}
}
}

View File

@ -1,5 +1,5 @@
---
source: kcl/src/simulation_tests.rs
source: kcl-lib/src/simulation_tests.rs
description: Variables in memory after executing flange-xy.kcl
---
{
@ -14,16 +14,7 @@ description: Variables in memory after executing flange-xy.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
408,
413,
0
]
}
]
}
},
"baseThickness": {
"type": "Number",
@ -36,16 +27,7 @@ description: Variables in memory after executing flange-xy.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
595,
599,
0
]
}
]
}
},
"bottomExtrusion": {
"type": "Solid",
@ -127,8 +109,7 @@ description: Variables in memory after executing flange-xy.kcl
},
"units": {
"type": "Inches"
},
"__meta": []
}
},
"start": {
"from": [
@ -156,32 +137,14 @@ description: Variables in memory after executing flange-xy.kcl
"originalId": "[uuid]",
"units": {
"type": "Inches"
},
"__meta": [
{
"sourceRange": [
2214,
2292,
0
]
}
]
}
},
"height": -0.06,
"startCapId": "[uuid]",
"endCapId": "[uuid]",
"units": {
"type": "Inches"
},
"__meta": [
{
"sourceRange": [
2214,
2292,
0
]
}
]
}
}
},
"bottomThickness": {
@ -195,16 +158,7 @@ description: Variables in memory after executing flange-xy.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
512,
516,
0
]
}
]
}
},
"bottomTotalDiameter": {
"type": "Number",
@ -217,16 +171,7 @@ description: Variables in memory after executing flange-xy.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
539,
542,
0
]
}
]
}
},
"flangeBase": {
"type": "Solid",
@ -308,8 +253,7 @@ description: Variables in memory after executing flange-xy.kcl
},
"units": {
"type": "Inches"
},
"__meta": []
}
},
"start": {
"from": [
@ -337,32 +281,14 @@ description: Variables in memory after executing flange-xy.kcl
"originalId": "[uuid]",
"units": {
"type": "Inches"
},
"__meta": [
{
"sourceRange": [
916,
982,
0
]
}
]
}
},
"height": 0.625,
"startCapId": "[uuid]",
"endCapId": "[uuid]",
"units": {
"type": "Inches"
},
"__meta": [
{
"sourceRange": [
916,
982,
0
]
}
]
}
}
},
"holeLocator": {
@ -376,23 +302,7 @@ description: Variables in memory after executing flange-xy.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
408,
413,
0
]
},
{
"sourceRange": [
695,
696,
0
]
}
]
}
},
"mountingHoleDia": {
"type": "Number",
@ -405,16 +315,7 @@ description: Variables in memory after executing flange-xy.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
393,
397,
0
]
}
]
}
},
"mountingHolePlacementDiameter": {
"type": "Number",
@ -427,16 +328,7 @@ description: Variables in memory after executing flange-xy.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
575,
578,
0
]
}
]
}
},
"nHoles": {
"type": "Number",
@ -449,16 +341,7 @@ description: Variables in memory after executing flange-xy.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
706,
707,
0
]
}
]
}
},
"pipeDia": {
"type": "Number",
@ -471,16 +354,7 @@ description: Variables in memory after executing flange-xy.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
424,
428,
0
]
}
]
}
},
"thickness": {
"type": "Number",
@ -493,16 +367,7 @@ description: Variables in memory after executing flange-xy.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
441,
445,
0
]
}
]
}
},
"topExtrusion": {
"type": "Solid",
@ -584,8 +449,7 @@ description: Variables in memory after executing flange-xy.kcl
},
"units": {
"type": "Inches"
},
"__meta": []
}
},
"start": {
"from": [
@ -613,32 +477,14 @@ description: Variables in memory after executing flange-xy.kcl
"originalId": "[uuid]",
"units": {
"type": "Inches"
},
"__meta": [
{
"sourceRange": [
1915,
1990,
0
]
}
]
}
},
"height": 0.1279999999999999,
"startCapId": "[uuid]",
"endCapId": "[uuid]",
"units": {
"type": "Inches"
},
"__meta": [
{
"sourceRange": [
1915,
1990,
0
]
}
]
}
}
},
"topFacePlane": {
@ -661,16 +507,7 @@ description: Variables in memory after executing flange-xy.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
1658,
1659,
0
]
}
]
}
},
"y": {
"type": "Number",
@ -683,16 +520,7 @@ description: Variables in memory after executing flange-xy.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
1665,
1666,
0
]
}
]
}
},
"z": {
"type": "Number",
@ -705,27 +533,9 @@ description: Variables in memory after executing flange-xy.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
595,
599,
0
]
}
]
}
}
},
"__meta": [
{
"sourceRange": [
1652,
1687,
0
]
}
]
}
},
"xAxis": {
"type": "Object",
@ -741,16 +551,7 @@ description: Variables in memory after executing flange-xy.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
1707,
1708,
0
]
}
]
}
},
"y": {
"type": "Number",
@ -763,16 +564,7 @@ description: Variables in memory after executing flange-xy.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
1714,
1715,
0
]
}
]
}
},
"z": {
"type": "Number",
@ -785,27 +577,9 @@ description: Variables in memory after executing flange-xy.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
1721,
1722,
0
]
}
]
}
}
},
"__meta": [
{
"sourceRange": [
1701,
1724,
0
]
}
]
}
},
"yAxis": {
"type": "Object",
@ -821,16 +595,7 @@ description: Variables in memory after executing flange-xy.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
1744,
1745,
0
]
}
]
}
},
"y": {
"type": "Number",
@ -843,16 +608,7 @@ description: Variables in memory after executing flange-xy.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
1751,
1752,
0
]
}
]
}
},
"z": {
"type": "Number",
@ -865,27 +621,9 @@ description: Variables in memory after executing flange-xy.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
1758,
1759,
0
]
}
]
}
}
},
"__meta": [
{
"sourceRange": [
1738,
1761,
0
]
}
]
}
},
"zAxis": {
"type": "Object",
@ -901,16 +639,7 @@ description: Variables in memory after executing flange-xy.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
1781,
1782,
0
]
}
]
}
},
"y": {
"type": "Number",
@ -923,16 +652,7 @@ description: Variables in memory after executing flange-xy.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
1788,
1789,
0
]
}
]
}
},
"z": {
"type": "Number",
@ -945,49 +665,13 @@ description: Variables in memory after executing flange-xy.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
1795,
1796,
0
]
}
]
}
}
},
"__meta": [
{
"sourceRange": [
1775,
1798,
0
]
}
]
}
}
},
"__meta": [
{
"sourceRange": [
1637,
1802,
0
]
}
]
}
}
},
"__meta": [
{
"sourceRange": [
1625,
1804,
0
]
}
]
}
},
"topTotalDiameter": {
"type": "Number",
@ -1000,16 +684,7 @@ description: Variables in memory after executing flange-xy.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
488,
493,
0
]
}
]
}
},
"topTotalThickness": {
"type": "Number",
@ -1022,30 +697,7 @@ description: Variables in memory after executing flange-xy.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
463,
468,
0
]
},
{
"sourceRange": [
512,
516,
0
]
},
{
"sourceRange": [
595,
599,
0
]
}
]
}
},
"totalThickness": {
"type": "Number",
@ -1058,15 +710,6 @@ description: Variables in memory after executing flange-xy.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
463,
468,
0
]
}
]
}
}
}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,5 +1,5 @@
---
source: kcl/src/simulation_tests.rs
source: kcl-lib/src/simulation_tests.rs
description: Variables in memory after executing hex-nut.kcl
---
{
@ -14,28 +14,10 @@ description: Variables in memory after executing hex-nut.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
449,
455,
0
]
}
]
}
},
"hexNut": {
"type": "Function",
"__meta": [
{
"sourceRange": [
503,
1083,
0
]
}
]
"type": "Function"
},
"thickness": {
"type": "Number",
@ -48,16 +30,7 @@ description: Variables in memory after executing hex-nut.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
432,
437,
0
]
}
]
}
},
"wallToWallLength": {
"type": "Number",
@ -70,15 +43,6 @@ description: Variables in memory after executing hex-nut.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
416,
419,
0
]
}
]
}
}
}

View File

@ -14,16 +14,7 @@ description: Variables in memory after executing i-beam.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
217,
218,
0
]
}
]
}
},
"beamLength": {
"type": "Number",
@ -36,16 +27,7 @@ description: Variables in memory after executing i-beam.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
183,
185,
0
]
}
]
}
},
"beamWidth": {
"type": "Number",
@ -58,16 +40,7 @@ description: Variables in memory after executing i-beam.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
198,
203,
0
]
}
]
}
},
"sketch001": {
"type": "Solid",
@ -200,8 +173,7 @@ description: Variables in memory after executing i-beam.kcl
},
"units": {
"type": "Inches"
},
"__meta": []
}
},
"start": {
"from": [
@ -229,32 +201,14 @@ description: Variables in memory after executing i-beam.kcl
"originalId": "[uuid]",
"units": {
"type": "Inches"
},
"__meta": [
{
"sourceRange": [
405,
441,
0
]
}
]
}
},
"height": 24.0,
"startCapId": null,
"endCapId": null,
"units": {
"type": "Inches"
},
"__meta": [
{
"sourceRange": [
405,
441,
0
]
}
]
}
}
},
"wallThickness": {
@ -268,15 +222,6 @@ description: Variables in memory after executing i-beam.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
235,
240,
0
]
}
]
}
}
}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,5 +1,5 @@
---
source: kcl/src/simulation_tests.rs
source: kcl-lib/src/simulation_tests.rs
description: Variables in memory after executing mounting-plate.kcl
---
{
@ -14,16 +14,7 @@ description: Variables in memory after executing mounting-plate.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
354,
355,
0
]
}
]
}
},
"edge1": {
"type": "TagIdentifier",
@ -77,16 +68,7 @@ description: Variables in memory after executing mounting-plate.kcl
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
691,
697,
0
]
}
]
}
},
"edge2": {
"type": "TagIdentifier",
@ -140,16 +122,7 @@ description: Variables in memory after executing mounting-plate.kcl
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
765,
771,
0
]
}
]
}
},
"edge3": {
"type": "TagIdentifier",
@ -203,16 +176,7 @@ description: Variables in memory after executing mounting-plate.kcl
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
841,
847,
0
]
}
]
}
},
"edge4": {
"type": "TagIdentifier",
@ -266,16 +230,7 @@ description: Variables in memory after executing mounting-plate.kcl
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
868,
874,
0
]
}
]
}
},
"filletRadius": {
"type": "Number",
@ -288,16 +243,7 @@ description: Variables in memory after executing mounting-plate.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
309,
312,
0
]
}
]
}
},
"holeIndex": {
"type": "Number",
@ -310,16 +256,7 @@ description: Variables in memory after executing mounting-plate.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
974,
977,
0
]
}
]
}
},
"holeRadius": {
"type": "Number",
@ -332,16 +269,7 @@ description: Variables in memory after executing mounting-plate.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
958,
961,
0
]
}
]
}
},
"part": {
"type": "Solid",
@ -559,8 +487,7 @@ description: Variables in memory after executing mounting-plate.kcl
},
"units": {
"type": "Inches"
},
"__meta": []
}
},
"start": {
"from": [
@ -636,16 +563,7 @@ description: Variables in memory after executing mounting-plate.kcl
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
691,
697,
0
]
}
]
}
},
"edge2": {
"type": "TagIdentifier",
@ -698,16 +616,7 @@ description: Variables in memory after executing mounting-plate.kcl
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
765,
771,
0
]
}
]
}
},
"edge3": {
"type": "TagIdentifier",
@ -760,16 +669,7 @@ description: Variables in memory after executing mounting-plate.kcl
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
841,
847,
0
]
}
]
}
},
"edge4": {
"type": "TagIdentifier",
@ -822,32 +722,14 @@ description: Variables in memory after executing mounting-plate.kcl
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
868,
874,
0
]
}
]
}
}
},
"artifactId": "[uuid]",
"originalId": "[uuid]",
"units": {
"type": "Inches"
},
"__meta": [
{
"sourceRange": [
567,
622,
0
]
}
]
}
},
"height": 0.5,
"startCapId": "[uuid]",
@ -884,16 +766,7 @@ description: Variables in memory after executing mounting-plate.kcl
],
"units": {
"type": "Inches"
},
"__meta": [
{
"sourceRange": [
567,
622,
0
]
}
]
}
}
},
"plateLength": {
@ -907,16 +780,7 @@ description: Variables in memory after executing mounting-plate.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
276,
278,
0
]
}
]
}
},
"plateThickness": {
"type": "Number",
@ -929,16 +793,7 @@ description: Variables in memory after executing mounting-plate.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
330,
332,
0
]
}
]
}
},
"plateWidth": {
"type": "Number",
@ -951,28 +806,10 @@ description: Variables in memory after executing mounting-plate.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
292,
293,
0
]
}
]
}
},
"rectShape": {
"type": "Function",
"__meta": [
{
"sourceRange": [
519,
889,
0
]
}
]
"type": "Function"
},
"rs": {
"type": "Sketch",
@ -1120,8 +957,7 @@ description: Variables in memory after executing mounting-plate.kcl
},
"units": {
"type": "Inches"
},
"__meta": []
}
},
"start": {
"from": [
@ -1197,16 +1033,7 @@ description: Variables in memory after executing mounting-plate.kcl
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
691,
697,
0
]
}
]
}
},
"edge2": {
"type": "TagIdentifier",
@ -1259,16 +1086,7 @@ description: Variables in memory after executing mounting-plate.kcl
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
765,
771,
0
]
}
]
}
},
"edge3": {
"type": "TagIdentifier",
@ -1321,16 +1139,7 @@ description: Variables in memory after executing mounting-plate.kcl
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
841,
847,
0
]
}
]
}
},
"edge4": {
"type": "TagIdentifier",
@ -1383,32 +1192,14 @@ description: Variables in memory after executing mounting-plate.kcl
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
868,
874,
0
]
}
]
}
}
},
"artifactId": "[uuid]",
"originalId": "[uuid]",
"units": {
"type": "Inches"
},
"__meta": [
{
"sourceRange": [
567,
622,
0
]
}
]
}
}
}
}

View File

@ -1,58 +1,22 @@
---
source: kcl/src/simulation_tests.rs
source: kcl-lib/src/simulation_tests.rs
description: Variables in memory after executing multi-axis-robot.kcl
---
{
"j2RobotArm": {
"type": "Module",
"value": 5,
"__meta": [
{
"sourceRange": [
307,
346,
0
]
}
]
"value": 5
},
"j3RobotArm": {
"type": "Module",
"value": 6,
"__meta": [
{
"sourceRange": [
347,
386,
0
]
}
]
"value": 6
},
"robotArmBase": {
"type": "Module",
"value": 3,
"__meta": [
{
"sourceRange": [
214,
257,
0
]
}
]
"value": 3
},
"rotatingBase": {
"type": "Module",
"value": 4,
"__meta": [
{
"sourceRange": [
258,
306,
0
]
}
]
"value": 4
}
}

View File

@ -1,5 +1,5 @@
---
source: kcl/src/simulation_tests.rs
source: kcl-lib/src/simulation_tests.rs
description: Variables in memory after executing pipe-with-bend.kcl
---
{
@ -14,16 +14,7 @@ description: Variables in memory after executing pipe-with-bend.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
297,
299,
0
]
}
]
}
},
"bendRadius": {
"type": "Number",
@ -36,16 +27,7 @@ description: Variables in memory after executing pipe-with-bend.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
282,
284,
0
]
}
]
}
},
"innerDiameter": {
"type": "Number",
@ -58,16 +40,7 @@ description: Variables in memory after executing pipe-with-bend.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
247,
249,
0
]
}
]
}
},
"innerProfile": {
"type": "Sketch",
@ -132,8 +105,7 @@ description: Variables in memory after executing pipe-with-bend.kcl
},
"units": {
"type": "Inches"
},
"__meta": []
}
},
"start": {
"from": [
@ -161,16 +133,7 @@ description: Variables in memory after executing pipe-with-bend.kcl
"originalId": "[uuid]",
"units": {
"type": "Inches"
},
"__meta": [
{
"sourceRange": [
568,
647,
0
]
}
]
}
}
},
"outerDiameter": {
@ -184,16 +147,7 @@ description: Variables in memory after executing pipe-with-bend.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
266,
268,
0
]
}
]
}
},
"outerProfile": {
"type": "Sketch",
@ -258,8 +212,7 @@ description: Variables in memory after executing pipe-with-bend.kcl
},
"units": {
"type": "Inches"
},
"__meta": []
}
},
"start": {
"from": [
@ -287,16 +240,7 @@ description: Variables in memory after executing pipe-with-bend.kcl
"originalId": "[uuid]",
"units": {
"type": "Inches"
},
"__meta": [
{
"sourceRange": [
429,
508,
0
]
}
]
}
}
},
"pipe": {
@ -379,8 +323,7 @@ description: Variables in memory after executing pipe-with-bend.kcl
},
"units": {
"type": "Inches"
},
"__meta": []
}
},
"start": {
"from": [
@ -408,32 +351,14 @@ description: Variables in memory after executing pipe-with-bend.kcl
"originalId": "[uuid]",
"units": {
"type": "Inches"
},
"__meta": [
{
"sourceRange": [
429,
508,
0
]
}
]
}
},
"height": 0.0,
"startCapId": "[uuid]",
"endCapId": "[uuid]",
"units": {
"type": "Inches"
},
"__meta": [
{
"sourceRange": [
429,
508,
0
]
}
]
}
}
},
"pipeProfile": {
@ -499,8 +424,7 @@ description: Variables in memory after executing pipe-with-bend.kcl
},
"units": {
"type": "Inches"
},
"__meta": []
}
},
"start": {
"from": [
@ -528,16 +452,7 @@ description: Variables in memory after executing pipe-with-bend.kcl
"originalId": "[uuid]",
"units": {
"type": "Inches"
},
"__meta": [
{
"sourceRange": [
429,
508,
0
]
}
]
}
}
},
"sketch000": {
@ -568,8 +483,7 @@ description: Variables in memory after executing pipe-with-bend.kcl
},
"units": {
"type": "Inches"
},
"__meta": []
}
}
}
}

View File

@ -315,8 +315,7 @@ description: Variables in memory after executing pipe.kcl
},
"units": {
"type": "Inches"
},
"__meta": []
}
},
"start": {
"from": [
@ -344,32 +343,14 @@ description: Variables in memory after executing pipe.kcl
"originalId": "[uuid]",
"units": {
"type": "Inches"
},
"__meta": [
{
"sourceRange": [
630,
685,
0
]
}
]
}
},
"height": 0.0,
"startCapId": null,
"endCapId": null,
"units": {
"type": "Inches"
},
"__meta": [
{
"sourceRange": [
630,
685,
0
]
}
]
}
}
},
"pipeLargeDia": {
@ -383,16 +364,7 @@ description: Variables in memory after executing pipe.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
280,
281,
0
]
}
]
}
},
"pipeLargeDiaLength": {
"type": "Number",
@ -405,16 +377,7 @@ description: Variables in memory after executing pipe.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
263,
264,
0
]
}
]
}
},
"pipeSketch": {
"type": "Sketch",
@ -634,8 +597,7 @@ description: Variables in memory after executing pipe.kcl
},
"units": {
"type": "Inches"
},
"__meta": []
}
},
"start": {
"from": [
@ -663,16 +625,7 @@ description: Variables in memory after executing pipe.kcl
"originalId": "[uuid]",
"units": {
"type": "Inches"
},
"__meta": [
{
"sourceRange": [
630,
685,
0
]
}
]
}
}
},
"pipeSmallDia": {
@ -686,16 +639,7 @@ description: Variables in memory after executing pipe.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
297,
300,
0
]
}
]
}
},
"pipeSmallDiaLength": {
"type": "Number",
@ -708,30 +652,7 @@ description: Variables in memory after executing pipe.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
239,
241,
0
]
},
{
"sourceRange": [
367,
370,
0
]
},
{
"sourceRange": [
263,
264,
0
]
}
]
}
},
"pipeTotalLength": {
"type": "Number",
@ -744,16 +665,7 @@ description: Variables in memory after executing pipe.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
239,
241,
0
]
}
]
}
},
"pipeTransitionAngle": {
"type": "Number",
@ -766,16 +678,7 @@ description: Variables in memory after executing pipe.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
341,
343,
0
]
}
]
}
},
"pipeTransitionLength": {
"type": "Number",
@ -788,16 +691,7 @@ description: Variables in memory after executing pipe.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
367,
370,
0
]
}
]
}
},
"thickness": {
"type": "Number",
@ -810,15 +704,6 @@ description: Variables in memory after executing pipe.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
313,
318,
0
]
}
]
}
}
}

File diff suppressed because it is too large Load Diff

View File

@ -1,5 +1,5 @@
---
source: kcl/src/simulation_tests.rs
source: kcl-lib/src/simulation_tests.rs
description: Variables in memory after executing sheet-metal-bracket.kcl
---
{
@ -571,8 +571,7 @@ description: Variables in memory after executing sheet-metal-bracket.kcl
},
"units": {
"type": "Inches"
},
"__meta": []
}
},
"start": {
"from": [
@ -648,16 +647,7 @@ description: Variables in memory after executing sheet-metal-bracket.kcl
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
794,
797,
0
]
}
]
}
},
"e10": {
"type": "TagIdentifier",
@ -710,16 +700,7 @@ description: Variables in memory after executing sheet-metal-bracket.kcl
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
1220,
1224,
0
]
}
]
}
},
"e11": {
"type": "TagIdentifier",
@ -772,16 +753,7 @@ description: Variables in memory after executing sheet-metal-bracket.kcl
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
1265,
1269,
0
]
}
]
}
},
"e12": {
"type": "TagIdentifier",
@ -834,16 +806,7 @@ description: Variables in memory after executing sheet-metal-bracket.kcl
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
1288,
1292,
0
]
}
]
}
},
"e2": {
"type": "TagIdentifier",
@ -896,16 +859,7 @@ description: Variables in memory after executing sheet-metal-bracket.kcl
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
840,
843,
0
]
}
]
}
},
"e3": {
"type": "TagIdentifier",
@ -958,16 +912,7 @@ description: Variables in memory after executing sheet-metal-bracket.kcl
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
883,
886,
0
]
}
]
}
},
"e4": {
"type": "TagIdentifier",
@ -1020,16 +965,7 @@ description: Variables in memory after executing sheet-metal-bracket.kcl
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
925,
928,
0
]
}
]
}
},
"e5": {
"type": "TagIdentifier",
@ -1082,16 +1018,7 @@ description: Variables in memory after executing sheet-metal-bracket.kcl
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
969,
972,
0
]
}
]
}
},
"e6": {
"type": "TagIdentifier",
@ -1144,16 +1071,7 @@ description: Variables in memory after executing sheet-metal-bracket.kcl
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
1015,
1018,
0
]
}
]
}
},
"e7": {
"type": "TagIdentifier",
@ -1206,16 +1124,7 @@ description: Variables in memory after executing sheet-metal-bracket.kcl
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
1059,
1062,
0
]
}
]
}
},
"e8": {
"type": "TagIdentifier",
@ -1268,16 +1177,7 @@ description: Variables in memory after executing sheet-metal-bracket.kcl
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
1118,
1121,
0
]
}
]
}
},
"e9": {
"type": "TagIdentifier",
@ -1330,32 +1230,14 @@ description: Variables in memory after executing sheet-metal-bracket.kcl
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
1161,
1164,
0
]
}
]
}
}
},
"artifactId": "[uuid]",
"originalId": "[uuid]",
"units": {
"type": "Inches"
},
"__meta": [
{
"sourceRange": [
730,
755,
0
]
}
]
}
},
"height": 5.0,
"startCapId": "[uuid]",
@ -1420,16 +1302,7 @@ description: Variables in memory after executing sheet-metal-bracket.kcl
],
"units": {
"type": "Inches"
},
"__meta": [
{
"sourceRange": [
730,
755,
0
]
}
]
}
}
},
"bendRad": {
@ -1443,16 +1316,7 @@ description: Variables in memory after executing sheet-metal-bracket.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
487,
491,
0
]
}
]
}
},
"boltSize": {
"type": "Number",
@ -1465,16 +1329,7 @@ description: Variables in memory after executing sheet-metal-bracket.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
586,
590,
0
]
}
]
}
},
"e1": {
"type": "TagIdentifier",
@ -1528,16 +1383,7 @@ description: Variables in memory after executing sheet-metal-bracket.kcl
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
794,
797,
0
]
}
]
}
},
"e10": {
"type": "TagIdentifier",
@ -1591,16 +1437,7 @@ description: Variables in memory after executing sheet-metal-bracket.kcl
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
1220,
1224,
0
]
}
]
}
},
"e11": {
"type": "TagIdentifier",
@ -1654,16 +1491,7 @@ description: Variables in memory after executing sheet-metal-bracket.kcl
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
1265,
1269,
0
]
}
]
}
},
"e12": {
"type": "TagIdentifier",
@ -1717,16 +1545,7 @@ description: Variables in memory after executing sheet-metal-bracket.kcl
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
1288,
1292,
0
]
}
]
}
},
"e13": {
"type": "TagIdentifier",
@ -1780,16 +1599,7 @@ description: Variables in memory after executing sheet-metal-bracket.kcl
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
2216,
2220,
0
]
}
]
}
},
"e14": {
"type": "TagIdentifier",
@ -1843,16 +1653,7 @@ description: Variables in memory after executing sheet-metal-bracket.kcl
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
2260,
2264,
0
]
}
]
}
},
"e15": {
"type": "TagIdentifier",
@ -1906,16 +1707,7 @@ description: Variables in memory after executing sheet-metal-bracket.kcl
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
2744,
2748,
0
]
}
]
}
},
"e16": {
"type": "TagIdentifier",
@ -1969,16 +1761,7 @@ description: Variables in memory after executing sheet-metal-bracket.kcl
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
2788,
2792,
0
]
}
]
}
},
"e2": {
"type": "TagIdentifier",
@ -2032,16 +1815,7 @@ description: Variables in memory after executing sheet-metal-bracket.kcl
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
840,
843,
0
]
}
]
}
},
"e3": {
"type": "TagIdentifier",
@ -2095,16 +1869,7 @@ description: Variables in memory after executing sheet-metal-bracket.kcl
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
883,
886,
0
]
}
]
}
},
"e4": {
"type": "TagIdentifier",
@ -2158,16 +1923,7 @@ description: Variables in memory after executing sheet-metal-bracket.kcl
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
925,
928,
0
]
}
]
}
},
"e5": {
"type": "TagIdentifier",
@ -2221,16 +1977,7 @@ description: Variables in memory after executing sheet-metal-bracket.kcl
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
969,
972,
0
]
}
]
}
},
"e6": {
"type": "TagIdentifier",
@ -2284,16 +2031,7 @@ description: Variables in memory after executing sheet-metal-bracket.kcl
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
1015,
1018,
0
]
}
]
}
},
"e7": {
"type": "TagIdentifier",
@ -2347,16 +2085,7 @@ description: Variables in memory after executing sheet-metal-bracket.kcl
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
1059,
1062,
0
]
}
]
}
},
"e8": {
"type": "TagIdentifier",
@ -2410,16 +2139,7 @@ description: Variables in memory after executing sheet-metal-bracket.kcl
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
1118,
1121,
0
]
}
]
}
},
"e9": {
"type": "TagIdentifier",
@ -2473,16 +2193,7 @@ description: Variables in memory after executing sheet-metal-bracket.kcl
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
1161,
1164,
0
]
}
]
}
},
"flange1": {
"type": "Solid",
@ -2680,8 +2391,7 @@ description: Variables in memory after executing sheet-metal-bracket.kcl
},
"units": {
"type": "Inches"
},
"__meta": []
}
},
"start": {
"from": [
@ -2757,16 +2467,7 @@ description: Variables in memory after executing sheet-metal-bracket.kcl
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
2216,
2220,
0
]
}
]
}
},
"e14": {
"type": "TagIdentifier",
@ -2819,32 +2520,14 @@ description: Variables in memory after executing sheet-metal-bracket.kcl
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
2260,
2264,
0
]
}
]
}
}
},
"artifactId": "[uuid]",
"originalId": "[uuid]",
"units": {
"type": "Inches"
},
"__meta": [
{
"sourceRange": [
2119,
2144,
0
]
}
]
}
},
"height": 0.09,
"startCapId": "[uuid]",
@ -2867,16 +2550,7 @@ description: Variables in memory after executing sheet-metal-bracket.kcl
],
"units": {
"type": "Inches"
},
"__meta": [
{
"sourceRange": [
2119,
2144,
0
]
}
]
}
}
},
"flange2": {
@ -3075,8 +2749,7 @@ description: Variables in memory after executing sheet-metal-bracket.kcl
},
"units": {
"type": "Inches"
},
"__meta": []
}
},
"start": {
"from": [
@ -3152,16 +2825,7 @@ description: Variables in memory after executing sheet-metal-bracket.kcl
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
2744,
2748,
0
]
}
]
}
},
"e16": {
"type": "TagIdentifier",
@ -3214,32 +2878,14 @@ description: Variables in memory after executing sheet-metal-bracket.kcl
},
"type": "extrudePlane"
}
},
"__meta": [
{
"sourceRange": [
2788,
2792,
0
]
}
]
}
}
},
"artifactId": "[uuid]",
"originalId": "[uuid]",
"units": {
"type": "Inches"
},
"__meta": [
{
"sourceRange": [
2645,
2671,
0
]
}
]
}
},
"height": 0.09,
"startCapId": "[uuid]",
@ -3262,16 +2908,7 @@ description: Variables in memory after executing sheet-metal-bracket.kcl
],
"units": {
"type": "Inches"
},
"__meta": [
{
"sourceRange": [
2645,
2671,
0
]
}
]
}
}
},
"flangeLength": {
@ -3285,16 +2922,7 @@ description: Variables in memory after executing sheet-metal-bracket.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
544,
547,
0
]
}
]
}
},
"flangeWidth": {
"type": "Number",
@ -3307,16 +2935,7 @@ description: Variables in memory after executing sheet-metal-bracket.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
605,
608,
0
]
}
]
}
},
"hatHeight": {
"type": "Number",
@ -3329,16 +2948,7 @@ description: Variables in memory after executing sheet-metal-bracket.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
560,
561,
0
]
}
]
}
},
"hatWidth": {
"type": "Number",
@ -3351,16 +2961,7 @@ description: Variables in memory after executing sheet-metal-bracket.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
573,
574,
0
]
}
]
}
},
"outsideBendRad": {
"type": "Number",
@ -3373,23 +2974,7 @@ description: Variables in memory after executing sheet-metal-bracket.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
487,
491,
0
]
},
{
"sourceRange": [
471,
476,
0
]
}
]
}
},
"thickness": {
"type": "Number",
@ -3402,15 +2987,6 @@ description: Variables in memory after executing sheet-metal-bracket.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
471,
476,
0
]
}
]
}
}
}

View File

@ -8,35 +8,10 @@ description: Variables in memory after executing socket-head-cap-screw.kcl
"value": 0.607,
"ty": {
"type": "Unknown"
},
"__meta": [
{
"sourceRange": [
460,
464,
0
]
},
{
"sourceRange": [
480,
484,
0
]
}
]
}
},
"capScrew": {
"type": "Function",
"__meta": [
{
"sourceRange": [
861,
2274,
0
]
}
]
"type": "Function"
},
"headDiameter": {
"type": "Number",
@ -49,16 +24,7 @@ description: Variables in memory after executing socket-head-cap-screw.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
480,
484,
0
]
}
]
}
},
"headLength": {
"type": "Number",
@ -71,16 +37,7 @@ description: Variables in memory after executing socket-head-cap-screw.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
460,
464,
0
]
}
]
}
},
"hexChangeAngle": {
"type": "Number",
@ -93,23 +50,7 @@ description: Variables in memory after executing socket-head-cap-screw.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
767,
770,
0
]
},
{
"sourceRange": [
746,
749,
0
]
}
]
}
},
"hexInteriorAngle": {
"type": "Number",
@ -122,46 +63,14 @@ description: Variables in memory after executing socket-head-cap-screw.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
746,
749,
0
]
}
]
}
},
"hexRatio": {
"type": "Number",
"value": 0.4992,
"ty": {
"type": "Unknown"
},
"__meta": [
{
"sourceRange": [
528,
529,
0
]
},
{
"sourceRange": [
532,
534,
0
]
},
{
"sourceRange": [
480,
484,
0
]
}
]
}
},
"hexStartingAngle": {
"type": "Number",
@ -174,83 +83,21 @@ description: Variables in memory after executing socket-head-cap-screw.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
693,
696,
0
]
}
]
}
},
"hexWallLength": {
"type": "Number",
"value": 0.0902,
"ty": {
"type": "Unknown"
},
"__meta": [
{
"sourceRange": [
528,
529,
0
]
},
{
"sourceRange": [
532,
534,
0
]
},
{
"sourceRange": [
647,
648,
0
]
},
{
"sourceRange": [
651,
652,
0
]
},
{
"sourceRange": [
655,
673,
0
]
}
]
}
},
"hexWallToWall": {
"type": "Number",
"value": 0.1563,
"ty": {
"type": "Unknown"
},
"__meta": [
{
"sourceRange": [
528,
529,
0
]
},
{
"sourceRange": [
532,
534,
0
]
}
]
}
},
"screwDiameter": {
"type": "Number",
@ -263,16 +110,7 @@ description: Variables in memory after executing socket-head-cap-screw.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
460,
464,
0
]
}
]
}
},
"screwLength": {
"type": "Number",
@ -285,15 +123,6 @@ description: Variables in memory after executing socket-head-cap-screw.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
440,
443,
0
]
}
]
}
}
}

View File

@ -1,58 +1,22 @@
---
source: kcl/src/simulation_tests.rs
source: kcl-lib/src/simulation_tests.rs
description: Variables in memory after executing walkie-talkie.kcl
---
{
"antenna": {
"type": "Module",
"value": 4,
"__meta": [
{
"sourceRange": [
433,
453,
0
]
}
]
"value": 4
},
"body": {
"type": "Module",
"value": 3,
"__meta": [
{
"sourceRange": [
415,
432,
0
]
}
]
"value": 3
},
"button": {
"type": "Function",
"__meta": [
{
"sourceRange": [
241,
954,
8
]
}
]
"type": "Function"
},
"case": {
"type": "Module",
"value": 5,
"__meta": [
{
"sourceRange": [
454,
471,
0
]
}
]
"value": 5
},
"height": {
"type": "Number",
@ -65,29 +29,11 @@ description: Variables in memory after executing walkie-talkie.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
115,
116,
9
]
}
]
}
},
"knob": {
"type": "Module",
"value": 7,
"__meta": [
{
"sourceRange": [
511,
528,
0
]
}
]
"value": 7
},
"screenHeight": {
"type": "Number",
@ -100,16 +46,7 @@ description: Variables in memory after executing walkie-talkie.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
254,
255,
9
]
}
]
}
},
"screenWidth": {
"type": "Number",
@ -122,59 +59,18 @@ description: Variables in memory after executing walkie-talkie.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
227,
231,
9
]
}
]
}
},
"screenYPosition": {
"type": "Number",
"value": 1.25,
"ty": {
"type": "Unknown"
},
"__meta": [
{
"sourceRange": [
115,
116,
9
]
},
{
"sourceRange": [
290,
291,
9
]
},
{
"sourceRange": [
294,
298,
9
]
}
]
}
},
"talkButton": {
"type": "Module",
"value": 6,
"__meta": [
{
"sourceRange": [
472,
510,
0
]
}
]
"value": 6
},
"thickness": {
"type": "Number",
@ -187,16 +83,7 @@ description: Variables in memory after executing walkie-talkie.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
155,
156,
9
]
}
]
}
},
"tolerance": {
"type": "Number",
@ -209,16 +96,7 @@ description: Variables in memory after executing walkie-talkie.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
574,
579,
9
]
}
]
}
},
"width": {
"type": "Number",
@ -231,15 +109,6 @@ description: Variables in memory after executing walkie-talkie.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
132,
135,
9
]
}
]
}
}
}

View File

@ -1,5 +1,5 @@
---
source: kcl/src/simulation_tests.rs
source: kcl-lib/src/simulation_tests.rs
description: Variables in memory after executing washer.kcl
---
{
@ -14,16 +14,7 @@ description: Variables in memory after executing washer.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
571,
576,
0
]
}
]
}
},
"outerDiameter": {
"type": "Number",
@ -36,16 +27,7 @@ description: Variables in memory after executing washer.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
593,
598,
0
]
}
]
}
},
"thicknessMax": {
"type": "Number",
@ -58,16 +40,7 @@ description: Variables in memory after executing washer.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
614,
619,
0
]
}
]
}
},
"thicknessMin": {
"type": "Number",
@ -80,27 +53,9 @@ description: Variables in memory after executing washer.kcl
"angle": {
"type": "Degrees"
}
},
"__meta": [
{
"sourceRange": [
635,
640,
0
]
}
]
}
},
"washer": {
"type": "Function",
"__meta": [
{
"sourceRange": [
711,
1057,
0
]
}
]
"type": "Function"
}
}

View File

@ -1,5 +1,5 @@
---
source: kcl/src/simulation_tests.rs
source: kcl-lib/src/simulation_tests.rs
description: Variables in memory after executing kittycad_svg.kcl
---
{
@ -9620,8 +9620,7 @@ description: Variables in memory after executing kittycad_svg.kcl
},
"units": {
"type": "Mm"
},
"__meta": []
}
},
"start": {
"from": [
@ -9649,32 +9648,14 @@ description: Variables in memory after executing kittycad_svg.kcl
"originalId": "[uuid]",
"units": {
"type": "Mm"
},
"__meta": [
{
"sourceRange": [
31,
56,
0
]
}
]
}
},
"height": 1.0,
"startCapId": "[uuid]",
"endCapId": "[uuid]",
"units": {
"type": "Mm"
},
"__meta": [
{
"sourceRange": [
31,
56,
0
]
}
]
}
}
}
}

Some files were not shown because too many files have changed in this diff Show More