auto format kcl samples (#6065)

* recast kcl samples;

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

* auto format the kcl-samples

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

---------

Signed-off-by: Jess Frazelle <github@jessfraz.com>
This commit is contained in:
Jess Frazelle
2025-03-30 10:06:36 -07:00
committed by GitHub
parent 017fac7041
commit 1956c14b8a
19 changed files with 2508 additions and 2528 deletions

View File

@ -1,6 +1,7 @@
// Dual-Basin Utility Sink
// A stainless steel sink unit with dual rectangular basins and six under-counter storage compartments.
// set units
@settings(defaultLengthUnit = mm)
// globals
@ -12,7 +13,7 @@ profileThickness = 13
metalThickness = 2
blockCount = 3
blockWidth = (tableWidth-profileThickness) / 3
blockWidth = (tableWidth - profileThickness) / 3
blockHeight = tableHeight - metalThickness - 0.5
blockDepth = tableDepth - profileThickness
@ -27,9 +28,9 @@ legHeight = blockHeight - profileThickness
legCount = blockCount + 1
legBody = startProfileAt([0, 0], floorPlane)
|> yLine(length=profileThickness)
|> xLine(length=profileThickness)
|> yLine(length=-profileThickness)
|> yLine(length = profileThickness)
|> xLine(length = profileThickness)
|> yLine(length = -profileThickness)
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|> close()
|> patternLinear2d(axis = [1, 0], instances = legCount, distance = blockWidth)
@ -42,9 +43,9 @@ lowerBeltLengthX = blockWidth - profileThickness
lowerBeltPlane = startSketchOn(offsetPlane(XY, offset = lowerBeltHeightAboveTheFloor))
lowerBeltBodyX = startProfileAt([profileThickness, 0], lowerBeltPlane)
|> yLine(length=profileThickness)
|> xLine(length=lowerBeltLengthX)
|> yLine(length=-profileThickness)
|> yLine(length = profileThickness)
|> xLine(length = lowerBeltLengthX)
|> yLine(length = -profileThickness)
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|> close()
|> patternLinear2d(axis = [1, 0], instances = blockCount, distance = blockWidth)
@ -53,12 +54,12 @@ lowerBeltBodyX = startProfileAt([profileThickness, 0], lowerBeltPlane)
lowerBeltLengthY = blockDepth - profileThickness
lowerBeltBodyY = startProfileAt([0, profileThickness], lowerBeltPlane)
|> yLine(length=lowerBeltLengthY)
|> xLine(length=profileThickness)
|> yLine(length=-lowerBeltLengthY)
|> yLine(length = lowerBeltLengthY)
|> xLine(length = profileThickness)
|> yLine(length = -lowerBeltLengthY)
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|> close()
|> patternLinear2d(axis = [1, 0], instances = 2, distance = tableWidth-profileThickness)
|> patternLinear2d(axis = [1, 0], instances = 2, distance = tableWidth - profileThickness)
|> extrude(length = profileThickness)
// pillars
@ -67,9 +68,9 @@ pillarPlane = startSketchOn(offsetPlane(XY, offset = pillarHeightAboveTheFloor))
pillarTotalHeight = blockHeight - profileThickness - pillarHeightAboveTheFloor
pillarBody = startProfileAt([blockSubdivisionWidth, 0], pillarPlane)
|> yLine(length=profileThickness)
|> xLine(length=profileThickness)
|> yLine(length=-profileThickness)
|> yLine(length = profileThickness)
|> xLine(length = profileThickness)
|> yLine(length = -profileThickness)
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|> close()
|> patternLinear2d(axis = [1, 0], instances = blockCount, distance = blockWidth)
@ -80,9 +81,9 @@ pillarBody = startProfileAt([blockSubdivisionWidth, 0], pillarPlane)
upperBeltPlane = startSketchOn(offsetPlane(XY, offset = blockHeight))
upperBeltBodyX = startProfileAt([0, 0], upperBeltPlane)
|> yLine(length=profileThickness)
|> xLine(length=tableWidth)
|> yLine(length=-profileThickness)
|> yLine(length = profileThickness)
|> xLine(length = tableWidth)
|> yLine(length = -profileThickness)
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|> close()
|> patternLinear2d(axis = [0, 1], instances = 2, distance = blockDepth)
@ -90,20 +91,20 @@ upperBeltBodyX = startProfileAt([0, 0], upperBeltPlane)
upperBeltLengthY = blockDepth - profileThickness
upperBeltBodyY = startProfileAt([0, profileThickness], upperBeltPlane)
|> yLine(length=upperBeltLengthY)
|> xLine(length=profileThickness)
|> yLine(length=-upperBeltLengthY)
|> yLine(length = upperBeltLengthY)
|> xLine(length = profileThickness)
|> yLine(length = -upperBeltLengthY)
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|> close()
|> patternLinear2d(axis = [1, 0], instances = 2, distance = tableWidth-profileThickness)
|> patternLinear2d(axis = [1, 0], instances = 2, distance = tableWidth - profileThickness)
|> extrude(length = -profileThickness)
// sink
tableTopPlane = startSketchOn(offsetPlane(XY, offset = tableHeight))
tableTopBody = startProfileAt([0, 0], tableTopPlane)
|> yLine(length=tableDepth)
|> xLine(length=tableWidth)
|> yLine(length=-tableDepth)
|> yLine(length = tableDepth)
|> xLine(length = tableWidth)
|> yLine(length = -tableDepth)
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|> close()
|> extrude(length = -metalThickness)
@ -114,23 +115,26 @@ sinkLength = 250
sinkDepth = 200
sinkOffsetFront = 40
sinkOffsetLeft = 350
sinkSpacing = tableWidth - sinkWidth - sinkOffsetLeft*2
sinkSpacing = tableWidth - sinkWidth - (sinkOffsetLeft * 2)
sinkPlaneOutside = startSketchOn(tableTopBody, 'START')
sinkBodyOutside = startProfileAt([-sinkOffsetLeft, sinkOffsetFront], sinkPlaneOutside)
|> yLine(length=sinkLength)
|> xLine(length=-sinkWidth)
|> yLine(length=-sinkLength)
|> yLine(length = sinkLength)
|> xLine(length = -sinkWidth)
|> yLine(length = -sinkLength)
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|> close()
|> patternLinear2d(axis = [-1, 0], instances = sinkCount, distance = sinkSpacing)
|> extrude(length = sinkDepth)
sinkPlaneInside = startSketchOn(tableTopBody, 'END')
sinkBodyInside = startProfileAt([sinkOffsetLeft+metalThickness, sinkOffsetFront+metalThickness], sinkPlaneInside)
|> yLine(length=sinkLength-metalThickness*2)
|> xLine(length=sinkWidth-metalThickness*2)
|> yLine(length=-sinkLength+metalThickness*2)
sinkBodyInside = startProfileAt([
sinkOffsetLeft + metalThickness,
sinkOffsetFront + metalThickness
], sinkPlaneInside)
|> yLine(length = sinkLength - (metalThickness * 2))
|> xLine(length = sinkWidth - (metalThickness * 2))
|> yLine(length = -sinkLength + metalThickness * 2)
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|> close()
|> patternLinear2d(axis = [1, 0], instances = sinkCount, distance = sinkSpacing)
@ -138,30 +142,30 @@ sinkBodyInside = startProfileAt([sinkOffsetLeft+metalThickness, sinkOffsetFront+
// door panels
doorGap = 2
doorWidth = blockSubdivisionWidth - profileThickness - doorGap*2
doorStart = profileThickness+doorGap
doorWidth = blockSubdivisionWidth - profileThickness - (doorGap * 2)
doorStart = profileThickness + doorGap
doorHeightAboveTheFloor = pillarHeightAboveTheFloor + doorGap
doorHeight = blockHeight - doorHeightAboveTheFloor - profileThickness - doorGap
doorCount = blockCount * blockSubdivisionCount
doorPlane = startSketchOn(offsetPlane(XY, offset = doorHeightAboveTheFloor))
doorBody = startProfileAt([doorStart, 0], doorPlane)
|> yLine(length=profileThickness)
|> xLine(length=doorWidth)
|> yLine(length=-profileThickness)
|> yLine(length = profileThickness)
|> xLine(length = doorWidth)
|> yLine(length = -profileThickness)
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|> close()
|> patternLinear2d(axis = [1, 0], instances = doorCount, distance = blockSubdivisionWidth)
|> extrude(length = doorHeight)
// side panels
panelWidth = blockDepth - profileThickness - doorGap*2
panelWidth = blockDepth - profileThickness - (doorGap * 2)
panelCount = doorCount + 1
panelSpacing = tableWidth - profileThickness
panelBody = startProfileAt([0, doorStart], doorPlane)
|> yLine(length=panelWidth)
|> xLine(length=profileThickness)
|> yLine(length=-panelWidth)
|> yLine(length = panelWidth)
|> xLine(length = profileThickness)
|> yLine(length = -panelWidth)
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|> close()
|> patternLinear2d(axis = [1, 0], instances = 2, distance = panelSpacing)
@ -179,22 +183,25 @@ handleLengthSegmentB = handleWidth - (handleFillet * 2)
handlePlane = startSketchOn(offsetPlane(XY, offset = handleHeightAboveTheFloor))
handleProfilePath = startProfileAt([0 + handleOffset, 0], handlePlane)
|> yLine(length=-handleLengthSegmentA)
|> yLine(length = -handleLengthSegmentA)
|> tangentialArcTo([
handleFillet + handleOffset,
-handleDepth
], %)
|> xLine(length=handleLengthSegmentB)
|> xLine(length = handleLengthSegmentB)
|> tangentialArcTo([
handleOffset + handleWidth,
-handleLengthSegmentA
], %)
|> yLine(length=handleLengthSegmentA)
|> yLine(length = handleLengthSegmentA)
handleSectionPlane = startSketchOn(XZ)
handleProfileSection = circle(
handleSectionPlane,
center = [handleOffset, handleHeightAboveTheFloor],
radius = 2)
center = [
handleOffset,
handleHeightAboveTheFloor
],
radius = 2,
)
handleBody = sweep(handleProfileSection, path = handleProfilePath)
|> patternLinear3d(axis = [1, 0, 0], instances = doorCount, distance = blockSubdivisionWidth)

View File

@ -5,7 +5,7 @@
@settings(defaultLengthUnit = in)
// Define Beam Dimensions
beamLength = 6*ft()
beamLength = 6 * ft()
beamHeight = 4
flangeWidth = 2.663
flangeThickness = 0.293

View File

@ -52,19 +52,22 @@ armPartB = armFn(XZ, armLength, hingeHeight * 2.5 + hingeGap * 2)
// mirror
fn mirrorFn(plane, offsetX, offsetY, altitude, radius, tiefe, gestellR, gestellD) {
armPlane = startSketchOn(offsetPlane(plane, offset = offsetY - (tiefe / 2)))
armPlane = startSketchOn( offsetPlane(plane, offset = offsetY - (tiefe / 2)))
armBody = circle(armPlane, center = [offsetX, altitude], radius = radius)
|> extrude(length = tiefe)
archBody = startProfileAt([offsetX-gestellR, altitude], armPlane)
archBody = startProfileAt([offsetX - gestellR, altitude], armPlane)
|> xLine(length = gestellD)
|> arcTo({
interior = [offsetX, altitude-gestellR],
end = [offsetX+gestellR, altitude]
interior = [offsetX, altitude - gestellR],
end = [offsetX + gestellR, altitude]
}, %)
|> xLine(length = gestellD)
|> arcTo({
interior = [offsetX, altitude-gestellR-gestellD],
interior = [
offsetX,
altitude - gestellR - gestellD
],
end = [profileStartX(%), profileStartY(%)]
}, %)
|> close()
@ -72,4 +75,4 @@ fn mirrorFn(plane, offsetX, offsetY, altitude, radius, tiefe, gestellR, gestellD
return armBody
}
mirror = mirrorFn(XZ, armLength, armLength, hingeHeight * 4 + hingeGap * 3 + mirrorRadius+archToMirrorGap+archThickness, mirrorRadius, mirrorThickness, archRadius, archThickness)
mirror = mirrorFn(XZ, armLength, armLength, hingeHeight * 4 + hingeGap * 3 + mirrorRadius + archToMirrorGap + archThickness, mirrorRadius, mirrorThickness, archRadius, archThickness)

View File

@ -4,7 +4,6 @@
// set units
@settings(defaultLengthUnit = in)
// import constants
import boltDiameter, boltLength, boltHeadLength, boltHeadDiameter, boltHexDrive, boltHexFlatLength, boltThreadLength from "globals.kcl"

View File

@ -19,27 +19,15 @@ import pipe from "1120t74-pipe.kcl"
flange()
flange()
|> rotate(axis = [0, 1, 0], angle = 180)
|> translate(
x = 0,
y = 0,
z = flangeBackHeight * 2 + gasketThickness,
)
|> translate(x = 0, y = 0, z = flangeBackHeight * 2 + gasketThickness)
// place gasket between the flanges
gasket()
|> translate(
x = 0,
y = 0,
z = -flangeBackHeight - gasketThickness
)
|> translate(x = 0, y = 0, z = -flangeBackHeight - gasketThickness)
// place eight washers (four front, four back)
washer()
|> translate(
x = mountingHolePlacementDiameter / 2,
y = 0,
z = flangeBaseThickness
)
|> translate(x = mountingHolePlacementDiameter / 2, y = 0, z = flangeBaseThickness)
|> patternCircular3d(
%,
instances = 4,
@ -57,11 +45,7 @@ washer()
// place four bolts
bolt()
|> translate(
x = mountingHolePlacementDiameter / 2,
y = 0,
z = flangeBaseThickness + washerThickness,
)
|> translate(x = mountingHolePlacementDiameter / 2, y = 0, z = flangeBaseThickness + washerThickness)
|> rotate(roll = 90, pitch = 0, yaw = 0)
|> patternCircular3d(
%,
@ -74,11 +58,7 @@ bolt()
// place four hex nuts
hexNut()
|> translate(
x = mountingHolePlacementDiameter / 2,
y = 0,
z = -(flangeBackHeight * 2 + gasketThickness + flangeBaseThickness + washerThickness + hexNutThickness),
)
|> translate(x = mountingHolePlacementDiameter / 2, y = 0, z = -(flangeBackHeight * 2 + gasketThickness + flangeBaseThickness + washerThickness + hexNutThickness))
|> patternCircular3d(
%,
instances = 4,

View File

@ -32,25 +32,13 @@ talkButton()
// import the frequency knob
knob()
|> translate(
x = width / 2 - 0.70,
y = -thickness / 2,
z = height / 2
)
|> translate(x = width / 2 - 0.70, y = -thickness / 2, z = height / 2)
// import the buttons
button()
|> translate(
x = -(screenWidth / 2 + tolerance),
y = -1,
z = screenYPosition
)
|> translate(x = -(screenWidth / 2 + tolerance), y = -1, z = screenYPosition)
button()
|> translate(
x = -(screenWidth / 2 + tolerance),
y = -1,
z = screenYPosition - buttonHeight - (tolerance * 2)
)
|> translate(x = -(screenWidth / 2 + tolerance), y = -1, z = screenYPosition - buttonHeight - (tolerance * 2))
button()
|> rotate(
%,

View File

@ -1,4 +1,5 @@
//! Run all the KCL samples in the `kcl_samples` directory.
use std::panic::{catch_unwind, AssertUnwindSafe};
use std::{
fs,
path::{Path, PathBuf},
@ -35,9 +36,35 @@ fn parse(dir_name: &str, dir_path: &Path) {
#[kcl_directory_test_macro::test_all_dirs("../public/kcl-samples")]
async fn unparse(dir_name: &str, dir_path: &Path) {
// TODO: turn this on when we fix the comments recasting.
// let t = test(dir_name, dir_path.join("main.kcl").to_str().unwrap().to_owned());
// super::unparse_test(&t).await;
let t = test(dir_name, dir_path.join("main.kcl").to_str().unwrap().to_owned());
unparse_test(&t).await;
}
/// This is different from the rest of the simulation tests because we want to write
/// back out to the original file.
async fn unparse_test(test: &Test) {
let kcl_files = crate::unparser::walk_dir(&test.input_dir).await.unwrap();
let futures = kcl_files
.into_iter()
.filter(|file| file.extension().is_some_and(|ext| ext == "kcl")) // We only care about kcl
// files here.
.map(|file| {
tokio::spawn(async move {
let contents = tokio::fs::read_to_string(&file).await.unwrap();
let program = crate::Program::parse_no_errs(&contents).unwrap();
let recast = program.recast_with_options(&Default::default());
catch_unwind(AssertUnwindSafe(|| {
expectorate::assert_contents(&file, &recast.to_string());
}))
})
})
.collect::<Vec<_>>();
// Join all futures and await their completion.
for future in futures {
future.await.unwrap().unwrap();
}
}
#[kcl_directory_test_macro::test_all_dirs("../public/kcl-samples")]

View File

@ -1,119 +1,119 @@
```mermaid
flowchart LR
subgraph path2 [Path]
2["Path<br>[647, 681, 0]"]
3["Segment<br>[687, 717, 0]"]
4["Segment<br>[723, 753, 0]"]
5["Segment<br>[759, 790, 0]"]
6["Segment<br>[796, 852, 0]"]
7["Segment<br>[858, 865, 0]"]
2["Path<br>[662, 696, 0]"]
3["Segment<br>[702, 734, 0]"]
4["Segment<br>[740, 772, 0]"]
5["Segment<br>[778, 811, 0]"]
6["Segment<br>[817, 873, 0]"]
7["Segment<br>[879, 886, 0]"]
8[Solid2d]
end
subgraph path32 [Path]
32["Path<br>[1258, 1311, 0]"]
33["Segment<br>[1317, 1347, 0]"]
34["Segment<br>[1353, 1383, 0]"]
35["Segment<br>[1389, 1420, 0]"]
36["Segment<br>[1426, 1482, 0]"]
37["Segment<br>[1488, 1495, 0]"]
32["Path<br>[1279, 1332, 0]"]
33["Segment<br>[1338, 1370, 0]"]
34["Segment<br>[1376, 1408, 0]"]
35["Segment<br>[1414, 1447, 0]"]
36["Segment<br>[1453, 1509, 0]"]
37["Segment<br>[1515, 1522, 0]"]
38[Solid2d]
end
subgraph path59 [Path]
59["Path<br>[1760, 1813, 0]"]
60["Segment<br>[1819, 1849, 0]"]
61["Segment<br>[1855, 1885, 0]"]
62["Segment<br>[1891, 1922, 0]"]
63["Segment<br>[1928, 1984, 0]"]
64["Segment<br>[1990, 1997, 0]"]
59["Path<br>[1787, 1840, 0]"]
60["Segment<br>[1846, 1878, 0]"]
61["Segment<br>[1884, 1916, 0]"]
62["Segment<br>[1922, 1955, 0]"]
63["Segment<br>[1961, 2017, 0]"]
64["Segment<br>[2023, 2030, 0]"]
65[Solid2d]
end
subgraph path83 [Path]
83["Path<br>[2391, 2446, 0]"]
84["Segment<br>[2452, 2482, 0]"]
85["Segment<br>[2488, 2518, 0]"]
86["Segment<br>[2524, 2555, 0]"]
87["Segment<br>[2561, 2617, 0]"]
88["Segment<br>[2623, 2630, 0]"]
83["Path<br>[2426, 2481, 0]"]
84["Segment<br>[2487, 2519, 0]"]
85["Segment<br>[2525, 2557, 0]"]
86["Segment<br>[2563, 2596, 0]"]
87["Segment<br>[2602, 2658, 0]"]
88["Segment<br>[2664, 2671, 0]"]
89[Solid2d]
end
subgraph path111 [Path]
111["Path<br>[2932, 2970, 0]"]
112["Segment<br>[2976, 3006, 0]"]
113["Segment<br>[3012, 3036, 0]"]
114["Segment<br>[3042, 3073, 0]"]
115["Segment<br>[3079, 3135, 0]"]
116["Segment<br>[3141, 3148, 0]"]
111["Path<br>[2973, 3011, 0]"]
112["Segment<br>[3017, 3049, 0]"]
113["Segment<br>[3055, 3081, 0]"]
114["Segment<br>[3087, 3120, 0]"]
115["Segment<br>[3126, 3182, 0]"]
116["Segment<br>[3188, 3195, 0]"]
117[Solid2d]
end
subgraph path134 [Path]
134["Path<br>[3331, 3384, 0]"]
135["Segment<br>[3390, 3420, 0]"]
136["Segment<br>[3426, 3456, 0]"]
137["Segment<br>[3462, 3493, 0]"]
138["Segment<br>[3499, 3555, 0]"]
139["Segment<br>[3561, 3568, 0]"]
134["Path<br>[3378, 3431, 0]"]
135["Segment<br>[3437, 3469, 0]"]
136["Segment<br>[3475, 3507, 0]"]
137["Segment<br>[3513, 3546, 0]"]
138["Segment<br>[3552, 3608, 0]"]
139["Segment<br>[3614, 3621, 0]"]
140[Solid2d]
end
subgraph path158 [Path]
158["Path<br>[3794, 3831, 0]"]
159["Segment<br>[3837, 3861, 0]"]
160["Segment<br>[3867, 3891, 0]"]
161["Segment<br>[3897, 3922, 0]"]
162["Segment<br>[3928, 3984, 0]"]
163["Segment<br>[3990, 3997, 0]"]
158["Path<br>[3849, 3886, 0]"]
159["Segment<br>[3892, 3918, 0]"]
160["Segment<br>[3924, 3950, 0]"]
161["Segment<br>[3956, 3983, 0]"]
162["Segment<br>[3989, 4045, 0]"]
163["Segment<br>[4051, 4058, 0]"]
164[Solid2d]
end
subgraph path180 [Path]
180["Path<br>[4275, 4343, 0]"]
181["Segment<br>[4349, 4373, 0]"]
182["Segment<br>[4379, 4403, 0]"]
183["Segment<br>[4409, 4434, 0]"]
184["Segment<br>[4440, 4496, 0]"]
185["Segment<br>[4502, 4509, 0]"]
180["Path<br>[4340, 4408, 0]"]
181["Segment<br>[4414, 4440, 0]"]
182["Segment<br>[4446, 4472, 0]"]
183["Segment<br>[4478, 4505, 0]"]
184["Segment<br>[4511, 4567, 0]"]
185["Segment<br>[4573, 4580, 0]"]
186[Solid2d]
end
subgraph path202 [Path]
202["Path<br>[4698, 4794, 0]"]
203["Segment<br>[4800, 4841, 0]"]
204["Segment<br>[4847, 4887, 0]"]
205["Segment<br>[4893, 4935, 0]"]
206["Segment<br>[4941, 4997, 0]"]
207["Segment<br>[5003, 5010, 0]"]
202["Path<br>[4769, 4890, 0]"]
203["Segment<br>[4896, 4945, 0]"]
204["Segment<br>[4951, 4999, 0]"]
205["Segment<br>[5005, 5053, 0]"]
206["Segment<br>[5059, 5115, 0]"]
207["Segment<br>[5121, 5128, 0]"]
208[Solid2d]
end
subgraph path225 [Path]
225["Path<br>[5538, 5579, 0]"]
226["Segment<br>[5585, 5615, 0]"]
227["Segment<br>[5621, 5644, 0]"]
228["Segment<br>[5650, 5681, 0]"]
229["Segment<br>[5687, 5743, 0]"]
230["Segment<br>[5749, 5756, 0]"]
225["Path<br>[5660, 5701, 0]"]
226["Segment<br>[5707, 5739, 0]"]
227["Segment<br>[5745, 5770, 0]"]
228["Segment<br>[5776, 5809, 0]"]
229["Segment<br>[5815, 5871, 0]"]
230["Segment<br>[5877, 5884, 0]"]
231[Solid2d]
end
subgraph path252 [Path]
252["Path<br>[6039, 6080, 0]"]
253["Segment<br>[6086, 6110, 0]"]
254["Segment<br>[6116, 6146, 0]"]
255["Segment<br>[6152, 6177, 0]"]
256["Segment<br>[6183, 6239, 0]"]
257["Segment<br>[6245, 6252, 0]"]
252["Path<br>[6171, 6212, 0]"]
253["Segment<br>[6218, 6244, 0]"]
254["Segment<br>[6250, 6282, 0]"]
255["Segment<br>[6288, 6315, 0]"]
256["Segment<br>[6321, 6377, 0]"]
257["Segment<br>[6383, 6390, 0]"]
258[Solid2d]
end
subgraph path276 [Path]
276["Path<br>[6731, 6781, 0]"]
277["Segment<br>[6787, 6822, 0]"]
278["Segment<br>[6828, 6912, 0]"]
279["Segment<br>[6918, 6952, 0]"]
280["Segment<br>[6958, 7050, 0]"]
281["Segment<br>[7056, 7090, 0]"]
276["Path<br>[6867, 6917, 0]"]
277["Segment<br>[6923, 6960, 0]"]
278["Segment<br>[6966, 7050, 0]"]
279["Segment<br>[7056, 7092, 0]"]
280["Segment<br>[7098, 7190, 0]"]
281["Segment<br>[7196, 7232, 0]"]
end
subgraph path283 [Path]
283["Path<br>[7153, 7250, 0]"]
284["Segment<br>[7153, 7250, 0]"]
283["Path<br>[7295, 7406, 0]"]
284["Segment<br>[7295, 7406, 0]"]
285[Solid2d]
end
1["Plane<br>[540, 557, 0]"]
9["Sweep Extrusion<br>[1026, 1053, 0]"]
1["Plane<br>[555, 572, 0]"]
9["Sweep Extrusion<br>[1047, 1074, 0]"]
10[Wall]
11[Wall]
12[Wall]
@ -128,15 +128,15 @@ flowchart LR
21["SweepEdge Adjacent"]
22["SweepEdge Opposite"]
23["SweepEdge Adjacent"]
24["Sweep Extrusion<br>[1026, 1053, 0]"]
25["Sweep Extrusion<br>[1026, 1053, 0]"]
26["Sweep Extrusion<br>[1026, 1053, 0]"]
27["Sweep Extrusion<br>[1026, 1053, 0]"]
28["Sweep Extrusion<br>[1026, 1053, 0]"]
29["Sweep Extrusion<br>[1026, 1053, 0]"]
30["Sweep Extrusion<br>[1026, 1053, 0]"]
31["Plane<br>[1185, 1239, 0]"]
39["Sweep Extrusion<br>[1658, 1692, 0]"]
24["Sweep Extrusion<br>[1047, 1074, 0]"]
25["Sweep Extrusion<br>[1047, 1074, 0]"]
26["Sweep Extrusion<br>[1047, 1074, 0]"]
27["Sweep Extrusion<br>[1047, 1074, 0]"]
28["Sweep Extrusion<br>[1047, 1074, 0]"]
29["Sweep Extrusion<br>[1047, 1074, 0]"]
30["Sweep Extrusion<br>[1047, 1074, 0]"]
31["Plane<br>[1206, 1260, 0]"]
39["Sweep Extrusion<br>[1685, 1719, 0]"]
40[Wall]
41[Wall]
42[Wall]
@ -151,12 +151,12 @@ flowchart LR
51["SweepEdge Adjacent"]
52["SweepEdge Opposite"]
53["SweepEdge Adjacent"]
54["Sweep Extrusion<br>[1658, 1692, 0]"]
55["Sweep Extrusion<br>[1658, 1692, 0]"]
56["Sweep Extrusion<br>[1658, 1692, 0]"]
57["Sweep Extrusion<br>[1658, 1692, 0]"]
58["Sweep Extrusion<br>[1658, 1692, 0]"]
66["Sweep Extrusion<br>[2094, 2128, 0]"]
54["Sweep Extrusion<br>[1685, 1719, 0]"]
55["Sweep Extrusion<br>[1685, 1719, 0]"]
56["Sweep Extrusion<br>[1685, 1719, 0]"]
57["Sweep Extrusion<br>[1685, 1719, 0]"]
58["Sweep Extrusion<br>[1685, 1719, 0]"]
66["Sweep Extrusion<br>[2129, 2163, 0]"]
67[Wall]
68[Wall]
69[Wall]
@ -171,9 +171,9 @@ flowchart LR
78["SweepEdge Adjacent"]
79["SweepEdge Opposite"]
80["SweepEdge Adjacent"]
81["Sweep Extrusion<br>[2094, 2128, 0]"]
82["Plane<br>[2245, 2296, 0]"]
90["Sweep Extrusion<br>[2793, 2828, 0]"]
81["Sweep Extrusion<br>[2129, 2163, 0]"]
82["Plane<br>[2280, 2331, 0]"]
90["Sweep Extrusion<br>[2834, 2869, 0]"]
91[Wall]
92[Wall]
93[Wall]
@ -188,13 +188,13 @@ flowchart LR
102["SweepEdge Adjacent"]
103["SweepEdge Opposite"]
104["SweepEdge Adjacent"]
105["Sweep Extrusion<br>[2793, 2828, 0]"]
106["Sweep Extrusion<br>[2793, 2828, 0]"]
107["Sweep Extrusion<br>[2793, 2828, 0]"]
108["Sweep Extrusion<br>[2793, 2828, 0]"]
109["Sweep Extrusion<br>[2793, 2828, 0]"]
110["Plane<br>[2875, 2912, 0]"]
118["Sweep Extrusion<br>[3228, 3263, 0]"]
105["Sweep Extrusion<br>[2834, 2869, 0]"]
106["Sweep Extrusion<br>[2834, 2869, 0]"]
107["Sweep Extrusion<br>[2834, 2869, 0]"]
108["Sweep Extrusion<br>[2834, 2869, 0]"]
109["Sweep Extrusion<br>[2834, 2869, 0]"]
110["Plane<br>[2916, 2953, 0]"]
118["Sweep Extrusion<br>[3275, 3310, 0]"]
119[Wall]
120[Wall]
121[Wall]
@ -209,8 +209,8 @@ flowchart LR
130["SweepEdge Adjacent"]
131["SweepEdge Opposite"]
132["SweepEdge Adjacent"]
133["Sweep Extrusion<br>[3228, 3263, 0]"]
141["Sweep Extrusion<br>[3665, 3700, 0]"]
133["Sweep Extrusion<br>[3275, 3310, 0]"]
141["Sweep Extrusion<br>[3720, 3755, 0]"]
142[Wall]
143[Wall]
144[Wall]
@ -225,9 +225,9 @@ flowchart LR
153["SweepEdge Adjacent"]
154["SweepEdge Opposite"]
155["SweepEdge Adjacent"]
156["Sweep Extrusion<br>[3665, 3700, 0]"]
157["Plane<br>[3740, 3777, 0]"]
165["Sweep Extrusion<br>[4003, 4036, 0]"]
156["Sweep Extrusion<br>[3720, 3755, 0]"]
157["Plane<br>[3795, 3832, 0]"]
165["Sweep Extrusion<br>[4064, 4097, 0]"]
166[Wall]
167[Wall]
168[Wall]
@ -242,7 +242,7 @@ flowchart LR
177["SweepEdge Adjacent"]
178["SweepEdge Opposite"]
179["SweepEdge Adjacent"]
187["Sweep Extrusion<br>[4599, 4626, 0]"]
187["Sweep Extrusion<br>[4670, 4697, 0]"]
188[Wall]
189[Wall]
190[Wall]
@ -256,8 +256,8 @@ flowchart LR
198["SweepEdge Adjacent"]
199["SweepEdge Opposite"]
200["SweepEdge Adjacent"]
201["Sweep Extrusion<br>[4599, 4626, 0]"]
209["Sweep Extrusion<br>[5099, 5127, 0]"]
201["Sweep Extrusion<br>[4670, 4697, 0]"]
209["Sweep Extrusion<br>[5217, 5245, 0]"]
210[Wall]
211[Wall]
212[Wall]
@ -271,9 +271,9 @@ flowchart LR
220["SweepEdge Adjacent"]
221["SweepEdge Opposite"]
222["SweepEdge Adjacent"]
223["Sweep Extrusion<br>[5099, 5127, 0]"]
224["Plane<br>[5476, 5525, 0]"]
232["Sweep Extrusion<br>[5855, 5883, 0]"]
223["Sweep Extrusion<br>[5217, 5245, 0]"]
224["Plane<br>[5598, 5647, 0]"]
232["Sweep Extrusion<br>[5983, 6011, 0]"]
233[Wall]
234[Wall]
235[Wall]
@ -288,12 +288,12 @@ flowchart LR
244["SweepEdge Adjacent"]
245["SweepEdge Opposite"]
246["SweepEdge Adjacent"]
247["Sweep Extrusion<br>[5855, 5883, 0]"]
248["Sweep Extrusion<br>[5855, 5883, 0]"]
249["Sweep Extrusion<br>[5855, 5883, 0]"]
250["Sweep Extrusion<br>[5855, 5883, 0]"]
251["Sweep Extrusion<br>[5855, 5883, 0]"]
259["Sweep Extrusion<br>[6334, 6362, 0]"]
247["Sweep Extrusion<br>[5983, 6011, 0]"]
248["Sweep Extrusion<br>[5983, 6011, 0]"]
249["Sweep Extrusion<br>[5983, 6011, 0]"]
250["Sweep Extrusion<br>[5983, 6011, 0]"]
251["Sweep Extrusion<br>[5983, 6011, 0]"]
259["Sweep Extrusion<br>[6472, 6500, 0]"]
260[Wall]
261[Wall]
262[Wall]
@ -308,23 +308,23 @@ flowchart LR
271["SweepEdge Adjacent"]
272["SweepEdge Opposite"]
273["SweepEdge Adjacent"]
274["Sweep Extrusion<br>[6334, 6362, 0]"]
275["Plane<br>[6657, 6708, 0]"]
282["Plane<br>[7112, 7129, 0]"]
286["Sweep Sweep<br>[7267, 7320, 0]"]
274["Sweep Extrusion<br>[6472, 6500, 0]"]
275["Plane<br>[6793, 6844, 0]"]
282["Plane<br>[7254, 7271, 0]"]
286["Sweep Sweep<br>[7420, 7473, 0]"]
287[Wall]
288["Cap Start"]
289["Cap Start"]
290["SweepEdge Opposite"]
291["SweepEdge Adjacent"]
292["StartSketchOnPlane<br>[1171, 1240, 0]"]
293["StartSketchOnPlane<br>[2231, 2297, 0]"]
294["StartSketchOnPlane<br>[2861, 2913, 0]"]
295["StartSketchOnPlane<br>[3726, 3778, 0]"]
296["StartSketchOnFace<br>[4220, 4256, 0]"]
297["StartSketchOnFace<br>[4646, 4680, 0]"]
298["StartSketchOnPlane<br>[5462, 5526, 0]"]
299["StartSketchOnPlane<br>[6643, 6709, 0]"]
292["StartSketchOnPlane<br>[1192, 1261, 0]"]
293["StartSketchOnPlane<br>[2266, 2332, 0]"]
294["StartSketchOnPlane<br>[2902, 2954, 0]"]
295["StartSketchOnPlane<br>[3781, 3833, 0]"]
296["StartSketchOnFace<br>[4285, 4321, 0]"]
297["StartSketchOnFace<br>[4717, 4751, 0]"]
298["StartSketchOnPlane<br>[5584, 5648, 0]"]
299["StartSketchOnPlane<br>[6779, 6845, 0]"]
1 --- 2
2 --- 3
2 --- 4

File diff suppressed because it is too large Load Diff

View File

@ -1,15 +1,15 @@
```mermaid
flowchart LR
subgraph path2 [Path]
2["Path<br>[469, 507, 0]"]
3["Segment<br>[513, 544, 0]"]
4["Segment<br>[550, 582, 0]"]
5["Segment<br>[588, 638, 0]"]
6["Segment<br>[644, 698, 0]"]
7["Segment<br>[704, 726, 0]"]
2["Path<br>[471, 509, 0]"]
3["Segment<br>[515, 546, 0]"]
4["Segment<br>[552, 584, 0]"]
5["Segment<br>[590, 640, 0]"]
6["Segment<br>[646, 700, 0]"]
7["Segment<br>[706, 728, 0]"]
end
1["Plane<br>[445, 463, 0]"]
8["Sweep Extrusion<br>[798, 826, 0]"]
1["Plane<br>[447, 465, 0]"]
8["Sweep Extrusion<br>[800, 828, 0]"]
1 --- 2
2 --- 3
2 --- 4

View File

@ -37,10 +37,10 @@ description: Result of parsing i-beam.kcl
"arguments": [],
"callee": {
"abs_path": false,
"commentStart": 203,
"commentStart": 205,
"end": 0,
"name": {
"commentStart": 203,
"commentStart": 205,
"end": 0,
"name": "ft",
"start": 0,
@ -50,7 +50,7 @@ description: Result of parsing i-beam.kcl
"start": 0,
"type": "Name"
},
"commentStart": 203,
"commentStart": 205,
"end": 0,
"start": 0,
"type": "CallExpression",
@ -73,19 +73,19 @@ description: Result of parsing i-beam.kcl
"type": "VariableDeclaration"
},
{
"commentStart": 208,
"commentStart": 210,
"declaration": {
"commentStart": 208,
"commentStart": 210,
"end": 0,
"id": {
"commentStart": 208,
"commentStart": 210,
"end": 0,
"name": "beamHeight",
"start": 0,
"type": "Identifier"
},
"init": {
"commentStart": 221,
"commentStart": 223,
"end": 0,
"raw": "4",
"start": 0,
@ -106,19 +106,19 @@ description: Result of parsing i-beam.kcl
"type": "VariableDeclaration"
},
{
"commentStart": 223,
"commentStart": 225,
"declaration": {
"commentStart": 223,
"commentStart": 225,
"end": 0,
"id": {
"commentStart": 223,
"commentStart": 225,
"end": 0,
"name": "flangeWidth",
"start": 0,
"type": "Identifier"
},
"init": {
"commentStart": 237,
"commentStart": 239,
"end": 0,
"raw": "2.663",
"start": 0,
@ -139,19 +139,19 @@ description: Result of parsing i-beam.kcl
"type": "VariableDeclaration"
},
{
"commentStart": 243,
"commentStart": 245,
"declaration": {
"commentStart": 243,
"commentStart": 245,
"end": 0,
"id": {
"commentStart": 243,
"commentStart": 245,
"end": 0,
"name": "flangeThickness",
"start": 0,
"type": "Identifier"
},
"init": {
"commentStart": 261,
"commentStart": 263,
"end": 0,
"raw": "0.293",
"start": 0,
@ -172,19 +172,19 @@ description: Result of parsing i-beam.kcl
"type": "VariableDeclaration"
},
{
"commentStart": 267,
"commentStart": 269,
"declaration": {
"commentStart": 267,
"commentStart": 269,
"end": 0,
"id": {
"commentStart": 267,
"commentStart": 269,
"end": 0,
"name": "webThickness",
"start": 0,
"type": "Identifier"
},
"init": {
"commentStart": 282,
"commentStart": 284,
"end": 0,
"raw": "0.193",
"start": 0,
@ -205,19 +205,19 @@ description: Result of parsing i-beam.kcl
"type": "VariableDeclaration"
},
{
"commentStart": 288,
"commentStart": 290,
"declaration": {
"commentStart": 288,
"commentStart": 290,
"end": 0,
"id": {
"commentStart": 288,
"commentStart": 290,
"end": 0,
"name": "rootRadius",
"start": 0,
"type": "Identifier"
},
"init": {
"commentStart": 301,
"commentStart": 303,
"end": 0,
"raw": "0.457",
"start": 0,
@ -238,12 +238,12 @@ description: Result of parsing i-beam.kcl
"type": "VariableDeclaration"
},
{
"commentStart": 306,
"commentStart": 308,
"declaration": {
"commentStart": 433,
"commentStart": 435,
"end": 0,
"id": {
"commentStart": 433,
"commentStart": 435,
"end": 0,
"name": "sketch001",
"start": 0,
@ -256,10 +256,10 @@ description: Result of parsing i-beam.kcl
{
"argument": {
"abs_path": false,
"commentStart": 460,
"commentStart": 462,
"end": 0,
"name": {
"commentStart": 460,
"commentStart": 462,
"end": 0,
"name": "XZ",
"start": 0,
@ -270,7 +270,7 @@ description: Result of parsing i-beam.kcl
"type": "Name",
"type": "Name"
},
"commentStart": 459,
"commentStart": 461,
"end": 0,
"operator": "-",
"start": 0,
@ -280,10 +280,10 @@ description: Result of parsing i-beam.kcl
],
"callee": {
"abs_path": false,
"commentStart": 445,
"commentStart": 447,
"end": 0,
"name": {
"commentStart": 445,
"commentStart": 447,
"end": 0,
"name": "startSketchOn",
"start": 0,
@ -293,7 +293,7 @@ description: Result of parsing i-beam.kcl
"start": 0,
"type": "Name"
},
"commentStart": 445,
"commentStart": 447,
"end": 0,
"start": 0,
"type": "CallExpression",
@ -302,10 +302,10 @@ description: Result of parsing i-beam.kcl
{
"arguments": [
{
"commentStart": 484,
"commentStart": 486,
"elements": [
{
"commentStart": 485,
"commentStart": 487,
"end": 0,
"raw": "0",
"start": 0,
@ -317,14 +317,14 @@ description: Result of parsing i-beam.kcl
}
},
{
"commentStart": 488,
"commentStart": 490,
"end": 0,
"left": {
"abs_path": false,
"commentStart": 488,
"commentStart": 490,
"end": 0,
"name": {
"commentStart": 488,
"commentStart": 490,
"end": 0,
"name": "beamHeight",
"start": 0,
@ -337,7 +337,7 @@ description: Result of parsing i-beam.kcl
},
"operator": "/",
"right": {
"commentStart": 501,
"commentStart": 503,
"end": 0,
"raw": "2",
"start": 0,
@ -359,7 +359,7 @@ description: Result of parsing i-beam.kcl
"type": "ArrayExpression"
},
{
"commentStart": 505,
"commentStart": 507,
"end": 0,
"start": 0,
"type": "PipeSubstitution",
@ -368,10 +368,10 @@ description: Result of parsing i-beam.kcl
],
"callee": {
"abs_path": false,
"commentStart": 469,
"commentStart": 471,
"end": 0,
"name": {
"commentStart": 469,
"commentStart": 471,
"end": 0,
"name": "startProfileAt",
"start": 0,
@ -381,7 +381,7 @@ description: Result of parsing i-beam.kcl
"start": 0,
"type": "Name"
},
"commentStart": 469,
"commentStart": 471,
"end": 0,
"start": 0,
"type": "CallExpression",
@ -392,21 +392,21 @@ description: Result of parsing i-beam.kcl
{
"type": "LabeledArg",
"label": {
"commentStart": 519,
"commentStart": 521,
"end": 0,
"name": "length",
"start": 0,
"type": "Identifier"
},
"arg": {
"commentStart": 528,
"commentStart": 530,
"end": 0,
"left": {
"abs_path": false,
"commentStart": 528,
"commentStart": 530,
"end": 0,
"name": {
"commentStart": 528,
"commentStart": 530,
"end": 0,
"name": "flangeWidth",
"start": 0,
@ -419,7 +419,7 @@ description: Result of parsing i-beam.kcl
},
"operator": "/",
"right": {
"commentStart": 542,
"commentStart": 544,
"end": 0,
"raw": "2",
"start": 0,
@ -438,10 +438,10 @@ description: Result of parsing i-beam.kcl
],
"callee": {
"abs_path": false,
"commentStart": 513,
"commentStart": 515,
"end": 0,
"name": {
"commentStart": 513,
"commentStart": 515,
"end": 0,
"name": "xLine",
"start": 0,
@ -451,7 +451,7 @@ description: Result of parsing i-beam.kcl
"start": 0,
"type": "Name"
},
"commentStart": 513,
"commentStart": 515,
"end": 0,
"start": 0,
"type": "CallExpressionKw",
@ -463,7 +463,7 @@ description: Result of parsing i-beam.kcl
{
"type": "LabeledArg",
"label": {
"commentStart": 556,
"commentStart": 558,
"end": 0,
"name": "length",
"start": 0,
@ -472,10 +472,10 @@ description: Result of parsing i-beam.kcl
"arg": {
"argument": {
"abs_path": false,
"commentStart": 566,
"commentStart": 568,
"end": 0,
"name": {
"commentStart": 566,
"commentStart": 568,
"end": 0,
"name": "flangeThickness",
"start": 0,
@ -486,7 +486,7 @@ description: Result of parsing i-beam.kcl
"type": "Name",
"type": "Name"
},
"commentStart": 565,
"commentStart": 567,
"end": 0,
"operator": "-",
"start": 0,
@ -497,10 +497,10 @@ description: Result of parsing i-beam.kcl
],
"callee": {
"abs_path": false,
"commentStart": 550,
"commentStart": 552,
"end": 0,
"name": {
"commentStart": 550,
"commentStart": 552,
"end": 0,
"name": "yLine",
"start": 0,
@ -510,7 +510,7 @@ description: Result of parsing i-beam.kcl
"start": 0,
"type": "Name"
},
"commentStart": 550,
"commentStart": 552,
"end": 0,
"start": 0,
"type": "CallExpressionKw",
@ -522,24 +522,24 @@ description: Result of parsing i-beam.kcl
{
"type": "LabeledArg",
"label": {
"commentStart": 594,
"commentStart": 596,
"end": 0,
"name": "endAbsolute",
"start": 0,
"type": "Identifier"
},
"arg": {
"commentStart": 608,
"commentStart": 610,
"end": 0,
"left": {
"commentStart": 608,
"commentStart": 610,
"end": 0,
"left": {
"abs_path": false,
"commentStart": 608,
"commentStart": 610,
"end": 0,
"name": {
"commentStart": 608,
"commentStart": 610,
"end": 0,
"name": "webThickness",
"start": 0,
@ -552,7 +552,7 @@ description: Result of parsing i-beam.kcl
},
"operator": "/",
"right": {
"commentStart": 623,
"commentStart": 625,
"end": 0,
"raw": "2",
"start": 0,
@ -570,10 +570,10 @@ description: Result of parsing i-beam.kcl
"operator": "+",
"right": {
"abs_path": false,
"commentStart": 627,
"commentStart": 629,
"end": 0,
"name": {
"commentStart": 627,
"commentStart": 629,
"end": 0,
"name": "rootRadius",
"start": 0,
@ -592,10 +592,10 @@ description: Result of parsing i-beam.kcl
],
"callee": {
"abs_path": false,
"commentStart": 588,
"commentStart": 590,
"end": 0,
"name": {
"commentStart": 588,
"commentStart": 590,
"end": 0,
"name": "xLine",
"start": 0,
@ -605,7 +605,7 @@ description: Result of parsing i-beam.kcl
"start": 0,
"type": "Name"
},
"commentStart": 588,
"commentStart": 590,
"end": 0,
"start": 0,
"type": "CallExpressionKw",
@ -615,14 +615,14 @@ description: Result of parsing i-beam.kcl
{
"arguments": [
{
"commentStart": 658,
"commentStart": 660,
"end": 0,
"properties": [
{
"commentStart": 660,
"commentStart": 662,
"end": 0,
"key": {
"commentStart": 660,
"commentStart": 662,
"end": 0,
"name": "radius",
"start": 0,
@ -632,10 +632,10 @@ description: Result of parsing i-beam.kcl
"type": "ObjectProperty",
"value": {
"abs_path": false,
"commentStart": 669,
"commentStart": 671,
"end": 0,
"name": {
"commentStart": 669,
"commentStart": 671,
"end": 0,
"name": "rootRadius",
"start": 0,
@ -648,10 +648,10 @@ description: Result of parsing i-beam.kcl
}
},
{
"commentStart": 681,
"commentStart": 683,
"end": 0,
"key": {
"commentStart": 681,
"commentStart": 683,
"end": 0,
"name": "offset",
"start": 0,
@ -660,7 +660,7 @@ description: Result of parsing i-beam.kcl
"start": 0,
"type": "ObjectProperty",
"value": {
"commentStart": 690,
"commentStart": 692,
"end": 0,
"raw": "90",
"start": 0,
@ -678,7 +678,7 @@ description: Result of parsing i-beam.kcl
"type": "ObjectExpression"
},
{
"commentStart": 696,
"commentStart": 698,
"end": 0,
"start": 0,
"type": "PipeSubstitution",
@ -687,10 +687,10 @@ description: Result of parsing i-beam.kcl
],
"callee": {
"abs_path": false,
"commentStart": 644,
"commentStart": 646,
"end": 0,
"name": {
"commentStart": 644,
"commentStart": 646,
"end": 0,
"name": "tangentialArc",
"start": 0,
@ -700,7 +700,7 @@ description: Result of parsing i-beam.kcl
"start": 0,
"type": "Name"
},
"commentStart": 644,
"commentStart": 646,
"end": 0,
"start": 0,
"type": "CallExpression",
@ -711,14 +711,14 @@ description: Result of parsing i-beam.kcl
{
"type": "LabeledArg",
"label": {
"commentStart": 710,
"commentStart": 712,
"end": 0,
"name": "endAbsolute",
"start": 0,
"type": "Identifier"
},
"arg": {
"commentStart": 724,
"commentStart": 726,
"end": 0,
"raw": "0",
"start": 0,
@ -733,10 +733,10 @@ description: Result of parsing i-beam.kcl
],
"callee": {
"abs_path": false,
"commentStart": 704,
"commentStart": 706,
"end": 0,
"name": {
"commentStart": 704,
"commentStart": 706,
"end": 0,
"name": "yLine",
"start": 0,
@ -746,7 +746,7 @@ description: Result of parsing i-beam.kcl
"start": 0,
"type": "Name"
},
"commentStart": 704,
"commentStart": 706,
"end": 0,
"start": 0,
"type": "CallExpressionKw",
@ -756,14 +756,14 @@ description: Result of parsing i-beam.kcl
{
"arguments": [
{
"commentStart": 741,
"commentStart": 743,
"end": 0,
"properties": [
{
"commentStart": 743,
"commentStart": 745,
"end": 0,
"key": {
"commentStart": 743,
"commentStart": 745,
"end": 0,
"name": "axis",
"start": 0,
@ -772,7 +772,7 @@ description: Result of parsing i-beam.kcl
"start": 0,
"type": "ObjectProperty",
"value": {
"commentStart": 750,
"commentStart": 752,
"end": 0,
"raw": "'X'",
"start": 0,
@ -787,7 +787,7 @@ description: Result of parsing i-beam.kcl
"type": "ObjectExpression"
},
{
"commentStart": 757,
"commentStart": 759,
"end": 0,
"start": 0,
"type": "PipeSubstitution",
@ -796,10 +796,10 @@ description: Result of parsing i-beam.kcl
],
"callee": {
"abs_path": false,
"commentStart": 732,
"commentStart": 734,
"end": 0,
"name": {
"commentStart": 732,
"commentStart": 734,
"end": 0,
"name": "mirror2d",
"start": 0,
@ -809,7 +809,7 @@ description: Result of parsing i-beam.kcl
"start": 0,
"type": "Name"
},
"commentStart": 732,
"commentStart": 734,
"end": 0,
"start": 0,
"type": "CallExpression",
@ -818,14 +818,14 @@ description: Result of parsing i-beam.kcl
{
"arguments": [
{
"commentStart": 774,
"commentStart": 776,
"end": 0,
"properties": [
{
"commentStart": 776,
"commentStart": 778,
"end": 0,
"key": {
"commentStart": 776,
"commentStart": 778,
"end": 0,
"name": "axis",
"start": 0,
@ -834,7 +834,7 @@ description: Result of parsing i-beam.kcl
"start": 0,
"type": "ObjectProperty",
"value": {
"commentStart": 783,
"commentStart": 785,
"end": 0,
"raw": "'Y'",
"start": 0,
@ -849,7 +849,7 @@ description: Result of parsing i-beam.kcl
"type": "ObjectExpression"
},
{
"commentStart": 790,
"commentStart": 792,
"end": 0,
"start": 0,
"type": "PipeSubstitution",
@ -858,10 +858,10 @@ description: Result of parsing i-beam.kcl
],
"callee": {
"abs_path": false,
"commentStart": 765,
"commentStart": 767,
"end": 0,
"name": {
"commentStart": 765,
"commentStart": 767,
"end": 0,
"name": "mirror2d",
"start": 0,
@ -871,7 +871,7 @@ description: Result of parsing i-beam.kcl
"start": 0,
"type": "Name"
},
"commentStart": 765,
"commentStart": 767,
"end": 0,
"start": 0,
"type": "CallExpression",
@ -882,7 +882,7 @@ description: Result of parsing i-beam.kcl
{
"type": "LabeledArg",
"label": {
"commentStart": 806,
"commentStart": 808,
"end": 0,
"name": "length",
"start": 0,
@ -890,10 +890,10 @@ description: Result of parsing i-beam.kcl
},
"arg": {
"abs_path": false,
"commentStart": 815,
"commentStart": 817,
"end": 0,
"name": {
"commentStart": 815,
"commentStart": 817,
"end": 0,
"name": "beamLength",
"start": 0,
@ -908,10 +908,10 @@ description: Result of parsing i-beam.kcl
],
"callee": {
"abs_path": false,
"commentStart": 798,
"commentStart": 800,
"end": 0,
"name": {
"commentStart": 798,
"commentStart": 800,
"end": 0,
"name": "extrude",
"start": 0,
@ -921,7 +921,7 @@ description: Result of parsing i-beam.kcl
"start": 0,
"type": "Name"
},
"commentStart": 798,
"commentStart": 800,
"end": 0,
"start": 0,
"type": "CallExpressionKw",
@ -929,7 +929,7 @@ description: Result of parsing i-beam.kcl
"unlabeled": null
}
],
"commentStart": 445,
"commentStart": 447,
"end": 0,
"start": 0,
"type": "PipeExpression",

View File

@ -46,17 +46,17 @@ flowchart LR
84[Solid2d]
end
subgraph path92 [Path]
92["Path<br>[1553, 1616, 0]"]
93["Segment<br>[1553, 1616, 0]"]
92["Path<br>[1555, 1618, 0]"]
93["Segment<br>[1555, 1618, 0]"]
94[Solid2d]
end
subgraph path101 [Path]
101["Path<br>[1662, 1716, 0]"]
102["Segment<br>[1724, 1748, 0]"]
103["Segment<br>[1756, 1870, 0]"]
104["Segment<br>[1878, 1902, 0]"]
105["Segment<br>[1910, 2041, 0]"]
106["Segment<br>[2049, 2056, 0]"]
101["Path<br>[1664, 1720, 0]"]
102["Segment<br>[1728, 1752, 0]"]
103["Segment<br>[1760, 1878, 0]"]
104["Segment<br>[1886, 1910, 0]"]
105["Segment<br>[1918, 2086, 0]"]
106["Segment<br>[2094, 2101, 0]"]
107[Solid2d]
end
1["Plane<br>[484, 511, 0]"]
@ -122,14 +122,14 @@ flowchart LR
88["Cap End"]
89["SweepEdge Opposite"]
90["SweepEdge Adjacent"]
91["Plane<br>[1489, 1539, 0]"]
95["Sweep Extrusion<br>[1624, 1647, 0]"]
91["Plane<br>[1491, 1541, 0]"]
95["Sweep Extrusion<br>[1626, 1649, 0]"]
96[Wall]
97["Cap Start"]
98["Cap End"]
99["SweepEdge Opposite"]
100["SweepEdge Adjacent"]
108["Sweep Extrusion<br>[2064, 2087, 0]"]
108["Sweep Extrusion<br>[2109, 2132, 0]"]
109[Wall]
110[Wall]
111[Wall]
@ -151,7 +151,7 @@ flowchart LR
127["StartSketchOnPlane<br>[470, 512, 0]"]
128["StartSketchOnPlane<br>[470, 512, 0]"]
129["StartSketchOnPlane<br>[470, 512, 0]"]
130["StartSketchOnPlane<br>[1475, 1540, 0]"]
130["StartSketchOnPlane<br>[1475, 1542, 0]"]
1 --- 2
2 --- 3
2 ---- 5

File diff suppressed because it is too large Load Diff

View File

@ -1280,7 +1280,7 @@ description: Operations executed makeup-mirror.kcl
"name": "mirrorFn",
"functionSourceRange": [
1389,
2106,
2151,
0
],
"unlabeledArg": null,

View File

@ -61,33 +61,33 @@ flowchart LR
87[Solid2d]
end
subgraph path93 [Path]
93["Path<br>[355, 407, 8]"]
94["Segment<br>[355, 407, 8]"]
93["Path<br>[354, 406, 8]"]
94["Segment<br>[354, 406, 8]"]
95[Solid2d]
end
subgraph path102 [Path]
102["Path<br>[540, 592, 8]"]
103["Segment<br>[540, 592, 8]"]
102["Path<br>[539, 591, 8]"]
103["Segment<br>[539, 591, 8]"]
104[Solid2d]
end
subgraph path110 [Path]
110["Path<br>[446, 516, 9]"]
111["Segment<br>[446, 516, 9]"]
110["Path<br>[445, 515, 9]"]
111["Segment<br>[445, 515, 9]"]
112[Solid2d]
end
subgraph path121 [Path]
121["Path<br>[780, 867, 9]"]
122["Segment<br>[875, 958, 9]"]
123["Segment<br>[966, 1049, 9]"]
124["Segment<br>[1057, 1140, 9]"]
125["Segment<br>[1148, 1230, 9]"]
126["Segment<br>[1238, 1320, 9]"]
127["Segment<br>[1328, 1335, 9]"]
121["Path<br>[779, 866, 9]"]
122["Segment<br>[874, 957, 9]"]
123["Segment<br>[965, 1048, 9]"]
124["Segment<br>[1056, 1139, 9]"]
125["Segment<br>[1147, 1229, 9]"]
126["Segment<br>[1237, 1319, 9]"]
127["Segment<br>[1327, 1334, 9]"]
128[Solid2d]
end
subgraph path149 [Path]
149["Path<br>[1469, 1538, 9]"]
150["Segment<br>[1469, 1538, 9]"]
149["Path<br>[1468, 1537, 9]"]
150["Segment<br>[1468, 1537, 9]"]
151[Solid2d]
end
subgraph path158 [Path]
@ -180,27 +180,27 @@ flowchart LR
89[Wall]
90["SweepEdge Opposite"]
91["SweepEdge Adjacent"]
92["Plane<br>[330, 347, 8]"]
96["Sweep Extrusion<br>[415, 448, 8]"]
92["Plane<br>[329, 346, 8]"]
96["Sweep Extrusion<br>[414, 447, 8]"]
97[Wall]
98["Cap Start"]
99["Cap End"]
100["SweepEdge Opposite"]
101["SweepEdge Adjacent"]
105["Sweep Extrusion<br>[600, 637, 8]"]
105["Sweep Extrusion<br>[599, 636, 8]"]
106[Wall]
107["SweepEdge Opposite"]
108["SweepEdge Adjacent"]
109["Plane<br>[421, 438, 9]"]
113["Sweep Extrusion<br>[524, 557, 9]"]
109["Plane<br>[420, 437, 9]"]
113["Sweep Extrusion<br>[523, 556, 9]"]
114[Wall]
115["Cap Start"]
116["Cap End"]
117["SweepEdge Opposite"]
118["SweepEdge Adjacent"]
119["EdgeCut Fillet<br>[565, 631, 9]"]
120["EdgeCut Fillet<br>[565, 631, 9]"]
129["Sweep Extrusion<br>[1343, 1383, 9]"]
119["EdgeCut Fillet<br>[564, 630, 9]"]
120["EdgeCut Fillet<br>[564, 630, 9]"]
129["Sweep Extrusion<br>[1342, 1382, 9]"]
130[Wall]
131[Wall]
132[Wall]
@ -220,7 +220,7 @@ flowchart LR
146["SweepEdge Adjacent"]
147["SweepEdge Opposite"]
148["SweepEdge Adjacent"]
152["Sweep Extrusion<br>[1546, 1574, 9]"]
152["Sweep Extrusion<br>[1545, 1573, 9]"]
153[Wall]
154["Cap End"]
155["SweepEdge Opposite"]
@ -280,9 +280,9 @@ flowchart LR
232["StartSketchOnFace<br>[1250, 1282, 6]"]
233["StartSketchOnFace<br>[1466, 1499, 6]"]
234["StartSketchOnFace<br>[666, 698, 7]"]
235["StartSketchOnFace<br>[500, 532, 8]"]
236["StartSketchOnFace<br>[740, 772, 9]"]
237["StartSketchOnFace<br>[1431, 1461, 9]"]
235["StartSketchOnFace<br>[499, 531, 8]"]
236["StartSketchOnFace<br>[739, 771, 9]"]
237["StartSketchOnFace<br>[1430, 1460, 9]"]
238["StartSketchOnFace<br>[1035, 1067, 10]"]
239["StartSketchOnFace<br>[472, 502, 11]"]
240["StartSketchOnFace<br>[472, 502, 11]"]

File diff suppressed because it is too large Load Diff

View File

@ -1523,8 +1523,8 @@ description: Operations executed pipe-flange-assembly.kcl
"type": "UserDefinedFunctionCall",
"name": "washer",
"functionSourceRange": [
275,
696,
274,
695,
8
],
"unlabeledArg": null,
@ -2022,8 +2022,8 @@ description: Operations executed pipe-flange-assembly.kcl
"type": "UserDefinedFunctionCall",
"name": "bolt",
"functionSourceRange": [
365,
1664,
364,
1663,
9
],
"unlabeledArg": null,

File diff suppressed because it is too large Load Diff