Compare commits
9 Commits
kurt-web-a
...
nicboone8-
Author | SHA1 | Date | |
---|---|---|---|
a831dcefb4 | |||
bc6a8ccb78 | |||
4390788f17 | |||
2ddd546123 | |||
fd3125e641 | |||
402de8c926 | |||
5911df46ee | |||
ec19b9bfaa | |||
962609e3d3 |
@ -39,6 +39,10 @@ When you submit a PR to add or modify KCL samples, images will be generated and
|
|||||||
[](bracket/main.kcl)
|
[](bracket/main.kcl)
|
||||||
#### [brake-rotor](brake-rotor/main.kcl) ([screenshot](screenshots/brake-rotor.png))
|
#### [brake-rotor](brake-rotor/main.kcl) ([screenshot](screenshots/brake-rotor.png))
|
||||||
[](brake-rotor/main.kcl)
|
[](brake-rotor/main.kcl)
|
||||||
|
#### [cable-gland](cable-gland/main.kcl) ([screenshot](screenshots/cable-gland.png))
|
||||||
|
[](cable-gland/main.kcl)
|
||||||
|
#### [camshaft](camshaft/main.kcl) ([screenshot](screenshots/camshaft.png))
|
||||||
|
[](camshaft/main.kcl)
|
||||||
#### [car-wheel-assembly](car-wheel-assembly/main.kcl) ([screenshot](screenshots/car-wheel-assembly.png))
|
#### [car-wheel-assembly](car-wheel-assembly/main.kcl) ([screenshot](screenshots/car-wheel-assembly.png))
|
||||||
[](car-wheel-assembly/main.kcl)
|
[](car-wheel-assembly/main.kcl)
|
||||||
#### [clock](clock/main.kcl) ([screenshot](screenshots/clock.png))
|
#### [clock](clock/main.kcl) ([screenshot](screenshots/clock.png))
|
||||||
@ -61,6 +65,8 @@ When you submit a PR to add or modify KCL samples, images will be generated and
|
|||||||
[](dodecahedron/main.kcl)
|
[](dodecahedron/main.kcl)
|
||||||
#### [enclosure](enclosure/main.kcl) ([screenshot](screenshots/enclosure.png))
|
#### [enclosure](enclosure/main.kcl) ([screenshot](screenshots/enclosure.png))
|
||||||
[](enclosure/main.kcl)
|
[](enclosure/main.kcl)
|
||||||
|
#### [end-effector-grippers](end-effector-grippers/main.kcl) ([screenshot](screenshots/end-effector-grippers.png))
|
||||||
|
[](end-effector-grippers/main.kcl)
|
||||||
#### [engine-valve](engine-valve/main.kcl) ([screenshot](screenshots/engine-valve.png))
|
#### [engine-valve](engine-valve/main.kcl) ([screenshot](screenshots/engine-valve.png))
|
||||||
[](engine-valve/main.kcl)
|
[](engine-valve/main.kcl)
|
||||||
#### [exhaust-manifold](exhaust-manifold/main.kcl) ([screenshot](screenshots/exhaust-manifold.png))
|
#### [exhaust-manifold](exhaust-manifold/main.kcl) ([screenshot](screenshots/exhaust-manifold.png))
|
||||||
@ -161,6 +167,8 @@ When you submit a PR to add or modify KCL samples, images will be generated and
|
|||||||
[](walkie-talkie/main.kcl)
|
[](walkie-talkie/main.kcl)
|
||||||
#### [washer](washer/main.kcl) ([screenshot](screenshots/washer.png))
|
#### [washer](washer/main.kcl) ([screenshot](screenshots/washer.png))
|
||||||
[](washer/main.kcl)
|
[](washer/main.kcl)
|
||||||
|
#### [wind-turbine-blade](wind-turbine-blade/main.kcl) ([screenshot](screenshots/wind-turbine-blade.png))
|
||||||
|
[](wind-turbine-blade/main.kcl)
|
||||||
#### [wing-spar](wing-spar/main.kcl) ([screenshot](screenshots/wing-spar.png))
|
#### [wing-spar](wing-spar/main.kcl) ([screenshot](screenshots/wing-spar.png))
|
||||||
[](wing-spar/main.kcl)
|
[](wing-spar/main.kcl)
|
||||||
|
|
||||||
|
39
public/kcl-samples/cable-gland/main.kcl
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
// Cable Gland
|
||||||
|
// A cable gland is a mechanical fitting used to attach and secure the end of an electrical cable to equipment or an enclosure. It provides strain relief, sealing against environmental factors like dust and moisture, and can ensure earth continuity if required.
|
||||||
|
|
||||||
|
// Set units
|
||||||
|
@settings(defaultLengthUnit = mm)
|
||||||
|
|
||||||
|
// Define parameters
|
||||||
|
width = 40
|
||||||
|
length = 40
|
||||||
|
trim = 39
|
||||||
|
cableDiameter = 14
|
||||||
|
|
||||||
|
// Model a starting hexagon with a center securement hole for the cable diameter
|
||||||
|
core = startSketchOn(XY)
|
||||||
|
|> polygon(radius = width / 2, numSides = 6, center = [0, 0])
|
||||||
|
|> subtract2d(tool = circle(center = [0, 0], diameter = cableDiameter))
|
||||||
|
|> extrude(length)
|
||||||
|
|
||||||
|
// Cut around the exterior to form the cable gland shape
|
||||||
|
revolveCut = startSketchOn(YZ)
|
||||||
|
|> startProfile(at = [cableDiameter / 2 + 5, -0.01])
|
||||||
|
|> angledLine(angle = 15, endAbsoluteX = trim / 2)
|
||||||
|
|> yLine(length = length / 6)
|
||||||
|
|> angledLine(angle = -15, endAbsoluteX = profileStartX(%))
|
||||||
|
|> yLine(length = length / 9)
|
||||||
|
|> xLine(length = -0.9)
|
||||||
|
|> yLine(length = length / 8)
|
||||||
|
|> angledLine(angle = 15, endAbsoluteX = trim / 2)
|
||||||
|
|> yLine(length = length / 6)
|
||||||
|
|> angledLine(angle = -5, endAbsoluteX = cableDiameter / 2 + 2)
|
||||||
|
|> yLine(endAbsolute = length + 0.1)
|
||||||
|
|> xLine(endAbsolute = width / 1.75)
|
||||||
|
|> yLine(endAbsolute = 0)
|
||||||
|
|> line(endAbsolute = profileStart())
|
||||||
|
|> close()
|
||||||
|
|> revolve(axis = Y)
|
||||||
|
subtract([core], tools = [revolveCut])
|
||||||
|
// Assigning a material property to represent brass
|
||||||
|
|> appearance(color = "#f2671c", metalness = 70, roughness = 30)
|
165
public/kcl-samples/camshaft/main.kcl
Normal file
@ -0,0 +1,165 @@
|
|||||||
|
// Camshaft
|
||||||
|
// A camshaft is a shaft with cams attached, used to convert rotational motion into reciprocating motion. In internal combustion engines, it's crucial for controlling the opening and closing of intake and exhaust valves at precise moments, ensuring proper timing for combustion.
|
||||||
|
|
||||||
|
// Set units
|
||||||
|
@settings(defaultLengthUnit = in)
|
||||||
|
|
||||||
|
// Define shaft parameters
|
||||||
|
valvesPerCylinder = 4
|
||||||
|
cylinderCount = 4
|
||||||
|
shaftDiameter = 0.97
|
||||||
|
supportBearingWidth = 0.45
|
||||||
|
|
||||||
|
// Define cam lobe parameters
|
||||||
|
baseCircle = 1.34
|
||||||
|
lobeSeperation = 112
|
||||||
|
intakeCenterline = 108
|
||||||
|
intakeLift = 0.235
|
||||||
|
exhaustLift = 0.235
|
||||||
|
intakeDuration = 242
|
||||||
|
exhaustDuration = 246
|
||||||
|
camHeight = 0.522
|
||||||
|
camSpacing = 0.50
|
||||||
|
|
||||||
|
// Write a function to sketch a cam lobe profile given the specified parameters
|
||||||
|
fn lobe(duration, lift) {
|
||||||
|
camProfile = startSketchOn(offsetPlane(XY, offset = supportBearingWidth * 2))
|
||||||
|
|> startProfile(at = polar(angle = 90 + duration / 4, length = baseCircle / 2))
|
||||||
|
|> arc(interiorAbsolute = [0, -baseCircle / 2], endAbsolute = polar(angle = 90 - (duration / 4), length = baseCircle / 2), tag = $seg02)
|
||||||
|
|> angledLine(angle = tangentToEnd(seg02), endAbsoluteY = baseCircle / 2 + lift, tag = $seg04)
|
||||||
|
|> xLine(endAbsolute = 0, tag = $seg03)
|
||||||
|
|> xLine(length = -segLen(seg03))
|
||||||
|
|> line(endAbsolute = [profileStartX(%), profileStartY(%)], tag = $seg05)
|
||||||
|
|> close()
|
||||||
|
|> extrude(length = camHeight)
|
||||||
|
|> fillet(
|
||||||
|
radius = min([segLen(seg03), segLen(seg04)]) * 0.99,
|
||||||
|
tags = [
|
||||||
|
getCommonEdge(faces = [seg04, seg03]),
|
||||||
|
getCommonEdge(faces = [seg03, seg05])
|
||||||
|
],
|
||||||
|
)
|
||||||
|
|> rotate(yaw = intakeCenterline)
|
||||||
|
|
||||||
|
return camProfile
|
||||||
|
}
|
||||||
|
|
||||||
|
// Create an intake and exhaust cam pair
|
||||||
|
intake = lobe(duration = intakeDuration, lift = intakeLift)
|
||||||
|
exhaust = lobe(duration = exhaustDuration, lift = exhaustLift)
|
||||||
|
|> translate(z = camHeight + camSpacing)
|
||||||
|
|> rotate(yaw = lobeSeperation)
|
||||||
|
|
||||||
|
// Pattern the cam pair to represent the number of valves. Round odd number valves to the next highest even number
|
||||||
|
fn valveCount(@i) {
|
||||||
|
return {
|
||||||
|
translate = [0, 0, i * (camHeight + camSpacing) * 2],
|
||||||
|
rotation = {
|
||||||
|
angle = lobeSeperation + 30 * i,
|
||||||
|
// Rotate around the overall scene's origin.
|
||||||
|
origin = 'global'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Pattern the cam instances by the number of cylinders. Rotate each group to reflect the relative position of each piston
|
||||||
|
fn cylinderPattern(@i) {
|
||||||
|
return {
|
||||||
|
translate = [
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
i * (2 * (camHeight + camSpacing) * round(valvesPerCylinder / 2) + supportBearingWidth)
|
||||||
|
],
|
||||||
|
rotation = {
|
||||||
|
angle = 360 / cylinderCount * i,
|
||||||
|
// Rotate around the overall scene's origin.
|
||||||
|
origin = 'global'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Call each pattern function in turn
|
||||||
|
[intake, exhaust]
|
||||||
|
|> patternTransform(instances = round(valvesPerCylinder / 2), transform = valveCount)
|
||||||
|
|> patternTransform(instances = cylinderCount, transform = cylinderPattern)
|
||||||
|
|
||||||
|
// Extrude a center connecting cylinder shaft through each cam position
|
||||||
|
length = (2 * (camHeight + camSpacing) * round(valvesPerCylinder / 2) + supportBearingWidth) * cylinderCount + supportBearingWidth
|
||||||
|
centerShaft = startSketchOn(XY)
|
||||||
|
|> circle(center = [0, 0], diameter = shaftDiameter)
|
||||||
|
|> extrude(length)
|
||||||
|
|
||||||
|
// Attach a helical timing gear to the base of the camshaft
|
||||||
|
fn helicalGear(nTeeth, module, pressureAngle, helixAngle, gearHeight) {
|
||||||
|
// Calculate gear parameters
|
||||||
|
pitchDiameter = module * nTeeth
|
||||||
|
addendum = module
|
||||||
|
deddendum = 1.25 * module
|
||||||
|
baseDiameter = pitchDiameter * cos(pressureAngle)
|
||||||
|
tipDiameter = pitchDiameter + 2 * module
|
||||||
|
|
||||||
|
// Define a function to create a rotated gear sketch on an offset plane
|
||||||
|
fn helicalGearSketch(@offsetHeight) {
|
||||||
|
// Calculate the amount to rotate each planar sketch of the gear given the gear helix angle and total gear height
|
||||||
|
helixCalc = acos(offsetHeight * tan(helixAngle) / (tipDiameter / 2))
|
||||||
|
|
||||||
|
// Using the gear parameters, sketch an involute tooth spanning from the base diameter to the tip diameter
|
||||||
|
helicalGearSketch = startSketchOn(offsetPlane(XY, offset = offsetHeight))
|
||||||
|
|> startProfile(at = polar(angle = helixCalc, length = baseDiameter / 2))
|
||||||
|
|> involuteCircular(
|
||||||
|
startRadius = baseDiameter / 2,
|
||||||
|
endRadius = tipDiameter / 2,
|
||||||
|
angle = helixCalc,
|
||||||
|
tag = $seg01,
|
||||||
|
)
|
||||||
|
|> line(endAbsolute = polar(angle = 160 / nTeeth + helixCalc, length = tipDiameter / 2))
|
||||||
|
|> involuteCircular(
|
||||||
|
startRadius = baseDiameter / 2,
|
||||||
|
endRadius = tipDiameter / 2,
|
||||||
|
angle = -(4 * atan(segEndY(seg01) / segEndX(seg01)) - (3 * helixCalc)),
|
||||||
|
reverse = true,
|
||||||
|
)
|
||||||
|
|
||||||
|
// Position the end line of the sketch at the start of the next tooth
|
||||||
|
|> line(endAbsolute = polar(angle = 360 / nTeeth + helixCalc, length = baseDiameter / 2))
|
||||||
|
|
||||||
|
// Pattern the sketch about the center by the specified number of teeth, then close the sketch
|
||||||
|
|> patternCircular2d(
|
||||||
|
%,
|
||||||
|
instances = nTeeth,
|
||||||
|
center = [0, 0],
|
||||||
|
arcDegrees = 360,
|
||||||
|
rotateDuplicates = true,
|
||||||
|
)
|
||||||
|
|> close()
|
||||||
|
|> subtract2d(tool = circle(center = [0, 0], diameter = shaftDiameter))
|
||||||
|
return helicalGearSketch
|
||||||
|
}
|
||||||
|
|
||||||
|
// Draw a gear sketch on the base plane
|
||||||
|
gearcamProfile = helicalGearSketch(0)
|
||||||
|
|
||||||
|
// Draw a rotated gear sketch on a middle interstitial plane
|
||||||
|
gearcenterShaft = helicalGearSketch(gearHeight / 2)
|
||||||
|
|
||||||
|
// Draw a rotated gear sketch at the gear height offset plane
|
||||||
|
gearSketch003 = helicalGearSketch(gearHeight)
|
||||||
|
|
||||||
|
// Loft each rotated gear sketch together to form a helical gear
|
||||||
|
helicalGear = loft([
|
||||||
|
gearcamProfile,
|
||||||
|
gearcenterShaft,
|
||||||
|
gearSketch003
|
||||||
|
])
|
||||||
|
|
||||||
|
return helicalGear
|
||||||
|
}
|
||||||
|
|
||||||
|
// Call the timing gear function
|
||||||
|
helicalGear(
|
||||||
|
nTeeth = 15,
|
||||||
|
module = .15,
|
||||||
|
pressureAngle = 20,
|
||||||
|
helixAngle = 55,
|
||||||
|
gearHeight = supportBearingWidth,
|
||||||
|
)
|
@ -84,6 +84,26 @@
|
|||||||
"main.kcl"
|
"main.kcl"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"file": "main.kcl",
|
||||||
|
"pathFromProjectDirectoryToFirstFile": "cable-gland/main.kcl",
|
||||||
|
"multipleFiles": false,
|
||||||
|
"title": "Cable Gland",
|
||||||
|
"description": "A cable gland is a mechanical fitting used to attach and secure the end of an electrical cable to equipment or an enclosure. It provides strain relief, sealing against environmental factors like dust and moisture, and can ensure earth continuity if required.",
|
||||||
|
"files": [
|
||||||
|
"main.kcl"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"file": "main.kcl",
|
||||||
|
"pathFromProjectDirectoryToFirstFile": "camshaft/main.kcl",
|
||||||
|
"multipleFiles": false,
|
||||||
|
"title": "Camshaft",
|
||||||
|
"description": "A camshaft is a shaft with cams attached, used to convert rotational motion into reciprocating motion. In internal combustion engines, it's crucial for controlling the opening and closing of intake and exhaust valves at precise moments, ensuring proper timing for combustion.",
|
||||||
|
"files": [
|
||||||
|
"main.kcl"
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"file": "main.kcl",
|
"file": "main.kcl",
|
||||||
"pathFromProjectDirectoryToFirstFile": "car-wheel-assembly/main.kcl",
|
"pathFromProjectDirectoryToFirstFile": "car-wheel-assembly/main.kcl",
|
||||||
@ -207,6 +227,16 @@
|
|||||||
"main.kcl"
|
"main.kcl"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"file": "main.kcl",
|
||||||
|
"pathFromProjectDirectoryToFirstFile": "end-effector-grippers/main.kcl",
|
||||||
|
"multipleFiles": false,
|
||||||
|
"title": "End Effector Grippers",
|
||||||
|
"description": "End effector grippers are devices attached to a robot's arm that allow it to interact with its environment and perform tasks like picking up, moving, and manipulating objects. They are essential for robots to perform useful work. Grippers are one type of end effector, but end effectors can also be tools like welding torches or cameras",
|
||||||
|
"files": [
|
||||||
|
"main.kcl"
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"file": "main.kcl",
|
"file": "main.kcl",
|
||||||
"pathFromProjectDirectoryToFirstFile": "engine-valve/main.kcl",
|
"pathFromProjectDirectoryToFirstFile": "engine-valve/main.kcl",
|
||||||
@ -730,6 +760,16 @@
|
|||||||
"main.kcl"
|
"main.kcl"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"file": "main.kcl",
|
||||||
|
"pathFromProjectDirectoryToFirstFile": "wind-turbine-blade/main.kcl",
|
||||||
|
"multipleFiles": false,
|
||||||
|
"title": "Wind Turbine Blade",
|
||||||
|
"description": "A wind turbine blade is a curved airfoil-shaped propeller that captures wind energy and converts it into rotational motion, ultimately driving a generator to produce electricity. These blades are typically made of composite materials like fiberglass or carbon fiber for strength and durability, and are designed to maximize efficiency in capturing the wind's kinetic energy. Most modern wind turbines use root inserts or a T-bolt connection to join the blade to the pitch bearing. The root insert is a metal bushing imbedded within the laminate",
|
||||||
|
"files": [
|
||||||
|
"main.kcl"
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"file": "main.kcl",
|
"file": "main.kcl",
|
||||||
"pathFromProjectDirectoryToFirstFile": "wing-spar/main.kcl",
|
"pathFromProjectDirectoryToFirstFile": "wing-spar/main.kcl",
|
||||||
|
Before Width: | Height: | Size: 83 KiB After Width: | Height: | Size: 83 KiB |
BIN
public/kcl-samples/screenshots/cable-gland.png
Normal file
After Width: | Height: | Size: 130 KiB |
BIN
public/kcl-samples/screenshots/camshaft.png
Normal file
After Width: | Height: | Size: 64 KiB |
BIN
public/kcl-samples/screenshots/end-effector-grippers.png
Normal file
After Width: | Height: | Size: 81 KiB |
Before Width: | Height: | Size: 43 KiB After Width: | Height: | Size: 19 KiB |
Before Width: | Height: | Size: 117 KiB After Width: | Height: | Size: 19 KiB |
BIN
public/kcl-samples/screenshots/wind-turbine-blade.png
Normal file
After Width: | Height: | Size: 31 KiB |
172
public/kcl-samples/wind-turbine-blade/main.kcl
Normal file
@ -0,0 +1,172 @@
|
|||||||
|
// Wind Turbine Blade
|
||||||
|
// A wind turbine blade is a curved airfoil-shaped propeller that captures wind energy and converts it into rotational motion, ultimately driving a generator to produce electricity. These blades are typically made of composite materials like fiberglass or carbon fiber for strength and durability, and are designed to maximize efficiency in capturing the wind's kinetic energy. Most modern wind turbines use root inserts or a T-bolt connection to join the blade to the pitch bearing. The root insert is a metal bushing imbedded within the laminate
|
||||||
|
|
||||||
|
// Set Units
|
||||||
|
@settings(defaultLengthUnit = m)
|
||||||
|
|
||||||
|
// Define parameters
|
||||||
|
interfaceDiameter = 1.5
|
||||||
|
bladeLength = 52
|
||||||
|
wallThickness = 0.2
|
||||||
|
|
||||||
|
// Model the base of the turbine blade
|
||||||
|
baseExtrude = startSketchOn(YZ)
|
||||||
|
|> circle(center = [0, 0], radius = interfaceDiameter / 2)
|
||||||
|
|> subtract2d(tool = circle(center = [0, 0], radius = interfaceDiameter / 2 - wallThickness))
|
||||||
|
|> extrude(length = 1)
|
||||||
|
|
||||||
|
// Create an interface on the base of the turbine blade
|
||||||
|
interfaceClearance = startSketchOn(baseExtrude, face = START)
|
||||||
|
|> circle(
|
||||||
|
center = [
|
||||||
|
(interfaceDiameter - wallThickness) / 2,
|
||||||
|
0
|
||||||
|
],
|
||||||
|
radius = 50mm,
|
||||||
|
)
|
||||||
|
|> patternCircular2d(
|
||||||
|
instances = 16,
|
||||||
|
center = [0, 0],
|
||||||
|
arcDegrees = 360,
|
||||||
|
rotateDuplicates = false,
|
||||||
|
)
|
||||||
|
|> extrude(length = -750mm)
|
||||||
|
|
||||||
|
// Fill each interface hole with a metal insert nut
|
||||||
|
insertNut = startSketchOn(XY)
|
||||||
|
|> startProfile(at = [
|
||||||
|
0,
|
||||||
|
(interfaceDiameter - wallThickness) / 2 + 50mm
|
||||||
|
])
|
||||||
|
|> yLine(length = 25mm)
|
||||||
|
|> xLine(length = -5mm)
|
||||||
|
|> yLine(length = -30mm)
|
||||||
|
|> xLine(length = 600mm)
|
||||||
|
|> yLine(endAbsolute = profileStartY(%))
|
||||||
|
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||||
|
|> close()
|
||||||
|
|> revolve(axis = {
|
||||||
|
direction = [1, 0],
|
||||||
|
origin = [
|
||||||
|
0,
|
||||||
|
(interfaceDiameter - wallThickness) / 2
|
||||||
|
]
|
||||||
|
})
|
||||||
|
|> patternCircular3d(
|
||||||
|
instances = 16,
|
||||||
|
axis = [1, 0, 0],
|
||||||
|
center = [0, 0, 0],
|
||||||
|
arcDegrees = 360,
|
||||||
|
rotateDuplicates = false,
|
||||||
|
)
|
||||||
|
|> appearance(color = '#b87333')
|
||||||
|
|
||||||
|
// Model a root insert at each interface nut
|
||||||
|
rootInsert = startSketchOn(XY)
|
||||||
|
|> startProfile(at = [
|
||||||
|
0,
|
||||||
|
(interfaceDiameter - wallThickness) / 2 + 45mm
|
||||||
|
])
|
||||||
|
|> xLine(length = 0.09)
|
||||||
|
|> tangentialArc(endAbsolute = [
|
||||||
|
0.5,
|
||||||
|
(interfaceDiameter - wallThickness) / 2 + 5mm
|
||||||
|
])
|
||||||
|
|> yLine(length = -4.5mm)
|
||||||
|
|> xLine(length = -0.73)
|
||||||
|
|> yLine(length = 18mm)
|
||||||
|
|> xLine(length = 200mm)
|
||||||
|
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||||
|
|> close()
|
||||||
|
|> revolve(axis = {
|
||||||
|
direction = [1, 0],
|
||||||
|
origin = [
|
||||||
|
0,
|
||||||
|
(interfaceDiameter - wallThickness) / 2
|
||||||
|
]
|
||||||
|
})
|
||||||
|
|> patternCircular3d(
|
||||||
|
instances = 16,
|
||||||
|
axis = [1, 0, 0],
|
||||||
|
center = [0, 0, 0],
|
||||||
|
arcDegrees = 360,
|
||||||
|
rotateDuplicates = false,
|
||||||
|
)
|
||||||
|
|
||||||
|
// Create a sketch on the end of the base plate to begin the composite blade
|
||||||
|
baseEnd = startSketchOn(offsetPlane(YZ, offset = 1))
|
||||||
|
|> circle(center = [0, 0], radius = interfaceDiameter / 2)
|
||||||
|
|> subtract2d(tool = circle(center = [0, 0], radius = 0.55))
|
||||||
|
|
||||||
|
// Define a function to sketch the hollow airfoil section of a wind turbine blade
|
||||||
|
fn fanBladeSketch(r1, offsetDistance, angle, armLength) {
|
||||||
|
d1 = r1 + armLength
|
||||||
|
airfoilCenter = startSketchOn(offsetPlane(YZ, offset = offsetDistance))
|
||||||
|
|> startProfile(at = [0, d1])
|
||||||
|
|> angledLine(angle = -90 + asin(r1 / d1), length = r1 / tan(asin(r1 / d1)))
|
||||||
|
|> tangentialArc(endAbsolute = polar(angle = -220, length = r1))
|
||||||
|
|> tangentialArc(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||||
|
|> close()
|
||||||
|
|> rotate(roll = angle)
|
||||||
|
|
||||||
|
r2 = r1 + wallThickness
|
||||||
|
d2 = d1 + wallThickness
|
||||||
|
fanBladeSketch = startSketchOn(offsetPlane(YZ, offset = offsetDistance))
|
||||||
|
|> startProfile(at = [0, d2])
|
||||||
|
|> angledLine(angle = -90 + asin(r2 / d2), length = r2 / tan(asin(r2 / d2)))
|
||||||
|
|> tangentialArc(endAbsolute = polar(angle = -220, length = r2))
|
||||||
|
|> tangentialArc(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||||
|
|> close()
|
||||||
|
|> subtract2d(tool = airfoilCenter)
|
||||||
|
|> rotate(roll = angle)
|
||||||
|
|
||||||
|
return fanBladeSketch
|
||||||
|
}
|
||||||
|
|
||||||
|
// Define a function to sketch the solid airfoil section of a wind turbine blade cap
|
||||||
|
fn endCapSketch(r1, offsetDistance, angle, armLength) {
|
||||||
|
d1 = r1 + armLength
|
||||||
|
r2 = r1 + wallThickness
|
||||||
|
d2 = d1 + wallThickness
|
||||||
|
endCapSketch = startSketchOn(offsetPlane(YZ, offset = offsetDistance))
|
||||||
|
|> startProfile(at = [0, d2])
|
||||||
|
|> angledLine(angle = -90 + asin(r2 / d2), length = r2 / tan(asin(r2 / d2)))
|
||||||
|
|> tangentialArc(endAbsolute = polar(angle = -220, length = r2))
|
||||||
|
|> tangentialArc(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||||
|
|> close()
|
||||||
|
|> rotate(roll = angle)
|
||||||
|
|
||||||
|
return endCapSketch
|
||||||
|
}
|
||||||
|
|
||||||
|
// Use the defined functions to create a lofted wind turbine blade
|
||||||
|
blade01 = fanBladeSketch(
|
||||||
|
r1 = interfaceDiameter / 2,
|
||||||
|
offsetDistance = bladeLength / 3,
|
||||||
|
angle = -30,
|
||||||
|
armLength = 1.4,
|
||||||
|
)
|
||||||
|
blade02 = fanBladeSketch(
|
||||||
|
r1 = interfaceDiameter / 2,
|
||||||
|
offsetDistance = bladeLength - 1,
|
||||||
|
angle = -20,
|
||||||
|
armLength = 0.4,
|
||||||
|
)
|
||||||
|
loft([baseEnd, blade01, blade02])
|
||||||
|
|> appearance(color = "#ffffff")
|
||||||
|
|
||||||
|
// Use the defined functions to create a lofted end cap
|
||||||
|
cap01 = endCapSketch(
|
||||||
|
r1 = interfaceDiameter / 2,
|
||||||
|
offsetDistance = bladeLength - 1,
|
||||||
|
angle = -20,
|
||||||
|
armLength = 0.4,
|
||||||
|
)
|
||||||
|
cap02 = endCapSketch(
|
||||||
|
r1 = 0.075,
|
||||||
|
offsetDistance = bladeLength,
|
||||||
|
angle = -20,
|
||||||
|
armLength = .1,
|
||||||
|
)
|
||||||
|
loft([cap01, cap02])
|
||||||
|
|> appearance(color = "#ffffff")
|
93
public/kcl-samples/zoo-logo-tag/main.kcl
Normal file
@ -0,0 +1,93 @@
|
|||||||
|
// Zoo Tag
|
||||||
|
// A metal tag with a ZOO logo cutout
|
||||||
|
|
||||||
|
// Set units
|
||||||
|
@settings(defaultLengthUnit = in)
|
||||||
|
|
||||||
|
// Define parameters
|
||||||
|
tagLength = 2
|
||||||
|
tagHeight = 1.125
|
||||||
|
sheetThickness = 0.090
|
||||||
|
|
||||||
|
// Create the tag body
|
||||||
|
tagSketch = startSketchOn(XZ)
|
||||||
|
|> startProfile(at = [.25, 0])
|
||||||
|
|> arc(interiorAbsolute = [0, tagHeight / 2], endAbsolute = [tagLength / 10, tagHeight])
|
||||||
|
|> xLine(length = tagLength * 4 / 5)
|
||||||
|
|> arc(interiorAbsolute = [tagLength, tagHeight / 2], endAbsolute = [tagLength * 9 / 10, 0])
|
||||||
|
|> line(endAbsolute = [profileStartX(%), profileStartY(%)])
|
||||||
|
|> close()
|
||||||
|
|> subtract2d(tool = circle(center = [tagLength / 15, tagHeight / 2], diameter = tagLength / 20))
|
||||||
|
tagBody = extrude(tagSketch, length = sheetThickness)
|
||||||
|
|
||||||
|
// Define a function to draw the ZOO "Z"
|
||||||
|
fn zLogo(surface, origin, fontSize, depth) {
|
||||||
|
zSketch = startSketchOn(surface)
|
||||||
|
|> startProfile(at = [0 + origin[0], 0.15 + origin[1]])
|
||||||
|
|> yLine(length = -0.15)
|
||||||
|
|> xLine(length = 0.15)
|
||||||
|
|> angledLine(angle = 47.15, endAbsoluteX = 0.3 + origin[0], tag = $seg1)
|
||||||
|
|> yLine(endAbsolute = 0 + origin[1], tag = $seg3)
|
||||||
|
|> xLine(length = 0.63)
|
||||||
|
|> yLine(length = 0.225)
|
||||||
|
|> xLine(length = -0.57)
|
||||||
|
|> angledLine(angle = 47.15, endAbsoluteX = 0.93 + origin[0])
|
||||||
|
|> yLine(length = 0.15)
|
||||||
|
|> xLine(length = -0.15)
|
||||||
|
|> angledLine(angle = 47.15, length = -segLen(seg1), tag = $seg2)
|
||||||
|
|> yLine(length = segLen(seg3))
|
||||||
|
|> xLine(endAbsolute = 0 + origin[0])
|
||||||
|
|> yLine(length = -0.225)
|
||||||
|
|> angledLineThatIntersects(angle = 0, intersectTag = seg2, offset = 0)
|
||||||
|
|> close()
|
||||||
|
|> scale(x = fontSize / 72, y = fontSize / 72, z = fontSize / 72)
|
||||||
|
|> extrude(length = depth)
|
||||||
|
|
||||||
|
return zSketch
|
||||||
|
}
|
||||||
|
|
||||||
|
// Define a function to draw the ZOO "O"
|
||||||
|
fn oLogo(surface, origin, fontSize, depth) {
|
||||||
|
otagSketch = startSketchOn(surface)
|
||||||
|
|> startProfile(at = [.788 + origin[0], .921 + origin[1]])
|
||||||
|
|> arc(angleStart = 47.15 + 6, angleEnd = 47.15 - 6 + 180, radius = .525)
|
||||||
|
|> angledLine(angle = 47.15, length = .24)
|
||||||
|
|> arc(angleStart = 47.15 - 11 + 180, angleEnd = 47.15 + 11, radius = .288)
|
||||||
|
|> close(%)
|
||||||
|
|> scale(x = fontSize / 72, y = fontSize / 72, z = fontSize / 72)
|
||||||
|
|> extrude(length = depth)
|
||||||
|
|
||||||
|
oSketch002 = startSketchOn(surface)
|
||||||
|
|> startProfile(at = [.16 + origin[0], .079 + origin[1]])
|
||||||
|
|> arc(angleStart = 47.15 + 6 - 180, angleEnd = 47.15 - 6, radius = .525)
|
||||||
|
|> angledLine(angle = 47.15, length = -.24)
|
||||||
|
|> arc(angleStart = 47.15 - 11, angleEnd = 47.15 + 11 - 180, radius = .288)
|
||||||
|
|> close(%)
|
||||||
|
|> scale(x = fontSize / 72, y = fontSize / 72, z = fontSize / 72)
|
||||||
|
|> extrude(length = depth)
|
||||||
|
return [otagSketch, oSketch002]
|
||||||
|
}
|
||||||
|
|
||||||
|
// Create each letter using the letter functions
|
||||||
|
z = zLogo(
|
||||||
|
surface = XZ,
|
||||||
|
origin = [0.5, .6],
|
||||||
|
fontSize = 36,
|
||||||
|
depth = sheetThickness,
|
||||||
|
)
|
||||||
|
|
||||||
|
o = oLogo(
|
||||||
|
surface = XZ,
|
||||||
|
origin = [1.525, .6],
|
||||||
|
fontSize = 36,
|
||||||
|
depth = sheetThickness,
|
||||||
|
)
|
||||||
|
oo = oLogo(
|
||||||
|
surface = XZ,
|
||||||
|
origin = [2.655, .6],
|
||||||
|
fontSize = 36,
|
||||||
|
depth = sheetThickness,
|
||||||
|
)
|
||||||
|
|
||||||
|
// Cut each letter from the tag body
|
||||||
|
subtract([tagBody], tools = [z, o, oo])
|
@ -652,19 +652,19 @@ flowchart LR
|
|||||||
84 --- 144
|
84 --- 144
|
||||||
84 --- 237
|
84 --- 237
|
||||||
86 --- 168
|
86 --- 168
|
||||||
86 x--> 188
|
86 x--> 189
|
||||||
86 --- 212
|
86 --- 212
|
||||||
86 --- 256
|
86 --- 256
|
||||||
88 --- 169
|
88 --- 169
|
||||||
88 x--> 188
|
88 x--> 189
|
||||||
88 --- 213
|
88 --- 213
|
||||||
88 --- 257
|
88 --- 257
|
||||||
90 --- 167
|
90 --- 167
|
||||||
90 x--> 188
|
90 x--> 189
|
||||||
90 --- 214
|
90 --- 214
|
||||||
90 --- 258
|
90 --- 258
|
||||||
92 --- 170
|
92 --- 170
|
||||||
92 x--> 188
|
92 x--> 189
|
||||||
92 --- 215
|
92 --- 215
|
||||||
92 --- 259
|
92 --- 259
|
||||||
119 --- 133
|
119 --- 133
|
||||||
@ -946,10 +946,10 @@ flowchart LR
|
|||||||
218 <--x 186
|
218 <--x 186
|
||||||
219 <--x 186
|
219 <--x 186
|
||||||
194 <--x 187
|
194 <--x 187
|
||||||
212 <--x 189
|
212 <--x 188
|
||||||
213 <--x 189
|
213 <--x 188
|
||||||
214 <--x 189
|
214 <--x 188
|
||||||
215 <--x 189
|
215 <--x 188
|
||||||
220 <--x 268
|
220 <--x 268
|
||||||
223 <--x 267
|
223 <--x 267
|
||||||
```
|
```
|
||||||
|
Before Width: | Height: | Size: 83 KiB After Width: | Height: | Size: 83 KiB |
@ -87,24 +87,24 @@ flowchart LR
|
|||||||
27 --- 4
|
27 --- 4
|
||||||
8 --- 20
|
8 --- 20
|
||||||
8 x--> 25
|
8 x--> 25
|
||||||
8 --- 33
|
8 --- 30
|
||||||
8 --- 39
|
8 --- 36
|
||||||
9 --- 21
|
9 --- 21
|
||||||
9 x--> 25
|
9 x--> 25
|
||||||
9 --- 30
|
9 --- 32
|
||||||
9 --- 36
|
9 --- 38
|
||||||
10 --- 22
|
10 --- 22
|
||||||
10 x--> 25
|
10 x--> 25
|
||||||
10 --- 32
|
10 --- 29
|
||||||
10 --- 38
|
10 --- 35
|
||||||
11 --- 23
|
11 --- 23
|
||||||
11 x--> 25
|
11 x--> 25
|
||||||
11 --- 31
|
11 --- 31
|
||||||
11 --- 37
|
11 --- 37
|
||||||
12 --- 24
|
12 --- 24
|
||||||
12 x--> 25
|
12 x--> 25
|
||||||
12 --- 29
|
12 --- 33
|
||||||
12 --- 35
|
12 --- 39
|
||||||
14 --- 19
|
14 --- 19
|
||||||
14 x--> 27
|
14 x--> 27
|
||||||
14 --- 28
|
14 --- 28
|
||||||
@ -132,21 +132,21 @@ flowchart LR
|
|||||||
18 --- 34
|
18 --- 34
|
||||||
19 --- 28
|
19 --- 28
|
||||||
19 --- 34
|
19 --- 34
|
||||||
20 --- 33
|
20 --- 30
|
||||||
35 <--x 20
|
20 --- 36
|
||||||
20 --- 39
|
37 <--x 20
|
||||||
21 --- 30
|
21 --- 32
|
||||||
21 --- 36
|
21 --- 38
|
||||||
37 <--x 21
|
39 <--x 21
|
||||||
22 --- 32
|
22 --- 29
|
||||||
22 --- 38
|
22 --- 35
|
||||||
39 <--x 22
|
36 <--x 22
|
||||||
23 --- 31
|
23 --- 31
|
||||||
23 --- 37
|
23 --- 37
|
||||||
38 <--x 23
|
38 <--x 23
|
||||||
24 --- 29
|
24 --- 33
|
||||||
24 --- 35
|
35 <--x 24
|
||||||
36 <--x 24
|
24 --- 39
|
||||||
28 <--x 26
|
28 <--x 26
|
||||||
29 <--x 27
|
29 <--x 27
|
||||||
30 <--x 27
|
30 <--x 27
|
||||||
|
@ -0,0 +1,743 @@
|
|||||||
|
---
|
||||||
|
source: kcl-lib/src/simulation_tests.rs
|
||||||
|
description: Artifact commands cable-gland.kcl
|
||||||
|
---
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"cmdId": "[uuid]",
|
||||||
|
"range": [],
|
||||||
|
"command": {
|
||||||
|
"type": "edge_lines_visible",
|
||||||
|
"hidden": false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"cmdId": "[uuid]",
|
||||||
|
"range": [],
|
||||||
|
"command": {
|
||||||
|
"type": "object_visible",
|
||||||
|
"object_id": "[uuid]",
|
||||||
|
"hidden": true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"cmdId": "[uuid]",
|
||||||
|
"range": [],
|
||||||
|
"command": {
|
||||||
|
"type": "object_visible",
|
||||||
|
"object_id": "[uuid]",
|
||||||
|
"hidden": true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"cmdId": "[uuid]",
|
||||||
|
"range": [],
|
||||||
|
"command": {
|
||||||
|
"type": "make_plane",
|
||||||
|
"origin": {
|
||||||
|
"x": 0.0,
|
||||||
|
"y": 0.0,
|
||||||
|
"z": 0.0
|
||||||
|
},
|
||||||
|
"x_axis": {
|
||||||
|
"x": 1.0,
|
||||||
|
"y": 0.0,
|
||||||
|
"z": 0.0
|
||||||
|
},
|
||||||
|
"y_axis": {
|
||||||
|
"x": 0.0,
|
||||||
|
"y": 1.0,
|
||||||
|
"z": 0.0
|
||||||
|
},
|
||||||
|
"size": 60.0,
|
||||||
|
"clobber": false,
|
||||||
|
"hide": true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"cmdId": "[uuid]",
|
||||||
|
"range": [],
|
||||||
|
"command": {
|
||||||
|
"type": "close_path",
|
||||||
|
"path_id": "[uuid]"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"cmdId": "[uuid]",
|
||||||
|
"range": [],
|
||||||
|
"command": {
|
||||||
|
"type": "enable_sketch_mode",
|
||||||
|
"entity_id": "[uuid]",
|
||||||
|
"ortho": false,
|
||||||
|
"animated": false,
|
||||||
|
"adjust_camera": false,
|
||||||
|
"planar_normal": {
|
||||||
|
"x": 0.0,
|
||||||
|
"y": 0.0,
|
||||||
|
"z": 1.0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"cmdId": "[uuid]",
|
||||||
|
"range": [],
|
||||||
|
"command": {
|
||||||
|
"type": "extend_path",
|
||||||
|
"path": "[uuid]",
|
||||||
|
"segment": {
|
||||||
|
"type": "line",
|
||||||
|
"end": {
|
||||||
|
"x": 10.0,
|
||||||
|
"y": 17.321,
|
||||||
|
"z": 0.0
|
||||||
|
},
|
||||||
|
"relative": false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"cmdId": "[uuid]",
|
||||||
|
"range": [],
|
||||||
|
"command": {
|
||||||
|
"type": "extend_path",
|
||||||
|
"path": "[uuid]",
|
||||||
|
"segment": {
|
||||||
|
"type": "line",
|
||||||
|
"end": {
|
||||||
|
"x": -10.0,
|
||||||
|
"y": 17.321,
|
||||||
|
"z": 0.0
|
||||||
|
},
|
||||||
|
"relative": false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"cmdId": "[uuid]",
|
||||||
|
"range": [],
|
||||||
|
"command": {
|
||||||
|
"type": "extend_path",
|
||||||
|
"path": "[uuid]",
|
||||||
|
"segment": {
|
||||||
|
"type": "line",
|
||||||
|
"end": {
|
||||||
|
"x": -20.0,
|
||||||
|
"y": 0.0,
|
||||||
|
"z": 0.0
|
||||||
|
},
|
||||||
|
"relative": false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"cmdId": "[uuid]",
|
||||||
|
"range": [],
|
||||||
|
"command": {
|
||||||
|
"type": "extend_path",
|
||||||
|
"path": "[uuid]",
|
||||||
|
"segment": {
|
||||||
|
"type": "line",
|
||||||
|
"end": {
|
||||||
|
"x": -10.0,
|
||||||
|
"y": -17.321,
|
||||||
|
"z": 0.0
|
||||||
|
},
|
||||||
|
"relative": false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"cmdId": "[uuid]",
|
||||||
|
"range": [],
|
||||||
|
"command": {
|
||||||
|
"type": "extend_path",
|
||||||
|
"path": "[uuid]",
|
||||||
|
"segment": {
|
||||||
|
"type": "line",
|
||||||
|
"end": {
|
||||||
|
"x": 10.0,
|
||||||
|
"y": -17.321,
|
||||||
|
"z": 0.0
|
||||||
|
},
|
||||||
|
"relative": false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"cmdId": "[uuid]",
|
||||||
|
"range": [],
|
||||||
|
"command": {
|
||||||
|
"type": "extend_path",
|
||||||
|
"path": "[uuid]",
|
||||||
|
"segment": {
|
||||||
|
"type": "line",
|
||||||
|
"end": {
|
||||||
|
"x": 20.0,
|
||||||
|
"y": 0.0,
|
||||||
|
"z": 0.0
|
||||||
|
},
|
||||||
|
"relative": false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"cmdId": "[uuid]",
|
||||||
|
"range": [],
|
||||||
|
"command": {
|
||||||
|
"type": "move_path_pen",
|
||||||
|
"path": "[uuid]",
|
||||||
|
"to": {
|
||||||
|
"x": 20.0,
|
||||||
|
"y": 0.0,
|
||||||
|
"z": 0.0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"cmdId": "[uuid]",
|
||||||
|
"range": [],
|
||||||
|
"command": {
|
||||||
|
"type": "sketch_mode_disable"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"cmdId": "[uuid]",
|
||||||
|
"range": [],
|
||||||
|
"command": {
|
||||||
|
"type": "start_path"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"cmdId": "[uuid]",
|
||||||
|
"range": [],
|
||||||
|
"command": {
|
||||||
|
"type": "object_visible",
|
||||||
|
"object_id": "[uuid]",
|
||||||
|
"hidden": true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"cmdId": "[uuid]",
|
||||||
|
"range": [],
|
||||||
|
"command": {
|
||||||
|
"type": "solid2d_add_hole",
|
||||||
|
"object_id": "[uuid]",
|
||||||
|
"hole_id": "[uuid]"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"cmdId": "[uuid]",
|
||||||
|
"range": [],
|
||||||
|
"command": {
|
||||||
|
"type": "close_path",
|
||||||
|
"path_id": "[uuid]"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"cmdId": "[uuid]",
|
||||||
|
"range": [],
|
||||||
|
"command": {
|
||||||
|
"type": "enable_sketch_mode",
|
||||||
|
"entity_id": "[uuid]",
|
||||||
|
"ortho": false,
|
||||||
|
"animated": false,
|
||||||
|
"adjust_camera": false,
|
||||||
|
"planar_normal": {
|
||||||
|
"x": 0.0,
|
||||||
|
"y": 0.0,
|
||||||
|
"z": 1.0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"cmdId": "[uuid]",
|
||||||
|
"range": [],
|
||||||
|
"command": {
|
||||||
|
"type": "extend_path",
|
||||||
|
"path": "[uuid]",
|
||||||
|
"segment": {
|
||||||
|
"type": "arc",
|
||||||
|
"center": {
|
||||||
|
"x": 0.0,
|
||||||
|
"y": 0.0
|
||||||
|
},
|
||||||
|
"radius": 7.0,
|
||||||
|
"start": {
|
||||||
|
"unit": "degrees",
|
||||||
|
"value": 0.0
|
||||||
|
},
|
||||||
|
"end": {
|
||||||
|
"unit": "degrees",
|
||||||
|
"value": 360.0
|
||||||
|
},
|
||||||
|
"relative": false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"cmdId": "[uuid]",
|
||||||
|
"range": [],
|
||||||
|
"command": {
|
||||||
|
"type": "move_path_pen",
|
||||||
|
"path": "[uuid]",
|
||||||
|
"to": {
|
||||||
|
"x": 7.0,
|
||||||
|
"y": 0.0,
|
||||||
|
"z": 0.0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"cmdId": "[uuid]",
|
||||||
|
"range": [],
|
||||||
|
"command": {
|
||||||
|
"type": "sketch_mode_disable"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"cmdId": "[uuid]",
|
||||||
|
"range": [],
|
||||||
|
"command": {
|
||||||
|
"type": "start_path"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"cmdId": "[uuid]",
|
||||||
|
"range": [],
|
||||||
|
"command": {
|
||||||
|
"type": "enable_sketch_mode",
|
||||||
|
"entity_id": "[uuid]",
|
||||||
|
"ortho": false,
|
||||||
|
"animated": false,
|
||||||
|
"adjust_camera": false,
|
||||||
|
"planar_normal": {
|
||||||
|
"x": 0.0,
|
||||||
|
"y": 0.0,
|
||||||
|
"z": 1.0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"cmdId": "[uuid]",
|
||||||
|
"range": [],
|
||||||
|
"command": {
|
||||||
|
"type": "extrude",
|
||||||
|
"target": "[uuid]",
|
||||||
|
"distance": 40.0,
|
||||||
|
"faces": null,
|
||||||
|
"opposite": "None"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"cmdId": "[uuid]",
|
||||||
|
"range": [],
|
||||||
|
"command": {
|
||||||
|
"type": "object_bring_to_front",
|
||||||
|
"object_id": "[uuid]"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"cmdId": "[uuid]",
|
||||||
|
"range": [],
|
||||||
|
"command": {
|
||||||
|
"type": "sketch_mode_disable"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"cmdId": "[uuid]",
|
||||||
|
"range": [],
|
||||||
|
"command": {
|
||||||
|
"type": "solid3d_get_adjacency_info",
|
||||||
|
"object_id": "[uuid]",
|
||||||
|
"edge_id": "[uuid]"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"cmdId": "[uuid]",
|
||||||
|
"range": [],
|
||||||
|
"command": {
|
||||||
|
"type": "solid3d_get_extrusion_face_info",
|
||||||
|
"object_id": "[uuid]",
|
||||||
|
"edge_id": "[uuid]"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"cmdId": "[uuid]",
|
||||||
|
"range": [],
|
||||||
|
"command": {
|
||||||
|
"type": "make_plane",
|
||||||
|
"origin": {
|
||||||
|
"x": 0.0,
|
||||||
|
"y": 0.0,
|
||||||
|
"z": 0.0
|
||||||
|
},
|
||||||
|
"x_axis": {
|
||||||
|
"x": 0.0,
|
||||||
|
"y": 1.0,
|
||||||
|
"z": 0.0
|
||||||
|
},
|
||||||
|
"y_axis": {
|
||||||
|
"x": 0.0,
|
||||||
|
"y": 0.0,
|
||||||
|
"z": 1.0
|
||||||
|
},
|
||||||
|
"size": 60.0,
|
||||||
|
"clobber": false,
|
||||||
|
"hide": true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"cmdId": "[uuid]",
|
||||||
|
"range": [],
|
||||||
|
"command": {
|
||||||
|
"type": "enable_sketch_mode",
|
||||||
|
"entity_id": "[uuid]",
|
||||||
|
"ortho": false,
|
||||||
|
"animated": false,
|
||||||
|
"adjust_camera": false,
|
||||||
|
"planar_normal": {
|
||||||
|
"x": 1.0,
|
||||||
|
"y": 0.0,
|
||||||
|
"z": 0.0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"cmdId": "[uuid]",
|
||||||
|
"range": [],
|
||||||
|
"command": {
|
||||||
|
"type": "move_path_pen",
|
||||||
|
"path": "[uuid]",
|
||||||
|
"to": {
|
||||||
|
"x": 12.0,
|
||||||
|
"y": -0.01,
|
||||||
|
"z": 0.0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"cmdId": "[uuid]",
|
||||||
|
"range": [],
|
||||||
|
"command": {
|
||||||
|
"type": "sketch_mode_disable"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"cmdId": "[uuid]",
|
||||||
|
"range": [],
|
||||||
|
"command": {
|
||||||
|
"type": "start_path"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"cmdId": "[uuid]",
|
||||||
|
"range": [],
|
||||||
|
"command": {
|
||||||
|
"type": "extend_path",
|
||||||
|
"path": "[uuid]",
|
||||||
|
"segment": {
|
||||||
|
"type": "line",
|
||||||
|
"end": {
|
||||||
|
"x": 19.5,
|
||||||
|
"y": 2.0,
|
||||||
|
"z": 0.0
|
||||||
|
},
|
||||||
|
"relative": false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"cmdId": "[uuid]",
|
||||||
|
"range": [],
|
||||||
|
"command": {
|
||||||
|
"type": "extend_path",
|
||||||
|
"path": "[uuid]",
|
||||||
|
"segment": {
|
||||||
|
"type": "line",
|
||||||
|
"end": {
|
||||||
|
"x": 0.0,
|
||||||
|
"y": 6.667,
|
||||||
|
"z": 0.0
|
||||||
|
},
|
||||||
|
"relative": true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"cmdId": "[uuid]",
|
||||||
|
"range": [],
|
||||||
|
"command": {
|
||||||
|
"type": "extend_path",
|
||||||
|
"path": "[uuid]",
|
||||||
|
"segment": {
|
||||||
|
"type": "line",
|
||||||
|
"end": {
|
||||||
|
"x": 12.0,
|
||||||
|
"y": 10.676,
|
||||||
|
"z": 0.0
|
||||||
|
},
|
||||||
|
"relative": false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"cmdId": "[uuid]",
|
||||||
|
"range": [],
|
||||||
|
"command": {
|
||||||
|
"type": "extend_path",
|
||||||
|
"path": "[uuid]",
|
||||||
|
"segment": {
|
||||||
|
"type": "line",
|
||||||
|
"end": {
|
||||||
|
"x": 0.0,
|
||||||
|
"y": 4.444,
|
||||||
|
"z": 0.0
|
||||||
|
},
|
||||||
|
"relative": true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"cmdId": "[uuid]",
|
||||||
|
"range": [],
|
||||||
|
"command": {
|
||||||
|
"type": "extend_path",
|
||||||
|
"path": "[uuid]",
|
||||||
|
"segment": {
|
||||||
|
"type": "line",
|
||||||
|
"end": {
|
||||||
|
"x": -0.9,
|
||||||
|
"y": 0.0,
|
||||||
|
"z": 0.0
|
||||||
|
},
|
||||||
|
"relative": true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"cmdId": "[uuid]",
|
||||||
|
"range": [],
|
||||||
|
"command": {
|
||||||
|
"type": "extend_path",
|
||||||
|
"path": "[uuid]",
|
||||||
|
"segment": {
|
||||||
|
"type": "line",
|
||||||
|
"end": {
|
||||||
|
"x": 0.0,
|
||||||
|
"y": 5.0,
|
||||||
|
"z": 0.0
|
||||||
|
},
|
||||||
|
"relative": true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"cmdId": "[uuid]",
|
||||||
|
"range": [],
|
||||||
|
"command": {
|
||||||
|
"type": "extend_path",
|
||||||
|
"path": "[uuid]",
|
||||||
|
"segment": {
|
||||||
|
"type": "line",
|
||||||
|
"end": {
|
||||||
|
"x": 19.5,
|
||||||
|
"y": 22.371,
|
||||||
|
"z": 0.0
|
||||||
|
},
|
||||||
|
"relative": false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"cmdId": "[uuid]",
|
||||||
|
"range": [],
|
||||||
|
"command": {
|
||||||
|
"type": "extend_path",
|
||||||
|
"path": "[uuid]",
|
||||||
|
"segment": {
|
||||||
|
"type": "line",
|
||||||
|
"end": {
|
||||||
|
"x": 0.0,
|
||||||
|
"y": 6.667,
|
||||||
|
"z": 0.0
|
||||||
|
},
|
||||||
|
"relative": true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"cmdId": "[uuid]",
|
||||||
|
"range": [],
|
||||||
|
"command": {
|
||||||
|
"type": "extend_path",
|
||||||
|
"path": "[uuid]",
|
||||||
|
"segment": {
|
||||||
|
"type": "line",
|
||||||
|
"end": {
|
||||||
|
"x": 9.0,
|
||||||
|
"y": 29.956,
|
||||||
|
"z": 0.0
|
||||||
|
},
|
||||||
|
"relative": false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"cmdId": "[uuid]",
|
||||||
|
"range": [],
|
||||||
|
"command": {
|
||||||
|
"type": "extend_path",
|
||||||
|
"path": "[uuid]",
|
||||||
|
"segment": {
|
||||||
|
"type": "line",
|
||||||
|
"end": {
|
||||||
|
"x": 9.0,
|
||||||
|
"y": 40.1,
|
||||||
|
"z": 0.0
|
||||||
|
},
|
||||||
|
"relative": false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"cmdId": "[uuid]",
|
||||||
|
"range": [],
|
||||||
|
"command": {
|
||||||
|
"type": "extend_path",
|
||||||
|
"path": "[uuid]",
|
||||||
|
"segment": {
|
||||||
|
"type": "line",
|
||||||
|
"end": {
|
||||||
|
"x": 22.857,
|
||||||
|
"y": 40.1,
|
||||||
|
"z": 0.0
|
||||||
|
},
|
||||||
|
"relative": false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"cmdId": "[uuid]",
|
||||||
|
"range": [],
|
||||||
|
"command": {
|
||||||
|
"type": "extend_path",
|
||||||
|
"path": "[uuid]",
|
||||||
|
"segment": {
|
||||||
|
"type": "line",
|
||||||
|
"end": {
|
||||||
|
"x": 22.857,
|
||||||
|
"y": 0.0,
|
||||||
|
"z": 0.0
|
||||||
|
},
|
||||||
|
"relative": false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"cmdId": "[uuid]",
|
||||||
|
"range": [],
|
||||||
|
"command": {
|
||||||
|
"type": "extend_path",
|
||||||
|
"path": "[uuid]",
|
||||||
|
"segment": {
|
||||||
|
"type": "line",
|
||||||
|
"end": {
|
||||||
|
"x": 12.0,
|
||||||
|
"y": -0.01,
|
||||||
|
"z": 0.0
|
||||||
|
},
|
||||||
|
"relative": false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"cmdId": "[uuid]",
|
||||||
|
"range": [],
|
||||||
|
"command": {
|
||||||
|
"type": "close_path",
|
||||||
|
"path_id": "[uuid]"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"cmdId": "[uuid]",
|
||||||
|
"range": [],
|
||||||
|
"command": {
|
||||||
|
"type": "object_bring_to_front",
|
||||||
|
"object_id": "[uuid]"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"cmdId": "[uuid]",
|
||||||
|
"range": [],
|
||||||
|
"command": {
|
||||||
|
"type": "revolve",
|
||||||
|
"target": "[uuid]",
|
||||||
|
"origin": {
|
||||||
|
"x": 0.0,
|
||||||
|
"y": 0.0,
|
||||||
|
"z": 0.0
|
||||||
|
},
|
||||||
|
"axis": {
|
||||||
|
"x": 0.0,
|
||||||
|
"y": 1.0,
|
||||||
|
"z": 0.0
|
||||||
|
},
|
||||||
|
"axis_is_2d": true,
|
||||||
|
"angle": {
|
||||||
|
"unit": "degrees",
|
||||||
|
"value": 360.0
|
||||||
|
},
|
||||||
|
"tolerance": 0.0000001,
|
||||||
|
"opposite": "None"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"cmdId": "[uuid]",
|
||||||
|
"range": [],
|
||||||
|
"command": {
|
||||||
|
"type": "solid3d_get_adjacency_info",
|
||||||
|
"object_id": "[uuid]",
|
||||||
|
"edge_id": "[uuid]"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"cmdId": "[uuid]",
|
||||||
|
"range": [],
|
||||||
|
"command": {
|
||||||
|
"type": "solid3d_get_extrusion_face_info",
|
||||||
|
"object_id": "[uuid]",
|
||||||
|
"edge_id": "[uuid]"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"cmdId": "[uuid]",
|
||||||
|
"range": [],
|
||||||
|
"command": {
|
||||||
|
"type": "boolean_subtract",
|
||||||
|
"target_ids": [
|
||||||
|
"[uuid]"
|
||||||
|
],
|
||||||
|
"tool_ids": [
|
||||||
|
"[uuid]"
|
||||||
|
],
|
||||||
|
"tolerance": 0.0000001
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"cmdId": "[uuid]",
|
||||||
|
"range": [],
|
||||||
|
"command": {
|
||||||
|
"type": "object_set_material_params_pbr",
|
||||||
|
"object_id": "[uuid]",
|
||||||
|
"color": {
|
||||||
|
"r": 0.9490196,
|
||||||
|
"g": 0.40392157,
|
||||||
|
"b": 0.10980392,
|
||||||
|
"a": 100.0
|
||||||
|
},
|
||||||
|
"metalness": 0.7,
|
||||||
|
"roughness": 0.3,
|
||||||
|
"ambient_occlusion": 0.0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
source: kcl-lib/src/simulation_tests.rs
|
||||||
|
description: Artifact graph flowchart cable-gland.kcl
|
||||||
|
extension: md
|
||||||
|
snapshot_kind: binary
|
||||||
|
---
|
@ -0,0 +1,326 @@
|
|||||||
|
```mermaid
|
||||||
|
flowchart LR
|
||||||
|
subgraph path3 [Path]
|
||||||
|
3["Path<br>[511, 569, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
|
||||||
|
6["Segment<br>[511, 569, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
|
||||||
|
7["Segment<br>[511, 569, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
|
||||||
|
8["Segment<br>[511, 569, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
|
||||||
|
9["Segment<br>[511, 569, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
|
||||||
|
10["Segment<br>[511, 569, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
|
||||||
|
11["Segment<br>[511, 569, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
|
||||||
|
12["Segment<br>[511, 569, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
|
||||||
|
28[Solid2d]
|
||||||
|
end
|
||||||
|
subgraph path4 [Path]
|
||||||
|
4["Path<br>[593, 642, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }, CallKwArg { index: 0 }]
|
||||||
|
13["Segment<br>[593, 642, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }, CallKwArg { index: 0 }]
|
||||||
|
30[Solid2d]
|
||||||
|
end
|
||||||
|
subgraph path5 [Path]
|
||||||
|
5["Path<br>[759, 808, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
|
||||||
|
14["Segment<br>[814, 861, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
|
||||||
|
15["Segment<br>[867, 893, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
|
||||||
|
16["Segment<br>[899, 955, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
|
||||||
|
17["Segment<br>[961, 987, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 5 }]
|
||||||
|
18["Segment<br>[993, 1013, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 6 }]
|
||||||
|
19["Segment<br>[1019, 1045, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 7 }]
|
||||||
|
20["Segment<br>[1051, 1098, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 8 }]
|
||||||
|
21["Segment<br>[1104, 1130, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 9 }]
|
||||||
|
22["Segment<br>[1136, 1196, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 10 }]
|
||||||
|
23["Segment<br>[1202, 1235, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 11 }]
|
||||||
|
24["Segment<br>[1241, 1274, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 12 }]
|
||||||
|
25["Segment<br>[1280, 1302, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 13 }]
|
||||||
|
26["Segment<br>[1308, 1342, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 14 }]
|
||||||
|
27["Segment<br>[1348, 1355, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 15 }]
|
||||||
|
29[Solid2d]
|
||||||
|
end
|
||||||
|
1["Plane<br>[488, 505, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
|
||||||
|
2["Plane<br>[736, 753, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
|
||||||
|
31["Sweep Extrusion<br>[649, 664, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
|
||||||
|
32["Sweep Revolve<br>[1361, 1378, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 16 }]
|
||||||
|
33["CompositeSolid Subtract<br>[1379, 1417, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 6 }, ExpressionStatementExpr, PipeBodyItem { index: 0 }]
|
||||||
|
34[Wall]
|
||||||
|
%% face_code_ref=Missing NodePath
|
||||||
|
35[Wall]
|
||||||
|
%% face_code_ref=Missing NodePath
|
||||||
|
36[Wall]
|
||||||
|
%% face_code_ref=Missing NodePath
|
||||||
|
37[Wall]
|
||||||
|
%% face_code_ref=Missing NodePath
|
||||||
|
38[Wall]
|
||||||
|
%% face_code_ref=Missing NodePath
|
||||||
|
39[Wall]
|
||||||
|
%% face_code_ref=Missing NodePath
|
||||||
|
40[Wall]
|
||||||
|
%% face_code_ref=Missing NodePath
|
||||||
|
41[Wall]
|
||||||
|
%% face_code_ref=Missing NodePath
|
||||||
|
42[Wall]
|
||||||
|
%% face_code_ref=Missing NodePath
|
||||||
|
43[Wall]
|
||||||
|
%% face_code_ref=Missing NodePath
|
||||||
|
44[Wall]
|
||||||
|
%% face_code_ref=Missing NodePath
|
||||||
|
45[Wall]
|
||||||
|
%% face_code_ref=Missing NodePath
|
||||||
|
46[Wall]
|
||||||
|
%% face_code_ref=Missing NodePath
|
||||||
|
47[Wall]
|
||||||
|
%% face_code_ref=Missing NodePath
|
||||||
|
48[Wall]
|
||||||
|
%% face_code_ref=Missing NodePath
|
||||||
|
49[Wall]
|
||||||
|
%% face_code_ref=Missing NodePath
|
||||||
|
50[Wall]
|
||||||
|
%% face_code_ref=Missing NodePath
|
||||||
|
51[Wall]
|
||||||
|
%% face_code_ref=Missing NodePath
|
||||||
|
52[Wall]
|
||||||
|
%% face_code_ref=Missing NodePath
|
||||||
|
53["Cap Start"]
|
||||||
|
%% face_code_ref=Missing NodePath
|
||||||
|
54["Cap End"]
|
||||||
|
%% face_code_ref=Missing NodePath
|
||||||
|
55["SweepEdge Opposite"]
|
||||||
|
56["SweepEdge Opposite"]
|
||||||
|
57["SweepEdge Opposite"]
|
||||||
|
58["SweepEdge Opposite"]
|
||||||
|
59["SweepEdge Opposite"]
|
||||||
|
60["SweepEdge Opposite"]
|
||||||
|
61["SweepEdge Adjacent"]
|
||||||
|
62["SweepEdge Adjacent"]
|
||||||
|
63["SweepEdge Adjacent"]
|
||||||
|
64["SweepEdge Adjacent"]
|
||||||
|
65["SweepEdge Adjacent"]
|
||||||
|
66["SweepEdge Adjacent"]
|
||||||
|
67["SweepEdge Adjacent"]
|
||||||
|
68["SweepEdge Adjacent"]
|
||||||
|
69["SweepEdge Adjacent"]
|
||||||
|
70["SweepEdge Adjacent"]
|
||||||
|
71["SweepEdge Adjacent"]
|
||||||
|
72["SweepEdge Adjacent"]
|
||||||
|
73["SweepEdge Adjacent"]
|
||||||
|
74["SweepEdge Adjacent"]
|
||||||
|
75["SweepEdge Adjacent"]
|
||||||
|
76["SweepEdge Adjacent"]
|
||||||
|
77["SweepEdge Adjacent"]
|
||||||
|
78["SweepEdge Adjacent"]
|
||||||
|
1 --- 3
|
||||||
|
1 --- 4
|
||||||
|
2 --- 5
|
||||||
|
3 --- 6
|
||||||
|
3 --- 7
|
||||||
|
3 --- 8
|
||||||
|
3 --- 9
|
||||||
|
3 --- 10
|
||||||
|
3 --- 11
|
||||||
|
3 --- 12
|
||||||
|
3 --- 28
|
||||||
|
3 ---- 31
|
||||||
|
3 --- 33
|
||||||
|
4 --- 13
|
||||||
|
4 --- 30
|
||||||
|
5 --- 14
|
||||||
|
5 --- 15
|
||||||
|
5 --- 16
|
||||||
|
5 --- 17
|
||||||
|
5 --- 18
|
||||||
|
5 --- 19
|
||||||
|
5 --- 20
|
||||||
|
5 --- 21
|
||||||
|
5 --- 22
|
||||||
|
5 --- 23
|
||||||
|
5 --- 24
|
||||||
|
5 --- 25
|
||||||
|
5 --- 26
|
||||||
|
5 --- 27
|
||||||
|
5 --- 29
|
||||||
|
5 ---- 32
|
||||||
|
5 --- 33
|
||||||
|
6 --- 34
|
||||||
|
6 x--> 53
|
||||||
|
6 --- 60
|
||||||
|
6 --- 66
|
||||||
|
7 --- 35
|
||||||
|
7 x--> 53
|
||||||
|
7 --- 59
|
||||||
|
7 --- 65
|
||||||
|
8 --- 36
|
||||||
|
8 x--> 53
|
||||||
|
8 --- 57
|
||||||
|
8 --- 63
|
||||||
|
9 --- 37
|
||||||
|
9 x--> 53
|
||||||
|
9 --- 56
|
||||||
|
9 --- 62
|
||||||
|
10 --- 38
|
||||||
|
10 x--> 53
|
||||||
|
10 --- 58
|
||||||
|
10 --- 64
|
||||||
|
12 --- 39
|
||||||
|
12 x--> 53
|
||||||
|
12 --- 55
|
||||||
|
12 --- 61
|
||||||
|
32 <--x 14
|
||||||
|
14 --- 44
|
||||||
|
14 x--> 67
|
||||||
|
32 <--x 15
|
||||||
|
15 --- 40
|
||||||
|
15 --- 67
|
||||||
|
32 <--x 16
|
||||||
|
16 --- 52
|
||||||
|
16 --- 68
|
||||||
|
32 <--x 17
|
||||||
|
17 --- 41
|
||||||
|
17 --- 69
|
||||||
|
32 <--x 18
|
||||||
|
18 --- 49
|
||||||
|
18 --- 70
|
||||||
|
32 <--x 19
|
||||||
|
19 --- 45
|
||||||
|
19 --- 71
|
||||||
|
32 <--x 20
|
||||||
|
20 --- 43
|
||||||
|
20 --- 72
|
||||||
|
32 <--x 21
|
||||||
|
21 --- 48
|
||||||
|
21 --- 73
|
||||||
|
32 <--x 22
|
||||||
|
22 --- 42
|
||||||
|
22 --- 74
|
||||||
|
32 <--x 23
|
||||||
|
23 --- 50
|
||||||
|
23 --- 75
|
||||||
|
32 <--x 24
|
||||||
|
24 --- 51
|
||||||
|
24 --- 76
|
||||||
|
32 <--x 25
|
||||||
|
25 --- 47
|
||||||
|
25 --- 77
|
||||||
|
32 <--x 26
|
||||||
|
26 --- 46
|
||||||
|
26 --- 78
|
||||||
|
31 --- 34
|
||||||
|
31 --- 35
|
||||||
|
31 --- 36
|
||||||
|
31 --- 37
|
||||||
|
31 --- 38
|
||||||
|
31 --- 39
|
||||||
|
31 --- 53
|
||||||
|
31 --- 54
|
||||||
|
31 --- 55
|
||||||
|
31 --- 56
|
||||||
|
31 --- 57
|
||||||
|
31 --- 58
|
||||||
|
31 --- 59
|
||||||
|
31 --- 60
|
||||||
|
31 --- 61
|
||||||
|
31 --- 62
|
||||||
|
31 --- 63
|
||||||
|
31 --- 64
|
||||||
|
31 --- 65
|
||||||
|
31 --- 66
|
||||||
|
32 --- 40
|
||||||
|
32 --- 41
|
||||||
|
32 --- 42
|
||||||
|
32 --- 43
|
||||||
|
32 --- 44
|
||||||
|
32 --- 45
|
||||||
|
32 --- 46
|
||||||
|
32 --- 47
|
||||||
|
32 --- 48
|
||||||
|
32 --- 49
|
||||||
|
32 --- 50
|
||||||
|
32 --- 51
|
||||||
|
32 --- 52
|
||||||
|
32 --- 67
|
||||||
|
32 --- 68
|
||||||
|
32 --- 69
|
||||||
|
32 --- 70
|
||||||
|
32 --- 71
|
||||||
|
32 --- 72
|
||||||
|
32 --- 73
|
||||||
|
32 --- 74
|
||||||
|
32 --- 75
|
||||||
|
32 --- 76
|
||||||
|
32 --- 77
|
||||||
|
32 --- 78
|
||||||
|
34 --- 60
|
||||||
|
65 <--x 34
|
||||||
|
34 --- 66
|
||||||
|
35 --- 59
|
||||||
|
64 <--x 35
|
||||||
|
35 --- 65
|
||||||
|
36 --- 57
|
||||||
|
62 <--x 36
|
||||||
|
36 --- 63
|
||||||
|
37 --- 56
|
||||||
|
61 <--x 37
|
||||||
|
37 --- 62
|
||||||
|
38 --- 58
|
||||||
|
63 <--x 38
|
||||||
|
38 --- 64
|
||||||
|
39 --- 55
|
||||||
|
39 --- 61
|
||||||
|
66 <--x 39
|
||||||
|
40 --- 67
|
||||||
|
68 <--x 41
|
||||||
|
41 --- 69
|
||||||
|
73 <--x 42
|
||||||
|
42 --- 74
|
||||||
|
71 <--x 43
|
||||||
|
43 --- 72
|
||||||
|
44 --- 67
|
||||||
|
78 <--x 44
|
||||||
|
70 <--x 45
|
||||||
|
45 --- 71
|
||||||
|
77 <--x 46
|
||||||
|
46 --- 78
|
||||||
|
76 <--x 47
|
||||||
|
47 --- 77
|
||||||
|
72 <--x 48
|
||||||
|
48 --- 73
|
||||||
|
69 <--x 49
|
||||||
|
49 --- 70
|
||||||
|
74 <--x 50
|
||||||
|
50 --- 75
|
||||||
|
75 <--x 51
|
||||||
|
51 --- 76
|
||||||
|
52 --- 68
|
||||||
|
55 <--x 54
|
||||||
|
56 <--x 54
|
||||||
|
57 <--x 54
|
||||||
|
58 <--x 54
|
||||||
|
59 <--x 54
|
||||||
|
60 <--x 54
|
||||||
|
```
|
2064
rust/kcl-lib/tests/kcl_samples/cable-gland/ast.snap
Normal file
210
rust/kcl-lib/tests/kcl_samples/cable-gland/ops.snap
Normal file
@ -0,0 +1,210 @@
|
|||||||
|
---
|
||||||
|
source: kcl-lib/src/simulation_tests.rs
|
||||||
|
description: Operations executed cable-gland.kcl
|
||||||
|
---
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"type": "StdLibCall",
|
||||||
|
"name": "startSketchOn",
|
||||||
|
"unlabeledArg": {
|
||||||
|
"value": {
|
||||||
|
"type": "Plane",
|
||||||
|
"artifact_id": "[uuid]"
|
||||||
|
},
|
||||||
|
"sourceRange": []
|
||||||
|
},
|
||||||
|
"labeledArgs": {},
|
||||||
|
"sourceRange": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "StdLibCall",
|
||||||
|
"name": "subtract2d",
|
||||||
|
"unlabeledArg": {
|
||||||
|
"value": {
|
||||||
|
"type": "Sketch",
|
||||||
|
"value": {
|
||||||
|
"artifactId": "[uuid]"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"sourceRange": []
|
||||||
|
},
|
||||||
|
"labeledArgs": {
|
||||||
|
"tool": {
|
||||||
|
"value": {
|
||||||
|
"type": "Sketch",
|
||||||
|
"value": {
|
||||||
|
"artifactId": "[uuid]"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"sourceRange": []
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"sourceRange": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "StdLibCall",
|
||||||
|
"name": "extrude",
|
||||||
|
"unlabeledArg": {
|
||||||
|
"value": {
|
||||||
|
"type": "Sketch",
|
||||||
|
"value": {
|
||||||
|
"artifactId": "[uuid]"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"sourceRange": []
|
||||||
|
},
|
||||||
|
"labeledArgs": {
|
||||||
|
"length": {
|
||||||
|
"value": {
|
||||||
|
"type": "Number",
|
||||||
|
"value": 40.0,
|
||||||
|
"ty": {
|
||||||
|
"type": "Default",
|
||||||
|
"len": {
|
||||||
|
"type": "Mm"
|
||||||
|
},
|
||||||
|
"angle": {
|
||||||
|
"type": "Degrees"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"sourceRange": []
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"sourceRange": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "StdLibCall",
|
||||||
|
"name": "startSketchOn",
|
||||||
|
"unlabeledArg": {
|
||||||
|
"value": {
|
||||||
|
"type": "Plane",
|
||||||
|
"artifact_id": "[uuid]"
|
||||||
|
},
|
||||||
|
"sourceRange": []
|
||||||
|
},
|
||||||
|
"labeledArgs": {},
|
||||||
|
"sourceRange": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "StdLibCall",
|
||||||
|
"name": "revolve",
|
||||||
|
"unlabeledArg": {
|
||||||
|
"value": {
|
||||||
|
"type": "Sketch",
|
||||||
|
"value": {
|
||||||
|
"artifactId": "[uuid]"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"sourceRange": []
|
||||||
|
},
|
||||||
|
"labeledArgs": {
|
||||||
|
"axis": {
|
||||||
|
"value": {
|
||||||
|
"type": "Object",
|
||||||
|
"value": {
|
||||||
|
"direction": {
|
||||||
|
"type": "Array",
|
||||||
|
"value": [
|
||||||
|
{
|
||||||
|
"type": "Number",
|
||||||
|
"value": 0.0,
|
||||||
|
"ty": {
|
||||||
|
"type": "Default",
|
||||||
|
"len": {
|
||||||
|
"type": "Mm"
|
||||||
|
},
|
||||||
|
"angle": {
|
||||||
|
"type": "Degrees"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "Number",
|
||||||
|
"value": 1.0,
|
||||||
|
"ty": {
|
||||||
|
"type": "Default",
|
||||||
|
"len": {
|
||||||
|
"type": "Mm"
|
||||||
|
},
|
||||||
|
"angle": {
|
||||||
|
"type": "Degrees"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"origin": {
|
||||||
|
"type": "Array",
|
||||||
|
"value": [
|
||||||
|
{
|
||||||
|
"type": "Number",
|
||||||
|
"value": 0.0,
|
||||||
|
"ty": {
|
||||||
|
"type": "Default",
|
||||||
|
"len": {
|
||||||
|
"type": "Mm"
|
||||||
|
},
|
||||||
|
"angle": {
|
||||||
|
"type": "Degrees"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "Number",
|
||||||
|
"value": 0.0,
|
||||||
|
"ty": {
|
||||||
|
"type": "Default",
|
||||||
|
"len": {
|
||||||
|
"type": "Mm"
|
||||||
|
},
|
||||||
|
"angle": {
|
||||||
|
"type": "Degrees"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"sourceRange": []
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"sourceRange": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "StdLibCall",
|
||||||
|
"name": "subtract",
|
||||||
|
"unlabeledArg": {
|
||||||
|
"value": {
|
||||||
|
"type": "Array",
|
||||||
|
"value": [
|
||||||
|
{
|
||||||
|
"type": "Solid",
|
||||||
|
"value": {
|
||||||
|
"artifactId": "[uuid]"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"sourceRange": []
|
||||||
|
},
|
||||||
|
"labeledArgs": {
|
||||||
|
"tools": {
|
||||||
|
"value": {
|
||||||
|
"type": "Array",
|
||||||
|
"value": [
|
||||||
|
{
|
||||||
|
"type": "Solid",
|
||||||
|
"value": {
|
||||||
|
"artifactId": "[uuid]"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"sourceRange": []
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"sourceRange": []
|
||||||
|
}
|
||||||
|
]
|
723
rust/kcl-lib/tests/kcl_samples/cable-gland/program_memory.snap
Normal file
@ -0,0 +1,723 @@
|
|||||||
|
---
|
||||||
|
source: kcl-lib/src/simulation_tests.rs
|
||||||
|
description: Variables in memory after executing cable-gland.kcl
|
||||||
|
---
|
||||||
|
{
|
||||||
|
"cableDiameter": {
|
||||||
|
"type": "Number",
|
||||||
|
"value": 14.0,
|
||||||
|
"ty": {
|
||||||
|
"type": "Default",
|
||||||
|
"len": {
|
||||||
|
"type": "Mm"
|
||||||
|
},
|
||||||
|
"angle": {
|
||||||
|
"type": "Degrees"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"core": {
|
||||||
|
"type": "Solid",
|
||||||
|
"value": {
|
||||||
|
"type": "Solid",
|
||||||
|
"id": "[uuid]",
|
||||||
|
"artifactId": "[uuid]",
|
||||||
|
"value": [
|
||||||
|
{
|
||||||
|
"faceId": "[uuid]",
|
||||||
|
"id": "[uuid]",
|
||||||
|
"sourceRange": [],
|
||||||
|
"tag": null,
|
||||||
|
"type": "extrudePlane"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"faceId": "[uuid]",
|
||||||
|
"id": "[uuid]",
|
||||||
|
"sourceRange": [],
|
||||||
|
"tag": null,
|
||||||
|
"type": "extrudePlane"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"faceId": "[uuid]",
|
||||||
|
"id": "[uuid]",
|
||||||
|
"sourceRange": [],
|
||||||
|
"tag": null,
|
||||||
|
"type": "extrudePlane"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"faceId": "[uuid]",
|
||||||
|
"id": "[uuid]",
|
||||||
|
"sourceRange": [],
|
||||||
|
"tag": null,
|
||||||
|
"type": "extrudePlane"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"faceId": "[uuid]",
|
||||||
|
"id": "[uuid]",
|
||||||
|
"sourceRange": [],
|
||||||
|
"tag": null,
|
||||||
|
"type": "extrudePlane"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"faceId": "[uuid]",
|
||||||
|
"id": "[uuid]",
|
||||||
|
"sourceRange": [],
|
||||||
|
"tag": null,
|
||||||
|
"type": "extrudePlane"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"sketch": {
|
||||||
|
"type": "Sketch",
|
||||||
|
"id": "[uuid]",
|
||||||
|
"paths": [
|
||||||
|
{
|
||||||
|
"__geoMeta": {
|
||||||
|
"id": "[uuid]",
|
||||||
|
"sourceRange": []
|
||||||
|
},
|
||||||
|
"from": [
|
||||||
|
20.0,
|
||||||
|
0.0
|
||||||
|
],
|
||||||
|
"tag": null,
|
||||||
|
"to": [
|
||||||
|
10.0,
|
||||||
|
17.321
|
||||||
|
],
|
||||||
|
"type": "ToPoint",
|
||||||
|
"units": {
|
||||||
|
"type": "Mm"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__geoMeta": {
|
||||||
|
"id": "[uuid]",
|
||||||
|
"sourceRange": []
|
||||||
|
},
|
||||||
|
"from": [
|
||||||
|
10.0,
|
||||||
|
17.321
|
||||||
|
],
|
||||||
|
"tag": null,
|
||||||
|
"to": [
|
||||||
|
-10.0,
|
||||||
|
17.321
|
||||||
|
],
|
||||||
|
"type": "ToPoint",
|
||||||
|
"units": {
|
||||||
|
"type": "Mm"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__geoMeta": {
|
||||||
|
"id": "[uuid]",
|
||||||
|
"sourceRange": []
|
||||||
|
},
|
||||||
|
"from": [
|
||||||
|
-10.0,
|
||||||
|
17.321
|
||||||
|
],
|
||||||
|
"tag": null,
|
||||||
|
"to": [
|
||||||
|
-20.0,
|
||||||
|
0.0
|
||||||
|
],
|
||||||
|
"type": "ToPoint",
|
||||||
|
"units": {
|
||||||
|
"type": "Mm"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__geoMeta": {
|
||||||
|
"id": "[uuid]",
|
||||||
|
"sourceRange": []
|
||||||
|
},
|
||||||
|
"from": [
|
||||||
|
-20.0,
|
||||||
|
0.0
|
||||||
|
],
|
||||||
|
"tag": null,
|
||||||
|
"to": [
|
||||||
|
-10.0,
|
||||||
|
-17.321
|
||||||
|
],
|
||||||
|
"type": "ToPoint",
|
||||||
|
"units": {
|
||||||
|
"type": "Mm"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__geoMeta": {
|
||||||
|
"id": "[uuid]",
|
||||||
|
"sourceRange": []
|
||||||
|
},
|
||||||
|
"from": [
|
||||||
|
-10.0,
|
||||||
|
-17.321
|
||||||
|
],
|
||||||
|
"tag": null,
|
||||||
|
"to": [
|
||||||
|
10.0,
|
||||||
|
-17.321
|
||||||
|
],
|
||||||
|
"type": "ToPoint",
|
||||||
|
"units": {
|
||||||
|
"type": "Mm"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__geoMeta": {
|
||||||
|
"id": "[uuid]",
|
||||||
|
"sourceRange": []
|
||||||
|
},
|
||||||
|
"from": [
|
||||||
|
10.0,
|
||||||
|
-17.321
|
||||||
|
],
|
||||||
|
"tag": null,
|
||||||
|
"to": [
|
||||||
|
20.0,
|
||||||
|
0.0
|
||||||
|
],
|
||||||
|
"type": "ToPoint",
|
||||||
|
"units": {
|
||||||
|
"type": "Mm"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"on": {
|
||||||
|
"artifactId": "[uuid]",
|
||||||
|
"id": "[uuid]",
|
||||||
|
"origin": {
|
||||||
|
"x": 0.0,
|
||||||
|
"y": 0.0,
|
||||||
|
"z": 0.0,
|
||||||
|
"units": {
|
||||||
|
"type": "Mm"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"type": "plane",
|
||||||
|
"value": "XY",
|
||||||
|
"xAxis": {
|
||||||
|
"x": 1.0,
|
||||||
|
"y": 0.0,
|
||||||
|
"z": 0.0,
|
||||||
|
"units": {
|
||||||
|
"type": "Unknown"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"yAxis": {
|
||||||
|
"x": 0.0,
|
||||||
|
"y": 1.0,
|
||||||
|
"z": 0.0,
|
||||||
|
"units": {
|
||||||
|
"type": "Unknown"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"start": {
|
||||||
|
"from": [
|
||||||
|
20.0,
|
||||||
|
0.0
|
||||||
|
],
|
||||||
|
"to": [
|
||||||
|
20.0,
|
||||||
|
0.0
|
||||||
|
],
|
||||||
|
"units": {
|
||||||
|
"type": "Mm"
|
||||||
|
},
|
||||||
|
"tag": null,
|
||||||
|
"__geoMeta": {
|
||||||
|
"id": "[uuid]",
|
||||||
|
"sourceRange": []
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"artifactId": "[uuid]",
|
||||||
|
"originalId": "[uuid]",
|
||||||
|
"units": {
|
||||||
|
"type": "Mm"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"height": 40.0,
|
||||||
|
"startCapId": "[uuid]",
|
||||||
|
"endCapId": "[uuid]",
|
||||||
|
"units": {
|
||||||
|
"type": "Mm"
|
||||||
|
},
|
||||||
|
"sectional": false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"length": {
|
||||||
|
"type": "Number",
|
||||||
|
"value": 40.0,
|
||||||
|
"ty": {
|
||||||
|
"type": "Default",
|
||||||
|
"len": {
|
||||||
|
"type": "Mm"
|
||||||
|
},
|
||||||
|
"angle": {
|
||||||
|
"type": "Degrees"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"revolveCut": {
|
||||||
|
"type": "Solid",
|
||||||
|
"value": {
|
||||||
|
"type": "Solid",
|
||||||
|
"id": "[uuid]",
|
||||||
|
"artifactId": "[uuid]",
|
||||||
|
"value": [
|
||||||
|
{
|
||||||
|
"faceId": "[uuid]",
|
||||||
|
"id": "[uuid]",
|
||||||
|
"sourceRange": [],
|
||||||
|
"tag": null,
|
||||||
|
"type": "extrudePlane"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"faceId": "[uuid]",
|
||||||
|
"id": "[uuid]",
|
||||||
|
"sourceRange": [],
|
||||||
|
"tag": null,
|
||||||
|
"type": "extrudePlane"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"faceId": "[uuid]",
|
||||||
|
"id": "[uuid]",
|
||||||
|
"sourceRange": [],
|
||||||
|
"tag": null,
|
||||||
|
"type": "extrudePlane"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"faceId": "[uuid]",
|
||||||
|
"id": "[uuid]",
|
||||||
|
"sourceRange": [],
|
||||||
|
"tag": null,
|
||||||
|
"type": "extrudePlane"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"faceId": "[uuid]",
|
||||||
|
"id": "[uuid]",
|
||||||
|
"sourceRange": [],
|
||||||
|
"tag": null,
|
||||||
|
"type": "extrudePlane"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"faceId": "[uuid]",
|
||||||
|
"id": "[uuid]",
|
||||||
|
"sourceRange": [],
|
||||||
|
"tag": null,
|
||||||
|
"type": "extrudePlane"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"faceId": "[uuid]",
|
||||||
|
"id": "[uuid]",
|
||||||
|
"sourceRange": [],
|
||||||
|
"tag": null,
|
||||||
|
"type": "extrudePlane"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"faceId": "[uuid]",
|
||||||
|
"id": "[uuid]",
|
||||||
|
"sourceRange": [],
|
||||||
|
"tag": null,
|
||||||
|
"type": "extrudePlane"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"faceId": "[uuid]",
|
||||||
|
"id": "[uuid]",
|
||||||
|
"sourceRange": [],
|
||||||
|
"tag": null,
|
||||||
|
"type": "extrudePlane"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"faceId": "[uuid]",
|
||||||
|
"id": "[uuid]",
|
||||||
|
"sourceRange": [],
|
||||||
|
"tag": null,
|
||||||
|
"type": "extrudePlane"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"faceId": "[uuid]",
|
||||||
|
"id": "[uuid]",
|
||||||
|
"sourceRange": [],
|
||||||
|
"tag": null,
|
||||||
|
"type": "extrudePlane"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"faceId": "[uuid]",
|
||||||
|
"id": "[uuid]",
|
||||||
|
"sourceRange": [],
|
||||||
|
"tag": null,
|
||||||
|
"type": "extrudePlane"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"faceId": "[uuid]",
|
||||||
|
"id": "[uuid]",
|
||||||
|
"sourceRange": [],
|
||||||
|
"tag": null,
|
||||||
|
"type": "extrudePlane"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"sketch": {
|
||||||
|
"type": "Sketch",
|
||||||
|
"id": "[uuid]",
|
||||||
|
"paths": [
|
||||||
|
{
|
||||||
|
"__geoMeta": {
|
||||||
|
"id": "[uuid]",
|
||||||
|
"sourceRange": []
|
||||||
|
},
|
||||||
|
"from": [
|
||||||
|
12.0,
|
||||||
|
-0.01
|
||||||
|
],
|
||||||
|
"tag": null,
|
||||||
|
"to": [
|
||||||
|
19.5,
|
||||||
|
2.0
|
||||||
|
],
|
||||||
|
"type": "ToPoint",
|
||||||
|
"units": {
|
||||||
|
"type": "Mm"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__geoMeta": {
|
||||||
|
"id": "[uuid]",
|
||||||
|
"sourceRange": []
|
||||||
|
},
|
||||||
|
"from": [
|
||||||
|
19.5,
|
||||||
|
2.0
|
||||||
|
],
|
||||||
|
"tag": null,
|
||||||
|
"to": [
|
||||||
|
19.5,
|
||||||
|
8.666
|
||||||
|
],
|
||||||
|
"type": "ToPoint",
|
||||||
|
"units": {
|
||||||
|
"type": "Mm"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__geoMeta": {
|
||||||
|
"id": "[uuid]",
|
||||||
|
"sourceRange": []
|
||||||
|
},
|
||||||
|
"from": [
|
||||||
|
19.5,
|
||||||
|
8.666
|
||||||
|
],
|
||||||
|
"tag": null,
|
||||||
|
"to": [
|
||||||
|
12.0,
|
||||||
|
10.676
|
||||||
|
],
|
||||||
|
"type": "ToPoint",
|
||||||
|
"units": {
|
||||||
|
"type": "Mm"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__geoMeta": {
|
||||||
|
"id": "[uuid]",
|
||||||
|
"sourceRange": []
|
||||||
|
},
|
||||||
|
"from": [
|
||||||
|
12.0,
|
||||||
|
10.676
|
||||||
|
],
|
||||||
|
"tag": null,
|
||||||
|
"to": [
|
||||||
|
12.0,
|
||||||
|
15.12
|
||||||
|
],
|
||||||
|
"type": "ToPoint",
|
||||||
|
"units": {
|
||||||
|
"type": "Mm"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__geoMeta": {
|
||||||
|
"id": "[uuid]",
|
||||||
|
"sourceRange": []
|
||||||
|
},
|
||||||
|
"from": [
|
||||||
|
12.0,
|
||||||
|
15.12
|
||||||
|
],
|
||||||
|
"tag": null,
|
||||||
|
"to": [
|
||||||
|
11.1,
|
||||||
|
15.12
|
||||||
|
],
|
||||||
|
"type": "ToPoint",
|
||||||
|
"units": {
|
||||||
|
"type": "Mm"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__geoMeta": {
|
||||||
|
"id": "[uuid]",
|
||||||
|
"sourceRange": []
|
||||||
|
},
|
||||||
|
"from": [
|
||||||
|
11.1,
|
||||||
|
15.12
|
||||||
|
],
|
||||||
|
"tag": null,
|
||||||
|
"to": [
|
||||||
|
11.1,
|
||||||
|
20.12
|
||||||
|
],
|
||||||
|
"type": "ToPoint",
|
||||||
|
"units": {
|
||||||
|
"type": "Mm"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__geoMeta": {
|
||||||
|
"id": "[uuid]",
|
||||||
|
"sourceRange": []
|
||||||
|
},
|
||||||
|
"from": [
|
||||||
|
11.1,
|
||||||
|
20.12
|
||||||
|
],
|
||||||
|
"tag": null,
|
||||||
|
"to": [
|
||||||
|
19.5,
|
||||||
|
22.371
|
||||||
|
],
|
||||||
|
"type": "ToPoint",
|
||||||
|
"units": {
|
||||||
|
"type": "Mm"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__geoMeta": {
|
||||||
|
"id": "[uuid]",
|
||||||
|
"sourceRange": []
|
||||||
|
},
|
||||||
|
"from": [
|
||||||
|
19.5,
|
||||||
|
22.371
|
||||||
|
],
|
||||||
|
"tag": null,
|
||||||
|
"to": [
|
||||||
|
19.5,
|
||||||
|
29.038
|
||||||
|
],
|
||||||
|
"type": "ToPoint",
|
||||||
|
"units": {
|
||||||
|
"type": "Mm"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__geoMeta": {
|
||||||
|
"id": "[uuid]",
|
||||||
|
"sourceRange": []
|
||||||
|
},
|
||||||
|
"from": [
|
||||||
|
19.5,
|
||||||
|
29.038
|
||||||
|
],
|
||||||
|
"tag": null,
|
||||||
|
"to": [
|
||||||
|
9.0,
|
||||||
|
29.956
|
||||||
|
],
|
||||||
|
"type": "ToPoint",
|
||||||
|
"units": {
|
||||||
|
"type": "Mm"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__geoMeta": {
|
||||||
|
"id": "[uuid]",
|
||||||
|
"sourceRange": []
|
||||||
|
},
|
||||||
|
"from": [
|
||||||
|
9.0,
|
||||||
|
29.956
|
||||||
|
],
|
||||||
|
"tag": null,
|
||||||
|
"to": [
|
||||||
|
9.0,
|
||||||
|
40.1
|
||||||
|
],
|
||||||
|
"type": "ToPoint",
|
||||||
|
"units": {
|
||||||
|
"type": "Mm"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__geoMeta": {
|
||||||
|
"id": "[uuid]",
|
||||||
|
"sourceRange": []
|
||||||
|
},
|
||||||
|
"from": [
|
||||||
|
9.0,
|
||||||
|
40.1
|
||||||
|
],
|
||||||
|
"tag": null,
|
||||||
|
"to": [
|
||||||
|
22.857,
|
||||||
|
40.1
|
||||||
|
],
|
||||||
|
"type": "ToPoint",
|
||||||
|
"units": {
|
||||||
|
"type": "Mm"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__geoMeta": {
|
||||||
|
"id": "[uuid]",
|
||||||
|
"sourceRange": []
|
||||||
|
},
|
||||||
|
"from": [
|
||||||
|
22.857,
|
||||||
|
40.1
|
||||||
|
],
|
||||||
|
"tag": null,
|
||||||
|
"to": [
|
||||||
|
22.857,
|
||||||
|
0.0
|
||||||
|
],
|
||||||
|
"type": "ToPoint",
|
||||||
|
"units": {
|
||||||
|
"type": "Mm"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__geoMeta": {
|
||||||
|
"id": "[uuid]",
|
||||||
|
"sourceRange": []
|
||||||
|
},
|
||||||
|
"from": [
|
||||||
|
22.857,
|
||||||
|
0.0
|
||||||
|
],
|
||||||
|
"tag": null,
|
||||||
|
"to": [
|
||||||
|
12.0,
|
||||||
|
-0.01
|
||||||
|
],
|
||||||
|
"type": "ToPoint",
|
||||||
|
"units": {
|
||||||
|
"type": "Mm"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__geoMeta": {
|
||||||
|
"id": "[uuid]",
|
||||||
|
"sourceRange": []
|
||||||
|
},
|
||||||
|
"from": [
|
||||||
|
12.0,
|
||||||
|
-0.01
|
||||||
|
],
|
||||||
|
"tag": null,
|
||||||
|
"to": [
|
||||||
|
12.0,
|
||||||
|
-0.01
|
||||||
|
],
|
||||||
|
"type": "ToPoint",
|
||||||
|
"units": {
|
||||||
|
"type": "Mm"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"on": {
|
||||||
|
"artifactId": "[uuid]",
|
||||||
|
"id": "[uuid]",
|
||||||
|
"origin": {
|
||||||
|
"x": 0.0,
|
||||||
|
"y": 0.0,
|
||||||
|
"z": 0.0,
|
||||||
|
"units": {
|
||||||
|
"type": "Mm"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"type": "plane",
|
||||||
|
"value": "YZ",
|
||||||
|
"xAxis": {
|
||||||
|
"x": 0.0,
|
||||||
|
"y": 1.0,
|
||||||
|
"z": 0.0,
|
||||||
|
"units": {
|
||||||
|
"type": "Unknown"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"yAxis": {
|
||||||
|
"x": 0.0,
|
||||||
|
"y": 0.0,
|
||||||
|
"z": 1.0,
|
||||||
|
"units": {
|
||||||
|
"type": "Unknown"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"start": {
|
||||||
|
"from": [
|
||||||
|
12.0,
|
||||||
|
-0.01
|
||||||
|
],
|
||||||
|
"to": [
|
||||||
|
12.0,
|
||||||
|
-0.01
|
||||||
|
],
|
||||||
|
"units": {
|
||||||
|
"type": "Mm"
|
||||||
|
},
|
||||||
|
"tag": null,
|
||||||
|
"__geoMeta": {
|
||||||
|
"id": "[uuid]",
|
||||||
|
"sourceRange": []
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"artifactId": "[uuid]",
|
||||||
|
"originalId": "[uuid]",
|
||||||
|
"units": {
|
||||||
|
"type": "Mm"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"height": 0.0,
|
||||||
|
"startCapId": null,
|
||||||
|
"endCapId": null,
|
||||||
|
"units": {
|
||||||
|
"type": "Mm"
|
||||||
|
},
|
||||||
|
"sectional": false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"trim": {
|
||||||
|
"type": "Number",
|
||||||
|
"value": 39.0,
|
||||||
|
"ty": {
|
||||||
|
"type": "Default",
|
||||||
|
"len": {
|
||||||
|
"type": "Mm"
|
||||||
|
},
|
||||||
|
"angle": {
|
||||||
|
"type": "Degrees"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"width": {
|
||||||
|
"type": "Number",
|
||||||
|
"value": 40.0,
|
||||||
|
"ty": {
|
||||||
|
"type": "Default",
|
||||||
|
"len": {
|
||||||
|
"type": "Mm"
|
||||||
|
},
|
||||||
|
"angle": {
|
||||||
|
"type": "Degrees"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
BIN
rust/kcl-lib/tests/kcl_samples/cable-gland/rendered_model.png
Normal file
After Width: | Height: | Size: 130 KiB |
2268
rust/kcl-lib/tests/kcl_samples/camshaft/artifact_commands.snap
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
source: kcl-lib/src/simulation_tests.rs
|
||||||
|
description: Artifact graph flowchart camshaft.kcl
|
||||||
|
extension: md
|
||||||
|
snapshot_kind: binary
|
||||||
|
---
|
@ -0,0 +1,415 @@
|
|||||||
|
```mermaid
|
||||||
|
flowchart LR
|
||||||
|
subgraph path12 [Path]
|
||||||
|
12["Path<br>[860, 936, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 13 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
|
||||||
|
21["Segment<br>[944, 1077, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 13 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
|
||||||
|
24["Segment<br>[1085, 1176, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 13 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
|
||||||
|
26["Segment<br>[1184, 1220, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 13 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
|
||||||
|
27["Segment<br>[1228, 1258, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 13 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 5 }]
|
||||||
|
29["Segment<br>[1266, 1336, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 13 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 6 }]
|
||||||
|
31["Segment<br>[1344, 1351, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 13 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 7 }]
|
||||||
|
50[Solid2d]
|
||||||
|
end
|
||||||
|
subgraph path13 [Path]
|
||||||
|
13["Path<br>[860, 936, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 13 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
|
||||||
|
22["Segment<br>[944, 1077, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 13 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
|
||||||
|
23["Segment<br>[1085, 1176, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 13 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
|
||||||
|
25["Segment<br>[1184, 1220, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 13 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
|
||||||
|
28["Segment<br>[1228, 1258, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 13 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 5 }]
|
||||||
|
30["Segment<br>[1266, 1336, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 13 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 6 }]
|
||||||
|
32["Segment<br>[1344, 1351, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 13 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 7 }]
|
||||||
|
55[Solid2d]
|
||||||
|
end
|
||||||
|
subgraph path14 [Path]
|
||||||
|
14["Path<br>[3157, 3206, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 20 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
|
||||||
|
33["Segment<br>[3157, 3206, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 20 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
|
||||||
|
52[Solid2d]
|
||||||
|
end
|
||||||
|
subgraph path15 [Path]
|
||||||
|
15["Path<br>[4073, 4143, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 21 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
|
||||||
|
35["Segment<br>[4153, 4319, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 21 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
|
||||||
|
37["Segment<br>[4329, 4414, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 21 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
|
||||||
|
39["Segment<br>[4424, 4645, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 21 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
|
||||||
|
40["Segment<br>[4732, 4818, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 21 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 5 }]
|
||||||
|
44["Segment<br>[5107, 5114, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 21 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 7 }]
|
||||||
|
48[Solid2d]
|
||||||
|
end
|
||||||
|
subgraph path16 [Path]
|
||||||
|
16["Path<br>[4073, 4143, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 21 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
|
||||||
|
43["Segment<br>[5107, 5114, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 21 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 7 }]
|
||||||
|
51[Solid2d]
|
||||||
|
end
|
||||||
|
subgraph path17 [Path]
|
||||||
|
17["Path<br>[4073, 4143, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 21 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
|
||||||
|
34["Segment<br>[4153, 4319, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 21 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
|
||||||
|
36["Segment<br>[4329, 4414, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 21 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
|
||||||
|
38["Segment<br>[4424, 4645, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 21 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
|
||||||
|
41["Segment<br>[4732, 4818, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 21 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 5 }]
|
||||||
|
42["Segment<br>[5107, 5114, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 21 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 7 }]
|
||||||
|
54[Solid2d]
|
||||||
|
end
|
||||||
|
subgraph path18 [Path]
|
||||||
|
18["Path<br>[5142, 5191, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 21 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 8 }, CallKwArg { index: 0 }]
|
||||||
|
45["Segment<br>[5142, 5191, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 21 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 8 }, CallKwArg { index: 0 }]
|
||||||
|
49[Solid2d]
|
||||||
|
end
|
||||||
|
subgraph path19 [Path]
|
||||||
|
19["Path<br>[5142, 5191, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 21 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 8 }, CallKwArg { index: 0 }]
|
||||||
|
46["Segment<br>[5142, 5191, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 21 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 8 }, CallKwArg { index: 0 }]
|
||||||
|
53[Solid2d]
|
||||||
|
end
|
||||||
|
subgraph path20 [Path]
|
||||||
|
20["Path<br>[5142, 5191, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 21 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 8 }, CallKwArg { index: 0 }]
|
||||||
|
47["Segment<br>[5142, 5191, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 21 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 8 }, CallKwArg { index: 0 }]
|
||||||
|
56[Solid2d]
|
||||||
|
end
|
||||||
|
1["Plane<br>[802, 851, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 13 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }, CallKwUnlabeledArg]
|
||||||
|
2["Plane<br>[802, 851, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 13 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }, CallKwUnlabeledArg]
|
||||||
|
3["Plane<br>[3134, 3151, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 20 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
|
||||||
|
4["Plane<br>[4024, 4062, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 21 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }, CallKwUnlabeledArg]
|
||||||
|
5["Plane<br>[4024, 4062, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 21 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }, CallKwUnlabeledArg]
|
||||||
|
6["Plane<br>[4024, 4062, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 21 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }, CallKwUnlabeledArg]
|
||||||
|
7["StartSketchOnPlane<br>[4010, 4063, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 21 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
|
||||||
|
8["StartSketchOnPlane<br>[4010, 4063, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 21 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
|
||||||
|
9["StartSketchOnPlane<br>[788, 852, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 13 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
|
||||||
|
10["StartSketchOnPlane<br>[788, 852, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 13 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
|
||||||
|
11["StartSketchOnPlane<br>[4010, 4063, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 21 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
|
||||||
|
57["Sweep Extrusion<br>[1359, 1386, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 13 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 8 }]
|
||||||
|
58["Sweep Extrusion<br>[1359, 1386, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 13 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 8 }]
|
||||||
|
59["Sweep Extrusion<br>[3212, 3227, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 20 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
|
||||||
|
60["Sweep Loft<br>[5669, 5739, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 21 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit]
|
||||||
|
61[Wall]
|
||||||
|
%% face_code_ref=Missing NodePath
|
||||||
|
62[Wall]
|
||||||
|
%% face_code_ref=Missing NodePath
|
||||||
|
63[Wall]
|
||||||
|
%% face_code_ref=Missing NodePath
|
||||||
|
64[Wall]
|
||||||
|
%% face_code_ref=Missing NodePath
|
||||||
|
65[Wall]
|
||||||
|
%% face_code_ref=Missing NodePath
|
||||||
|
66[Wall]
|
||||||
|
%% face_code_ref=Missing NodePath
|
||||||
|
67[Wall]
|
||||||
|
%% face_code_ref=Missing NodePath
|
||||||
|
68[Wall]
|
||||||
|
%% face_code_ref=Missing NodePath
|
||||||
|
69[Wall]
|
||||||
|
%% face_code_ref=Missing NodePath
|
||||||
|
70[Wall]
|
||||||
|
%% face_code_ref=Missing NodePath
|
||||||
|
71[Wall]
|
||||||
|
%% face_code_ref=Missing NodePath
|
||||||
|
72[Wall]
|
||||||
|
%% face_code_ref=Missing NodePath
|
||||||
|
73[Wall]
|
||||||
|
%% face_code_ref=Missing NodePath
|
||||||
|
74["Cap Start"]
|
||||||
|
%% face_code_ref=Missing NodePath
|
||||||
|
75["Cap Start"]
|
||||||
|
%% face_code_ref=Missing NodePath
|
||||||
|
76["Cap Start"]
|
||||||
|
%% face_code_ref=Missing NodePath
|
||||||
|
77["Cap Start"]
|
||||||
|
%% face_code_ref=Missing NodePath
|
||||||
|
78["Cap End"]
|
||||||
|
%% face_code_ref=Missing NodePath
|
||||||
|
79["Cap End"]
|
||||||
|
%% face_code_ref=Missing NodePath
|
||||||
|
80["Cap End"]
|
||||||
|
%% face_code_ref=Missing NodePath
|
||||||
|
81["Cap End"]
|
||||||
|
%% face_code_ref=Missing NodePath
|
||||||
|
82["SweepEdge Opposite"]
|
||||||
|
83["SweepEdge Opposite"]
|
||||||
|
84["SweepEdge Opposite"]
|
||||||
|
85["SweepEdge Opposite"]
|
||||||
|
86["SweepEdge Opposite"]
|
||||||
|
87["SweepEdge Opposite"]
|
||||||
|
88["SweepEdge Opposite"]
|
||||||
|
89["SweepEdge Opposite"]
|
||||||
|
90["SweepEdge Opposite"]
|
||||||
|
91["SweepEdge Opposite"]
|
||||||
|
92["SweepEdge Opposite"]
|
||||||
|
93["SweepEdge Opposite"]
|
||||||
|
94["SweepEdge Opposite"]
|
||||||
|
95["SweepEdge Adjacent"]
|
||||||
|
96["SweepEdge Adjacent"]
|
||||||
|
97["SweepEdge Adjacent"]
|
||||||
|
98["SweepEdge Adjacent"]
|
||||||
|
99["SweepEdge Adjacent"]
|
||||||
|
100["SweepEdge Adjacent"]
|
||||||
|
101["SweepEdge Adjacent"]
|
||||||
|
102["SweepEdge Adjacent"]
|
||||||
|
103["SweepEdge Adjacent"]
|
||||||
|
104["SweepEdge Adjacent"]
|
||||||
|
105["SweepEdge Adjacent"]
|
||||||
|
106["SweepEdge Adjacent"]
|
||||||
|
107["SweepEdge Adjacent"]
|
||||||
|
108["EdgeCut Fillet<br>[1394, 1601, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 13 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 9 }]
|
||||||
|
109["EdgeCut Fillet<br>[1394, 1601, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 13 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 9 }]
|
||||||
|
1 <--x 10
|
||||||
|
1 --- 12
|
||||||
|
2 <--x 9
|
||||||
|
2 --- 13
|
||||||
|
3 --- 14
|
||||||
|
4 <--x 11
|
||||||
|
4 --- 16
|
||||||
|
4 --- 19
|
||||||
|
5 <--x 8
|
||||||
|
5 --- 15
|
||||||
|
5 --- 20
|
||||||
|
6 <--x 7
|
||||||
|
6 --- 17
|
||||||
|
6 --- 18
|
||||||
|
12 --- 21
|
||||||
|
12 --- 24
|
||||||
|
12 --- 26
|
||||||
|
12 --- 27
|
||||||
|
12 --- 29
|
||||||
|
12 --- 31
|
||||||
|
12 --- 50
|
||||||
|
12 ---- 58
|
||||||
|
13 --- 22
|
||||||
|
13 --- 23
|
||||||
|
13 --- 25
|
||||||
|
13 --- 28
|
||||||
|
13 --- 30
|
||||||
|
13 --- 32
|
||||||
|
13 --- 55
|
||||||
|
13 ---- 57
|
||||||
|
14 --- 33
|
||||||
|
14 --- 52
|
||||||
|
14 ---- 59
|
||||||
|
15 --- 35
|
||||||
|
15 --- 37
|
||||||
|
15 --- 39
|
||||||
|
15 --- 40
|
||||||
|
15 --- 44
|
||||||
|
15 --- 48
|
||||||
|
15 x---> 60
|
||||||
|
16 --- 43
|
||||||
|
16 --- 51
|
||||||
|
16 x---> 60
|
||||||
|
16 x--> 86
|
||||||
|
16 x--> 87
|
||||||
|
16 x--> 88
|
||||||
|
16 x--> 89
|
||||||
|
17 --- 34
|
||||||
|
17 --- 36
|
||||||
|
17 --- 38
|
||||||
|
17 --- 41
|
||||||
|
17 --- 42
|
||||||
|
17 --- 54
|
||||||
|
17 ---- 60
|
||||||
|
18 --- 45
|
||||||
|
18 --- 49
|
||||||
|
19 --- 46
|
||||||
|
19 --- 53
|
||||||
|
20 --- 47
|
||||||
|
20 --- 56
|
||||||
|
21 --- 70
|
||||||
|
21 x--> 76
|
||||||
|
21 --- 91
|
||||||
|
21 --- 104
|
||||||
|
22 --- 63
|
||||||
|
22 x--> 75
|
||||||
|
22 --- 82
|
||||||
|
22 --- 95
|
||||||
|
23 --- 62
|
||||||
|
23 x--> 75
|
||||||
|
23 --- 83
|
||||||
|
23 --- 96
|
||||||
|
24 --- 73
|
||||||
|
24 x--> 76
|
||||||
|
24 --- 92
|
||||||
|
24 --- 105
|
||||||
|
25 --- 61
|
||||||
|
25 x--> 75
|
||||||
|
25 --- 84
|
||||||
|
25 --- 97
|
||||||
|
26 --- 71
|
||||||
|
26 x--> 76
|
||||||
|
26 --- 93
|
||||||
|
26 --- 106
|
||||||
|
29 --- 72
|
||||||
|
29 x--> 76
|
||||||
|
29 --- 94
|
||||||
|
29 --- 107
|
||||||
|
30 --- 64
|
||||||
|
30 x--> 75
|
||||||
|
30 --- 85
|
||||||
|
30 --- 98
|
||||||
|
33 --- 69
|
||||||
|
33 x--> 74
|
||||||
|
33 --- 90
|
||||||
|
33 --- 103
|
||||||
|
34 --- 65
|
||||||
|
34 x--> 77
|
||||||
|
34 --- 86
|
||||||
|
34 --- 99
|
||||||
|
36 --- 66
|
||||||
|
36 x--> 77
|
||||||
|
36 --- 87
|
||||||
|
36 --- 100
|
||||||
|
38 --- 67
|
||||||
|
38 x--> 77
|
||||||
|
38 --- 88
|
||||||
|
38 --- 101
|
||||||
|
41 --- 68
|
||||||
|
41 x--> 77
|
||||||
|
41 --- 89
|
||||||
|
41 --- 102
|
||||||
|
57 --- 61
|
||||||
|
57 --- 62
|
||||||
|
57 --- 63
|
||||||
|
57 --- 64
|
||||||
|
57 --- 75
|
||||||
|
57 --- 79
|
||||||
|
57 --- 82
|
||||||
|
57 --- 83
|
||||||
|
57 --- 84
|
||||||
|
57 --- 85
|
||||||
|
57 --- 95
|
||||||
|
57 --- 96
|
||||||
|
57 --- 97
|
||||||
|
57 --- 98
|
||||||
|
58 --- 70
|
||||||
|
58 --- 71
|
||||||
|
58 --- 72
|
||||||
|
58 --- 73
|
||||||
|
58 --- 76
|
||||||
|
58 --- 80
|
||||||
|
58 --- 91
|
||||||
|
58 --- 92
|
||||||
|
58 --- 93
|
||||||
|
58 --- 94
|
||||||
|
58 --- 104
|
||||||
|
58 --- 105
|
||||||
|
58 --- 106
|
||||||
|
58 --- 107
|
||||||
|
59 --- 69
|
||||||
|
59 --- 74
|
||||||
|
59 --- 78
|
||||||
|
59 --- 90
|
||||||
|
59 --- 103
|
||||||
|
60 --- 65
|
||||||
|
60 --- 66
|
||||||
|
60 --- 67
|
||||||
|
60 --- 68
|
||||||
|
60 --- 77
|
||||||
|
60 --- 81
|
||||||
|
60 --- 86
|
||||||
|
60 --- 87
|
||||||
|
60 --- 88
|
||||||
|
60 --- 89
|
||||||
|
60 --- 99
|
||||||
|
60 --- 100
|
||||||
|
60 --- 101
|
||||||
|
60 --- 102
|
||||||
|
61 --- 84
|
||||||
|
96 <--x 61
|
||||||
|
61 --- 97
|
||||||
|
62 --- 83
|
||||||
|
95 <--x 62
|
||||||
|
62 --- 96
|
||||||
|
63 --- 82
|
||||||
|
63 --- 95
|
||||||
|
98 <--x 63
|
||||||
|
64 --- 85
|
||||||
|
97 <--x 64
|
||||||
|
64 --- 98
|
||||||
|
65 --- 86
|
||||||
|
65 --- 99
|
||||||
|
100 <--x 65
|
||||||
|
66 --- 87
|
||||||
|
66 --- 100
|
||||||
|
101 <--x 66
|
||||||
|
67 --- 88
|
||||||
|
67 --- 101
|
||||||
|
102 <--x 67
|
||||||
|
68 --- 89
|
||||||
|
68 --- 102
|
||||||
|
69 --- 90
|
||||||
|
69 --- 103
|
||||||
|
70 --- 91
|
||||||
|
70 --- 104
|
||||||
|
107 <--x 70
|
||||||
|
71 --- 93
|
||||||
|
105 <--x 71
|
||||||
|
71 --- 106
|
||||||
|
72 --- 94
|
||||||
|
106 <--x 72
|
||||||
|
72 --- 107
|
||||||
|
73 --- 92
|
||||||
|
104 <--x 73
|
||||||
|
73 --- 105
|
||||||
|
90 <--x 78
|
||||||
|
82 <--x 79
|
||||||
|
83 <--x 79
|
||||||
|
84 <--x 79
|
||||||
|
85 <--x 79
|
||||||
|
91 <--x 80
|
||||||
|
92 <--x 80
|
||||||
|
93 <--x 80
|
||||||
|
94 <--x 80
|
||||||
|
86 <--x 81
|
||||||
|
87 <--x 81
|
||||||
|
88 <--x 81
|
||||||
|
89 <--x 81
|
||||||
|
96 <--x 109
|
||||||
|
105 <--x 108
|
||||||
|
```
|
6492
rust/kcl-lib/tests/kcl_samples/camshaft/ast.snap
Normal file
1562
rust/kcl-lib/tests/kcl_samples/camshaft/ops.snap
Normal file
984
rust/kcl-lib/tests/kcl_samples/camshaft/program_memory.snap
Normal file
@ -0,0 +1,984 @@
|
|||||||
|
---
|
||||||
|
source: kcl-lib/src/simulation_tests.rs
|
||||||
|
description: Variables in memory after executing camshaft.kcl
|
||||||
|
---
|
||||||
|
{
|
||||||
|
"baseCircle": {
|
||||||
|
"type": "Number",
|
||||||
|
"value": 1.34,
|
||||||
|
"ty": {
|
||||||
|
"type": "Default",
|
||||||
|
"len": {
|
||||||
|
"type": "Inches"
|
||||||
|
},
|
||||||
|
"angle": {
|
||||||
|
"type": "Degrees"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"camHeight": {
|
||||||
|
"type": "Number",
|
||||||
|
"value": 0.522,
|
||||||
|
"ty": {
|
||||||
|
"type": "Default",
|
||||||
|
"len": {
|
||||||
|
"type": "Inches"
|
||||||
|
},
|
||||||
|
"angle": {
|
||||||
|
"type": "Degrees"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"camSpacing": {
|
||||||
|
"type": "Number",
|
||||||
|
"value": 0.5,
|
||||||
|
"ty": {
|
||||||
|
"type": "Default",
|
||||||
|
"len": {
|
||||||
|
"type": "Inches"
|
||||||
|
},
|
||||||
|
"angle": {
|
||||||
|
"type": "Degrees"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"centerShaft": {
|
||||||
|
"type": "Solid",
|
||||||
|
"value": {
|
||||||
|
"type": "Solid",
|
||||||
|
"id": "[uuid]",
|
||||||
|
"artifactId": "[uuid]",
|
||||||
|
"value": [
|
||||||
|
{
|
||||||
|
"faceId": "[uuid]",
|
||||||
|
"id": "[uuid]",
|
||||||
|
"sourceRange": [],
|
||||||
|
"tag": null,
|
||||||
|
"type": "extrudeArc"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"sketch": {
|
||||||
|
"type": "Sketch",
|
||||||
|
"id": "[uuid]",
|
||||||
|
"paths": [
|
||||||
|
{
|
||||||
|
"__geoMeta": {
|
||||||
|
"id": "[uuid]",
|
||||||
|
"sourceRange": []
|
||||||
|
},
|
||||||
|
"ccw": true,
|
||||||
|
"center": [
|
||||||
|
0.0,
|
||||||
|
0.0
|
||||||
|
],
|
||||||
|
"from": [
|
||||||
|
0.485,
|
||||||
|
0.0
|
||||||
|
],
|
||||||
|
"radius": 0.485,
|
||||||
|
"tag": null,
|
||||||
|
"to": [
|
||||||
|
0.485,
|
||||||
|
0.0
|
||||||
|
],
|
||||||
|
"type": "Circle",
|
||||||
|
"units": {
|
||||||
|
"type": "Inches"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"on": {
|
||||||
|
"artifactId": "[uuid]",
|
||||||
|
"id": "[uuid]",
|
||||||
|
"origin": {
|
||||||
|
"x": 0.0,
|
||||||
|
"y": 0.0,
|
||||||
|
"z": 0.0,
|
||||||
|
"units": {
|
||||||
|
"type": "Mm"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"type": "plane",
|
||||||
|
"value": "XY",
|
||||||
|
"xAxis": {
|
||||||
|
"x": 1.0,
|
||||||
|
"y": 0.0,
|
||||||
|
"z": 0.0,
|
||||||
|
"units": {
|
||||||
|
"type": "Unknown"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"yAxis": {
|
||||||
|
"x": 0.0,
|
||||||
|
"y": 1.0,
|
||||||
|
"z": 0.0,
|
||||||
|
"units": {
|
||||||
|
"type": "Unknown"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"start": {
|
||||||
|
"from": [
|
||||||
|
0.485,
|
||||||
|
0.0
|
||||||
|
],
|
||||||
|
"to": [
|
||||||
|
0.485,
|
||||||
|
0.0
|
||||||
|
],
|
||||||
|
"units": {
|
||||||
|
"type": "Inches"
|
||||||
|
},
|
||||||
|
"tag": null,
|
||||||
|
"__geoMeta": {
|
||||||
|
"id": "[uuid]",
|
||||||
|
"sourceRange": []
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"artifactId": "[uuid]",
|
||||||
|
"originalId": "[uuid]",
|
||||||
|
"units": {
|
||||||
|
"type": "Inches"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"height": 18.602,
|
||||||
|
"startCapId": "[uuid]",
|
||||||
|
"endCapId": "[uuid]",
|
||||||
|
"units": {
|
||||||
|
"type": "Inches"
|
||||||
|
},
|
||||||
|
"sectional": false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"cylinderCount": {
|
||||||
|
"type": "Number",
|
||||||
|
"value": 4.0,
|
||||||
|
"ty": {
|
||||||
|
"type": "Default",
|
||||||
|
"len": {
|
||||||
|
"type": "Inches"
|
||||||
|
},
|
||||||
|
"angle": {
|
||||||
|
"type": "Degrees"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"cylinderPattern": {
|
||||||
|
"type": "Function",
|
||||||
|
"value": null
|
||||||
|
},
|
||||||
|
"exhaust": {
|
||||||
|
"type": "Solid",
|
||||||
|
"value": {
|
||||||
|
"type": "Solid",
|
||||||
|
"id": "[uuid]",
|
||||||
|
"artifactId": "[uuid]",
|
||||||
|
"value": [
|
||||||
|
{
|
||||||
|
"faceId": "[uuid]",
|
||||||
|
"id": "[uuid]",
|
||||||
|
"sourceRange": [],
|
||||||
|
"tag": {
|
||||||
|
"commentStart": 1070,
|
||||||
|
"end": 1076,
|
||||||
|
"start": 1070,
|
||||||
|
"type": "TagDeclarator",
|
||||||
|
"value": "seg02"
|
||||||
|
},
|
||||||
|
"type": "extrudeArc"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"faceId": "[uuid]",
|
||||||
|
"id": "[uuid]",
|
||||||
|
"sourceRange": [],
|
||||||
|
"tag": {
|
||||||
|
"commentStart": 1169,
|
||||||
|
"end": 1175,
|
||||||
|
"start": 1169,
|
||||||
|
"type": "TagDeclarator",
|
||||||
|
"value": "seg04"
|
||||||
|
},
|
||||||
|
"type": "extrudePlane"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"faceId": "[uuid]",
|
||||||
|
"id": "[uuid]",
|
||||||
|
"sourceRange": [],
|
||||||
|
"tag": {
|
||||||
|
"commentStart": 1213,
|
||||||
|
"end": 1219,
|
||||||
|
"start": 1213,
|
||||||
|
"type": "TagDeclarator",
|
||||||
|
"value": "seg03"
|
||||||
|
},
|
||||||
|
"type": "extrudePlane"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"faceId": "[uuid]",
|
||||||
|
"id": "[uuid]",
|
||||||
|
"sourceRange": [],
|
||||||
|
"tag": {
|
||||||
|
"commentStart": 1329,
|
||||||
|
"end": 1335,
|
||||||
|
"start": 1329,
|
||||||
|
"type": "TagDeclarator",
|
||||||
|
"value": "seg05"
|
||||||
|
},
|
||||||
|
"type": "extrudePlane"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"sketch": {
|
||||||
|
"type": "Sketch",
|
||||||
|
"id": "[uuid]",
|
||||||
|
"paths": [
|
||||||
|
{
|
||||||
|
"__geoMeta": {
|
||||||
|
"id": "[uuid]",
|
||||||
|
"sourceRange": []
|
||||||
|
},
|
||||||
|
"from": [
|
||||||
|
-0.589,
|
||||||
|
0.32
|
||||||
|
],
|
||||||
|
"p1": [
|
||||||
|
-0.5888074654835168,
|
||||||
|
0.3196963693739378
|
||||||
|
],
|
||||||
|
"p2": [
|
||||||
|
0.0,
|
||||||
|
-0.67
|
||||||
|
],
|
||||||
|
"p3": [
|
||||||
|
0.5888074654835168,
|
||||||
|
0.31969636937393764
|
||||||
|
],
|
||||||
|
"tag": {
|
||||||
|
"commentStart": 1070,
|
||||||
|
"end": 1076,
|
||||||
|
"start": 1070,
|
||||||
|
"type": "TagDeclarator",
|
||||||
|
"value": "seg02"
|
||||||
|
},
|
||||||
|
"to": [
|
||||||
|
0.589,
|
||||||
|
0.32
|
||||||
|
],
|
||||||
|
"type": "ArcThreePoint",
|
||||||
|
"units": {
|
||||||
|
"type": "Inches"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__geoMeta": {
|
||||||
|
"id": "[uuid]",
|
||||||
|
"sourceRange": []
|
||||||
|
},
|
||||||
|
"from": [
|
||||||
|
0.589,
|
||||||
|
0.32
|
||||||
|
],
|
||||||
|
"tag": {
|
||||||
|
"commentStart": 1169,
|
||||||
|
"end": 1175,
|
||||||
|
"start": 1169,
|
||||||
|
"type": "TagDeclarator",
|
||||||
|
"value": "seg04"
|
||||||
|
},
|
||||||
|
"to": [
|
||||||
|
0.271,
|
||||||
|
0.905
|
||||||
|
],
|
||||||
|
"type": "ToPoint",
|
||||||
|
"units": {
|
||||||
|
"type": "Inches"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__geoMeta": {
|
||||||
|
"id": "[uuid]",
|
||||||
|
"sourceRange": []
|
||||||
|
},
|
||||||
|
"from": [
|
||||||
|
0.271,
|
||||||
|
0.905
|
||||||
|
],
|
||||||
|
"tag": {
|
||||||
|
"commentStart": 1213,
|
||||||
|
"end": 1219,
|
||||||
|
"start": 1213,
|
||||||
|
"type": "TagDeclarator",
|
||||||
|
"value": "seg03"
|
||||||
|
},
|
||||||
|
"to": [
|
||||||
|
0.0,
|
||||||
|
0.905
|
||||||
|
],
|
||||||
|
"type": "ToPoint",
|
||||||
|
"units": {
|
||||||
|
"type": "Inches"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__geoMeta": {
|
||||||
|
"id": "[uuid]",
|
||||||
|
"sourceRange": []
|
||||||
|
},
|
||||||
|
"from": [
|
||||||
|
0.0,
|
||||||
|
0.905
|
||||||
|
],
|
||||||
|
"tag": null,
|
||||||
|
"to": [
|
||||||
|
-0.271,
|
||||||
|
0.905
|
||||||
|
],
|
||||||
|
"type": "ToPoint",
|
||||||
|
"units": {
|
||||||
|
"type": "Inches"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__geoMeta": {
|
||||||
|
"id": "[uuid]",
|
||||||
|
"sourceRange": []
|
||||||
|
},
|
||||||
|
"from": [
|
||||||
|
-0.271,
|
||||||
|
0.905
|
||||||
|
],
|
||||||
|
"tag": {
|
||||||
|
"commentStart": 1329,
|
||||||
|
"end": 1335,
|
||||||
|
"start": 1329,
|
||||||
|
"type": "TagDeclarator",
|
||||||
|
"value": "seg05"
|
||||||
|
},
|
||||||
|
"to": [
|
||||||
|
-0.589,
|
||||||
|
0.32
|
||||||
|
],
|
||||||
|
"type": "ToPoint",
|
||||||
|
"units": {
|
||||||
|
"type": "Inches"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__geoMeta": {
|
||||||
|
"id": "[uuid]",
|
||||||
|
"sourceRange": []
|
||||||
|
},
|
||||||
|
"from": [
|
||||||
|
-0.589,
|
||||||
|
0.32
|
||||||
|
],
|
||||||
|
"tag": null,
|
||||||
|
"to": [
|
||||||
|
-0.589,
|
||||||
|
0.32
|
||||||
|
],
|
||||||
|
"type": "ToPoint",
|
||||||
|
"units": {
|
||||||
|
"type": "Inches"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"on": {
|
||||||
|
"artifactId": "[uuid]",
|
||||||
|
"id": "[uuid]",
|
||||||
|
"origin": {
|
||||||
|
"x": 0.0,
|
||||||
|
"y": 0.0,
|
||||||
|
"z": 22.86,
|
||||||
|
"units": {
|
||||||
|
"type": "Mm"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"type": "plane",
|
||||||
|
"value": "Custom",
|
||||||
|
"xAxis": {
|
||||||
|
"x": 1.0,
|
||||||
|
"y": 0.0,
|
||||||
|
"z": 0.0,
|
||||||
|
"units": {
|
||||||
|
"type": "Unknown"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"yAxis": {
|
||||||
|
"x": 0.0,
|
||||||
|
"y": 1.0,
|
||||||
|
"z": 0.0,
|
||||||
|
"units": {
|
||||||
|
"type": "Unknown"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"start": {
|
||||||
|
"from": [
|
||||||
|
-0.589,
|
||||||
|
0.32
|
||||||
|
],
|
||||||
|
"to": [
|
||||||
|
-0.589,
|
||||||
|
0.32
|
||||||
|
],
|
||||||
|
"units": {
|
||||||
|
"type": "Inches"
|
||||||
|
},
|
||||||
|
"tag": null,
|
||||||
|
"__geoMeta": {
|
||||||
|
"id": "[uuid]",
|
||||||
|
"sourceRange": []
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"tags": {
|
||||||
|
"seg02": {
|
||||||
|
"type": "TagIdentifier",
|
||||||
|
"value": "seg02"
|
||||||
|
},
|
||||||
|
"seg03": {
|
||||||
|
"type": "TagIdentifier",
|
||||||
|
"value": "seg03"
|
||||||
|
},
|
||||||
|
"seg04": {
|
||||||
|
"type": "TagIdentifier",
|
||||||
|
"value": "seg04"
|
||||||
|
},
|
||||||
|
"seg05": {
|
||||||
|
"type": "TagIdentifier",
|
||||||
|
"value": "seg05"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"artifactId": "[uuid]",
|
||||||
|
"originalId": "[uuid]",
|
||||||
|
"units": {
|
||||||
|
"type": "Inches"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"height": 0.522,
|
||||||
|
"startCapId": "[uuid]",
|
||||||
|
"endCapId": "[uuid]",
|
||||||
|
"edgeCuts": [
|
||||||
|
{
|
||||||
|
"type": "fillet",
|
||||||
|
"id": "[uuid]",
|
||||||
|
"radius": {
|
||||||
|
"n": 0.2683033879838656,
|
||||||
|
"ty": {
|
||||||
|
"type": "Known",
|
||||||
|
"type": "Length",
|
||||||
|
"type": "Inches"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"edgeId": "[uuid]",
|
||||||
|
"tag": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "fillet",
|
||||||
|
"id": "[uuid]",
|
||||||
|
"radius": {
|
||||||
|
"n": 0.2683033879838656,
|
||||||
|
"ty": {
|
||||||
|
"type": "Known",
|
||||||
|
"type": "Length",
|
||||||
|
"type": "Inches"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"edgeId": "[uuid]",
|
||||||
|
"tag": null
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"units": {
|
||||||
|
"type": "Inches"
|
||||||
|
},
|
||||||
|
"sectional": false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"exhaustDuration": {
|
||||||
|
"type": "Number",
|
||||||
|
"value": 246.0,
|
||||||
|
"ty": {
|
||||||
|
"type": "Default",
|
||||||
|
"len": {
|
||||||
|
"type": "Inches"
|
||||||
|
},
|
||||||
|
"angle": {
|
||||||
|
"type": "Degrees"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"exhaustLift": {
|
||||||
|
"type": "Number",
|
||||||
|
"value": 0.235,
|
||||||
|
"ty": {
|
||||||
|
"type": "Default",
|
||||||
|
"len": {
|
||||||
|
"type": "Inches"
|
||||||
|
},
|
||||||
|
"angle": {
|
||||||
|
"type": "Degrees"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"helicalGear": {
|
||||||
|
"type": "Function",
|
||||||
|
"value": null
|
||||||
|
},
|
||||||
|
"intake": {
|
||||||
|
"type": "Solid",
|
||||||
|
"value": {
|
||||||
|
"type": "Solid",
|
||||||
|
"id": "[uuid]",
|
||||||
|
"artifactId": "[uuid]",
|
||||||
|
"value": [
|
||||||
|
{
|
||||||
|
"faceId": "[uuid]",
|
||||||
|
"id": "[uuid]",
|
||||||
|
"sourceRange": [],
|
||||||
|
"tag": {
|
||||||
|
"commentStart": 1070,
|
||||||
|
"end": 1076,
|
||||||
|
"start": 1070,
|
||||||
|
"type": "TagDeclarator",
|
||||||
|
"value": "seg02"
|
||||||
|
},
|
||||||
|
"type": "extrudeArc"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"faceId": "[uuid]",
|
||||||
|
"id": "[uuid]",
|
||||||
|
"sourceRange": [],
|
||||||
|
"tag": {
|
||||||
|
"commentStart": 1169,
|
||||||
|
"end": 1175,
|
||||||
|
"start": 1169,
|
||||||
|
"type": "TagDeclarator",
|
||||||
|
"value": "seg04"
|
||||||
|
},
|
||||||
|
"type": "extrudePlane"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"faceId": "[uuid]",
|
||||||
|
"id": "[uuid]",
|
||||||
|
"sourceRange": [],
|
||||||
|
"tag": {
|
||||||
|
"commentStart": 1213,
|
||||||
|
"end": 1219,
|
||||||
|
"start": 1213,
|
||||||
|
"type": "TagDeclarator",
|
||||||
|
"value": "seg03"
|
||||||
|
},
|
||||||
|
"type": "extrudePlane"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"faceId": "[uuid]",
|
||||||
|
"id": "[uuid]",
|
||||||
|
"sourceRange": [],
|
||||||
|
"tag": {
|
||||||
|
"commentStart": 1329,
|
||||||
|
"end": 1335,
|
||||||
|
"start": 1329,
|
||||||
|
"type": "TagDeclarator",
|
||||||
|
"value": "seg05"
|
||||||
|
},
|
||||||
|
"type": "extrudePlane"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"sketch": {
|
||||||
|
"type": "Sketch",
|
||||||
|
"id": "[uuid]",
|
||||||
|
"paths": [
|
||||||
|
{
|
||||||
|
"__geoMeta": {
|
||||||
|
"id": "[uuid]",
|
||||||
|
"sourceRange": []
|
||||||
|
},
|
||||||
|
"from": [
|
||||||
|
-0.583,
|
||||||
|
0.33
|
||||||
|
],
|
||||||
|
"p1": [
|
||||||
|
-0.5831383162797328,
|
||||||
|
0.32992378526932303
|
||||||
|
],
|
||||||
|
"p2": [
|
||||||
|
0.0,
|
||||||
|
-0.67
|
||||||
|
],
|
||||||
|
"p3": [
|
||||||
|
0.5831383162797328,
|
||||||
|
0.3299237852693229
|
||||||
|
],
|
||||||
|
"tag": {
|
||||||
|
"commentStart": 1070,
|
||||||
|
"end": 1076,
|
||||||
|
"start": 1070,
|
||||||
|
"type": "TagDeclarator",
|
||||||
|
"value": "seg02"
|
||||||
|
},
|
||||||
|
"to": [
|
||||||
|
0.583,
|
||||||
|
0.33
|
||||||
|
],
|
||||||
|
"type": "ArcThreePoint",
|
||||||
|
"units": {
|
||||||
|
"type": "Inches"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__geoMeta": {
|
||||||
|
"id": "[uuid]",
|
||||||
|
"sourceRange": []
|
||||||
|
},
|
||||||
|
"from": [
|
||||||
|
0.583,
|
||||||
|
0.33
|
||||||
|
],
|
||||||
|
"tag": {
|
||||||
|
"commentStart": 1169,
|
||||||
|
"end": 1175,
|
||||||
|
"start": 1169,
|
||||||
|
"type": "TagDeclarator",
|
||||||
|
"value": "seg04"
|
||||||
|
},
|
||||||
|
"to": [
|
||||||
|
0.258,
|
||||||
|
0.905
|
||||||
|
],
|
||||||
|
"type": "ToPoint",
|
||||||
|
"units": {
|
||||||
|
"type": "Inches"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__geoMeta": {
|
||||||
|
"id": "[uuid]",
|
||||||
|
"sourceRange": []
|
||||||
|
},
|
||||||
|
"from": [
|
||||||
|
0.258,
|
||||||
|
0.905
|
||||||
|
],
|
||||||
|
"tag": {
|
||||||
|
"commentStart": 1213,
|
||||||
|
"end": 1219,
|
||||||
|
"start": 1213,
|
||||||
|
"type": "TagDeclarator",
|
||||||
|
"value": "seg03"
|
||||||
|
},
|
||||||
|
"to": [
|
||||||
|
0.0,
|
||||||
|
0.905
|
||||||
|
],
|
||||||
|
"type": "ToPoint",
|
||||||
|
"units": {
|
||||||
|
"type": "Inches"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__geoMeta": {
|
||||||
|
"id": "[uuid]",
|
||||||
|
"sourceRange": []
|
||||||
|
},
|
||||||
|
"from": [
|
||||||
|
0.0,
|
||||||
|
0.905
|
||||||
|
],
|
||||||
|
"tag": null,
|
||||||
|
"to": [
|
||||||
|
-0.258,
|
||||||
|
0.905
|
||||||
|
],
|
||||||
|
"type": "ToPoint",
|
||||||
|
"units": {
|
||||||
|
"type": "Inches"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__geoMeta": {
|
||||||
|
"id": "[uuid]",
|
||||||
|
"sourceRange": []
|
||||||
|
},
|
||||||
|
"from": [
|
||||||
|
-0.258,
|
||||||
|
0.905
|
||||||
|
],
|
||||||
|
"tag": {
|
||||||
|
"commentStart": 1329,
|
||||||
|
"end": 1335,
|
||||||
|
"start": 1329,
|
||||||
|
"type": "TagDeclarator",
|
||||||
|
"value": "seg05"
|
||||||
|
},
|
||||||
|
"to": [
|
||||||
|
-0.583,
|
||||||
|
0.33
|
||||||
|
],
|
||||||
|
"type": "ToPoint",
|
||||||
|
"units": {
|
||||||
|
"type": "Inches"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__geoMeta": {
|
||||||
|
"id": "[uuid]",
|
||||||
|
"sourceRange": []
|
||||||
|
},
|
||||||
|
"from": [
|
||||||
|
-0.583,
|
||||||
|
0.33
|
||||||
|
],
|
||||||
|
"tag": null,
|
||||||
|
"to": [
|
||||||
|
-0.583,
|
||||||
|
0.33
|
||||||
|
],
|
||||||
|
"type": "ToPoint",
|
||||||
|
"units": {
|
||||||
|
"type": "Inches"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"on": {
|
||||||
|
"artifactId": "[uuid]",
|
||||||
|
"id": "[uuid]",
|
||||||
|
"origin": {
|
||||||
|
"x": 0.0,
|
||||||
|
"y": 0.0,
|
||||||
|
"z": 22.86,
|
||||||
|
"units": {
|
||||||
|
"type": "Mm"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"type": "plane",
|
||||||
|
"value": "Custom",
|
||||||
|
"xAxis": {
|
||||||
|
"x": 1.0,
|
||||||
|
"y": 0.0,
|
||||||
|
"z": 0.0,
|
||||||
|
"units": {
|
||||||
|
"type": "Unknown"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"yAxis": {
|
||||||
|
"x": 0.0,
|
||||||
|
"y": 1.0,
|
||||||
|
"z": 0.0,
|
||||||
|
"units": {
|
||||||
|
"type": "Unknown"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"start": {
|
||||||
|
"from": [
|
||||||
|
-0.583,
|
||||||
|
0.33
|
||||||
|
],
|
||||||
|
"to": [
|
||||||
|
-0.583,
|
||||||
|
0.33
|
||||||
|
],
|
||||||
|
"units": {
|
||||||
|
"type": "Inches"
|
||||||
|
},
|
||||||
|
"tag": null,
|
||||||
|
"__geoMeta": {
|
||||||
|
"id": "[uuid]",
|
||||||
|
"sourceRange": []
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"tags": {
|
||||||
|
"seg02": {
|
||||||
|
"type": "TagIdentifier",
|
||||||
|
"value": "seg02"
|
||||||
|
},
|
||||||
|
"seg03": {
|
||||||
|
"type": "TagIdentifier",
|
||||||
|
"value": "seg03"
|
||||||
|
},
|
||||||
|
"seg04": {
|
||||||
|
"type": "TagIdentifier",
|
||||||
|
"value": "seg04"
|
||||||
|
},
|
||||||
|
"seg05": {
|
||||||
|
"type": "TagIdentifier",
|
||||||
|
"value": "seg05"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"artifactId": "[uuid]",
|
||||||
|
"originalId": "[uuid]",
|
||||||
|
"units": {
|
||||||
|
"type": "Inches"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"height": 0.522,
|
||||||
|
"startCapId": "[uuid]",
|
||||||
|
"endCapId": "[uuid]",
|
||||||
|
"edgeCuts": [
|
||||||
|
{
|
||||||
|
"type": "fillet",
|
||||||
|
"id": "[uuid]",
|
||||||
|
"radius": {
|
||||||
|
"n": 0.25519809011583255,
|
||||||
|
"ty": {
|
||||||
|
"type": "Known",
|
||||||
|
"type": "Length",
|
||||||
|
"type": "Inches"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"edgeId": "[uuid]",
|
||||||
|
"tag": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "fillet",
|
||||||
|
"id": "[uuid]",
|
||||||
|
"radius": {
|
||||||
|
"n": 0.25519809011583255,
|
||||||
|
"ty": {
|
||||||
|
"type": "Known",
|
||||||
|
"type": "Length",
|
||||||
|
"type": "Inches"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"edgeId": "[uuid]",
|
||||||
|
"tag": null
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"units": {
|
||||||
|
"type": "Inches"
|
||||||
|
},
|
||||||
|
"sectional": false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"intakeCenterline": {
|
||||||
|
"type": "Number",
|
||||||
|
"value": 108.0,
|
||||||
|
"ty": {
|
||||||
|
"type": "Default",
|
||||||
|
"len": {
|
||||||
|
"type": "Inches"
|
||||||
|
},
|
||||||
|
"angle": {
|
||||||
|
"type": "Degrees"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"intakeDuration": {
|
||||||
|
"type": "Number",
|
||||||
|
"value": 242.0,
|
||||||
|
"ty": {
|
||||||
|
"type": "Default",
|
||||||
|
"len": {
|
||||||
|
"type": "Inches"
|
||||||
|
},
|
||||||
|
"angle": {
|
||||||
|
"type": "Degrees"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"intakeLift": {
|
||||||
|
"type": "Number",
|
||||||
|
"value": 0.235,
|
||||||
|
"ty": {
|
||||||
|
"type": "Default",
|
||||||
|
"len": {
|
||||||
|
"type": "Inches"
|
||||||
|
},
|
||||||
|
"angle": {
|
||||||
|
"type": "Degrees"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"length": {
|
||||||
|
"type": "Number",
|
||||||
|
"value": 18.602,
|
||||||
|
"ty": {
|
||||||
|
"type": "Default",
|
||||||
|
"len": {
|
||||||
|
"type": "Inches"
|
||||||
|
},
|
||||||
|
"angle": {
|
||||||
|
"type": "Degrees"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"lobe": {
|
||||||
|
"type": "Function",
|
||||||
|
"value": null
|
||||||
|
},
|
||||||
|
"lobeSeperation": {
|
||||||
|
"type": "Number",
|
||||||
|
"value": 112.0,
|
||||||
|
"ty": {
|
||||||
|
"type": "Default",
|
||||||
|
"len": {
|
||||||
|
"type": "Inches"
|
||||||
|
},
|
||||||
|
"angle": {
|
||||||
|
"type": "Degrees"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"seg02": {
|
||||||
|
"type": "TagIdentifier",
|
||||||
|
"type": "TagIdentifier",
|
||||||
|
"value": "seg02"
|
||||||
|
},
|
||||||
|
"seg03": {
|
||||||
|
"type": "TagIdentifier",
|
||||||
|
"type": "TagIdentifier",
|
||||||
|
"value": "seg03"
|
||||||
|
},
|
||||||
|
"seg04": {
|
||||||
|
"type": "TagIdentifier",
|
||||||
|
"type": "TagIdentifier",
|
||||||
|
"value": "seg04"
|
||||||
|
},
|
||||||
|
"seg05": {
|
||||||
|
"type": "TagIdentifier",
|
||||||
|
"type": "TagIdentifier",
|
||||||
|
"value": "seg05"
|
||||||
|
},
|
||||||
|
"shaftDiameter": {
|
||||||
|
"type": "Number",
|
||||||
|
"value": 0.97,
|
||||||
|
"ty": {
|
||||||
|
"type": "Default",
|
||||||
|
"len": {
|
||||||
|
"type": "Inches"
|
||||||
|
},
|
||||||
|
"angle": {
|
||||||
|
"type": "Degrees"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"supportBearingWidth": {
|
||||||
|
"type": "Number",
|
||||||
|
"value": 0.45,
|
||||||
|
"ty": {
|
||||||
|
"type": "Default",
|
||||||
|
"len": {
|
||||||
|
"type": "Inches"
|
||||||
|
},
|
||||||
|
"angle": {
|
||||||
|
"type": "Degrees"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"valveCount": {
|
||||||
|
"type": "Function",
|
||||||
|
"value": null
|
||||||
|
},
|
||||||
|
"valvesPerCylinder": {
|
||||||
|
"type": "Number",
|
||||||
|
"value": 4.0,
|
||||||
|
"ty": {
|
||||||
|
"type": "Default",
|
||||||
|
"len": {
|
||||||
|
"type": "Inches"
|
||||||
|
},
|
||||||
|
"angle": {
|
||||||
|
"type": "Degrees"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
BIN
rust/kcl-lib/tests/kcl_samples/camshaft/rendered_model.png
Normal file
After Width: | Height: | Size: 64 KiB |
@ -366,112 +366,112 @@ flowchart LR
|
|||||||
11 ---- 74
|
11 ---- 74
|
||||||
26 --- 75
|
26 --- 75
|
||||||
26 x--> 108
|
26 x--> 108
|
||||||
26 --- 132
|
26 --- 113
|
||||||
26 --- 164
|
26 --- 145
|
||||||
27 --- 76
|
27 --- 76
|
||||||
27 x--> 108
|
27 x--> 108
|
||||||
27 --- 134
|
27 --- 132
|
||||||
27 --- 166
|
27 --- 164
|
||||||
28 --- 77
|
28 --- 77
|
||||||
28 x--> 108
|
28 x--> 108
|
||||||
28 --- 139
|
28 --- 136
|
||||||
28 --- 171
|
28 --- 168
|
||||||
29 --- 78
|
29 --- 78
|
||||||
29 x--> 108
|
29 x--> 108
|
||||||
29 --- 135
|
29 --- 134
|
||||||
29 --- 167
|
29 --- 166
|
||||||
30 --- 79
|
30 --- 79
|
||||||
30 x--> 108
|
30 x--> 108
|
||||||
30 --- 123
|
30 --- 139
|
||||||
30 --- 155
|
30 --- 171
|
||||||
31 --- 80
|
31 --- 80
|
||||||
31 x--> 108
|
31 x--> 108
|
||||||
31 --- 115
|
31 --- 126
|
||||||
31 --- 147
|
31 --- 158
|
||||||
32 --- 81
|
32 --- 81
|
||||||
32 x--> 108
|
32 x--> 108
|
||||||
32 --- 117
|
32 --- 137
|
||||||
32 --- 149
|
32 --- 169
|
||||||
33 --- 82
|
33 --- 82
|
||||||
33 x--> 108
|
33 x--> 108
|
||||||
33 --- 137
|
33 --- 135
|
||||||
33 --- 169
|
33 --- 167
|
||||||
34 --- 83
|
34 --- 83
|
||||||
34 x--> 108
|
34 x--> 108
|
||||||
34 --- 127
|
34 --- 125
|
||||||
34 --- 159
|
34 --- 157
|
||||||
35 --- 84
|
35 --- 84
|
||||||
35 x--> 108
|
35 x--> 108
|
||||||
35 --- 122
|
35 --- 133
|
||||||
35 --- 154
|
35 --- 165
|
||||||
36 --- 85
|
36 --- 85
|
||||||
36 x--> 108
|
36 x--> 108
|
||||||
36 --- 126
|
36 --- 127
|
||||||
36 --- 158
|
36 --- 159
|
||||||
37 --- 86
|
37 --- 86
|
||||||
37 x--> 108
|
37 x--> 108
|
||||||
37 --- 128
|
37 --- 115
|
||||||
37 --- 160
|
37 --- 147
|
||||||
38 --- 87
|
38 --- 87
|
||||||
38 x--> 108
|
38 x--> 108
|
||||||
38 --- 120
|
38 --- 123
|
||||||
38 --- 152
|
38 --- 155
|
||||||
39 --- 88
|
39 --- 88
|
||||||
39 x--> 108
|
39 x--> 108
|
||||||
39 --- 124
|
39 --- 120
|
||||||
39 --- 156
|
39 --- 152
|
||||||
40 --- 89
|
40 --- 89
|
||||||
40 x--> 108
|
40 x--> 108
|
||||||
40 --- 116
|
40 --- 129
|
||||||
40 --- 148
|
40 --- 161
|
||||||
41 --- 90
|
41 --- 90
|
||||||
41 x--> 108
|
41 x--> 108
|
||||||
41 --- 131
|
41 --- 116
|
||||||
41 --- 163
|
41 --- 148
|
||||||
42 --- 91
|
42 --- 91
|
||||||
42 x--> 108
|
42 x--> 108
|
||||||
42 --- 121
|
42 --- 121
|
||||||
42 --- 153
|
42 --- 153
|
||||||
43 --- 92
|
43 --- 92
|
||||||
43 x--> 108
|
43 x--> 108
|
||||||
43 --- 136
|
43 --- 117
|
||||||
43 --- 168
|
43 --- 149
|
||||||
44 --- 93
|
44 --- 93
|
||||||
44 x--> 108
|
44 x--> 108
|
||||||
44 --- 113
|
44 --- 119
|
||||||
44 --- 145
|
44 --- 151
|
||||||
45 --- 94
|
45 --- 94
|
||||||
45 x--> 108
|
45 x--> 108
|
||||||
45 --- 125
|
45 --- 124
|
||||||
45 --- 157
|
45 --- 156
|
||||||
46 --- 95
|
46 --- 95
|
||||||
46 x--> 108
|
46 x--> 108
|
||||||
46 --- 138
|
46 --- 131
|
||||||
46 --- 170
|
46 --- 163
|
||||||
47 --- 96
|
47 --- 96
|
||||||
47 x--> 108
|
47 x--> 108
|
||||||
47 --- 114
|
47 --- 114
|
||||||
47 --- 146
|
47 --- 146
|
||||||
48 --- 97
|
48 --- 97
|
||||||
48 x--> 108
|
48 x--> 108
|
||||||
48 --- 133
|
48 --- 128
|
||||||
48 --- 165
|
48 --- 160
|
||||||
49 --- 98
|
49 --- 98
|
||||||
49 x--> 108
|
49 x--> 108
|
||||||
49 --- 130
|
49 --- 138
|
||||||
49 --- 162
|
49 --- 170
|
||||||
50 --- 99
|
50 --- 99
|
||||||
50 x--> 108
|
50 x--> 108
|
||||||
50 --- 129
|
50 --- 122
|
||||||
50 --- 161
|
50 --- 154
|
||||||
51 --- 100
|
51 --- 100
|
||||||
51 x--> 108
|
51 x--> 108
|
||||||
51 --- 119
|
51 --- 118
|
||||||
51 --- 151
|
51 --- 150
|
||||||
52 --- 101
|
52 --- 101
|
||||||
52 x--> 108
|
52 x--> 108
|
||||||
52 --- 118
|
52 --- 130
|
||||||
52 --- 150
|
52 --- 162
|
||||||
61 --- 102
|
61 --- 102
|
||||||
61 x--> 109
|
61 x--> 109
|
||||||
61 --- 140
|
61 --- 140
|
||||||
@ -594,87 +594,87 @@ flowchart LR
|
|||||||
74 --- 174
|
74 --- 174
|
||||||
74 --- 175
|
74 --- 175
|
||||||
74 --- 176
|
74 --- 176
|
||||||
75 --- 132
|
75 --- 113
|
||||||
75 --- 164
|
75 --- 145
|
||||||
165 <--x 75
|
146 <--x 75
|
||||||
76 --- 134
|
76 --- 132
|
||||||
76 --- 166
|
76 --- 164
|
||||||
167 <--x 76
|
165 <--x 76
|
||||||
77 --- 139
|
77 --- 136
|
||||||
145 <--x 77
|
77 --- 168
|
||||||
77 --- 171
|
169 <--x 77
|
||||||
78 --- 135
|
78 --- 134
|
||||||
78 --- 167
|
78 --- 166
|
||||||
168 <--x 78
|
167 <--x 78
|
||||||
79 --- 123
|
79 --- 139
|
||||||
79 --- 155
|
145 <--x 79
|
||||||
156 <--x 79
|
79 --- 171
|
||||||
80 --- 115
|
80 --- 126
|
||||||
80 --- 147
|
80 --- 158
|
||||||
148 <--x 80
|
159 <--x 80
|
||||||
81 --- 117
|
81 --- 137
|
||||||
81 --- 149
|
81 --- 169
|
||||||
150 <--x 81
|
170 <--x 81
|
||||||
82 --- 137
|
82 --- 135
|
||||||
82 --- 169
|
82 --- 167
|
||||||
170 <--x 82
|
168 <--x 82
|
||||||
83 --- 127
|
83 --- 125
|
||||||
83 --- 159
|
83 --- 157
|
||||||
160 <--x 83
|
158 <--x 83
|
||||||
84 --- 122
|
84 --- 133
|
||||||
84 --- 154
|
84 --- 165
|
||||||
155 <--x 84
|
166 <--x 84
|
||||||
85 --- 126
|
85 --- 127
|
||||||
85 --- 158
|
85 --- 159
|
||||||
159 <--x 85
|
160 <--x 85
|
||||||
86 --- 128
|
86 --- 115
|
||||||
86 --- 160
|
86 --- 147
|
||||||
161 <--x 86
|
148 <--x 86
|
||||||
87 --- 120
|
87 --- 123
|
||||||
87 --- 152
|
87 --- 155
|
||||||
153 <--x 87
|
156 <--x 87
|
||||||
88 --- 124
|
88 --- 120
|
||||||
88 --- 156
|
88 --- 152
|
||||||
157 <--x 88
|
153 <--x 88
|
||||||
89 --- 116
|
89 --- 129
|
||||||
89 --- 148
|
89 --- 161
|
||||||
149 <--x 89
|
162 <--x 89
|
||||||
90 --- 131
|
90 --- 116
|
||||||
90 --- 163
|
90 --- 148
|
||||||
164 <--x 90
|
149 <--x 90
|
||||||
91 --- 121
|
91 --- 121
|
||||||
91 --- 153
|
91 --- 153
|
||||||
154 <--x 91
|
154 <--x 91
|
||||||
92 --- 136
|
92 --- 117
|
||||||
92 --- 168
|
92 --- 149
|
||||||
169 <--x 92
|
150 <--x 92
|
||||||
93 --- 113
|
93 --- 119
|
||||||
93 --- 145
|
93 --- 151
|
||||||
146 <--x 93
|
152 <--x 93
|
||||||
94 --- 125
|
94 --- 124
|
||||||
94 --- 157
|
94 --- 156
|
||||||
158 <--x 94
|
157 <--x 94
|
||||||
95 --- 138
|
95 --- 131
|
||||||
95 --- 170
|
95 --- 163
|
||||||
171 <--x 95
|
164 <--x 95
|
||||||
96 --- 114
|
96 --- 114
|
||||||
96 --- 146
|
96 --- 146
|
||||||
147 <--x 96
|
147 <--x 96
|
||||||
97 --- 133
|
97 --- 128
|
||||||
97 --- 165
|
97 --- 160
|
||||||
166 <--x 97
|
161 <--x 97
|
||||||
98 --- 130
|
98 --- 138
|
||||||
98 --- 162
|
98 --- 170
|
||||||
163 <--x 98
|
171 <--x 98
|
||||||
99 --- 129
|
99 --- 122
|
||||||
99 --- 161
|
99 --- 154
|
||||||
162 <--x 99
|
155 <--x 99
|
||||||
100 --- 119
|
100 --- 118
|
||||||
100 --- 151
|
100 --- 150
|
||||||
152 <--x 100
|
151 <--x 100
|
||||||
101 --- 118
|
101 --- 130
|
||||||
101 --- 150
|
101 --- 162
|
||||||
151 <--x 101
|
163 <--x 101
|
||||||
102 --- 140
|
102 --- 140
|
||||||
102 --- 172
|
102 --- 172
|
||||||
103 --- 144
|
103 --- 144
|
||||||
|
@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
source: kcl-lib/src/simulation_tests.rs
|
||||||
|
description: Artifact graph flowchart end-effector-grippers.kcl
|
||||||
|
extension: md
|
||||||
|
snapshot_kind: binary
|
||||||
|
---
|
10937
rust/kcl-lib/tests/kcl_samples/end-effector-grippers/ast.snap
Normal file
1719
rust/kcl-lib/tests/kcl_samples/end-effector-grippers/ops.snap
Normal file
11798
rust/kcl-lib/tests/kcl_samples/end-effector-grippers/program_memory.snap
Normal file
After Width: | Height: | Size: 81 KiB |
Before Width: | Height: | Size: 43 KiB After Width: | Height: | Size: 19 KiB |
Before Width: | Height: | Size: 117 KiB After Width: | Height: | Size: 19 KiB |
@ -582,48 +582,48 @@ flowchart LR
|
|||||||
46 --- 226
|
46 --- 226
|
||||||
72 --- 112
|
72 --- 112
|
||||||
72 x--> 151
|
72 x--> 151
|
||||||
72 --- 160
|
72 --- 164
|
||||||
72 --- 194
|
72 --- 198
|
||||||
73 --- 113
|
73 --- 113
|
||||||
73 x--> 151
|
73 x--> 151
|
||||||
73 --- 162
|
73 --- 161
|
||||||
73 --- 196
|
73 --- 195
|
||||||
74 --- 114
|
74 --- 114
|
||||||
74 x--> 151
|
74 x--> 151
|
||||||
74 --- 167
|
74 --- 170
|
||||||
74 --- 201
|
74 --- 204
|
||||||
75 --- 115
|
75 --- 115
|
||||||
75 x--> 151
|
75 x--> 151
|
||||||
75 --- 170
|
75 --- 162
|
||||||
75 --- 204
|
75 --- 196
|
||||||
76 --- 116
|
76 --- 116
|
||||||
76 x--> 151
|
76 x--> 151
|
||||||
76 --- 166
|
76 --- 168
|
||||||
76 --- 200
|
76 --- 202
|
||||||
77 --- 117
|
77 --- 117
|
||||||
77 x--> 151
|
77 x--> 151
|
||||||
77 --- 163
|
77 --- 165
|
||||||
77 --- 197
|
77 --- 199
|
||||||
78 --- 118
|
78 --- 118
|
||||||
78 x--> 151
|
78 x--> 151
|
||||||
78 --- 168
|
78 --- 163
|
||||||
78 --- 202
|
78 --- 197
|
||||||
79 --- 119
|
79 --- 119
|
||||||
79 x--> 151
|
79 x--> 151
|
||||||
79 --- 161
|
79 --- 167
|
||||||
79 --- 195
|
79 --- 201
|
||||||
80 --- 120
|
80 --- 120
|
||||||
80 x--> 151
|
80 x--> 151
|
||||||
80 --- 164
|
80 --- 160
|
||||||
80 --- 198
|
80 --- 194
|
||||||
81 --- 121
|
81 --- 121
|
||||||
81 x--> 151
|
81 x--> 151
|
||||||
81 --- 165
|
81 --- 169
|
||||||
81 --- 199
|
81 --- 203
|
||||||
82 --- 122
|
82 --- 122
|
||||||
82 x--> 151
|
82 x--> 151
|
||||||
82 --- 169
|
82 --- 166
|
||||||
82 --- 203
|
82 --- 200
|
||||||
84 --- 123
|
84 --- 123
|
||||||
84 x--> 145
|
84 x--> 145
|
||||||
84 --- 171
|
84 --- 171
|
||||||
@ -756,39 +756,39 @@ flowchart LR
|
|||||||
109 --- 107
|
109 --- 107
|
||||||
111 --- 159
|
111 --- 159
|
||||||
111 --- 193
|
111 --- 193
|
||||||
112 --- 160
|
112 --- 164
|
||||||
112 --- 194
|
112 --- 198
|
||||||
195 <--x 112
|
199 <--x 112
|
||||||
113 --- 162
|
113 --- 161
|
||||||
113 --- 196
|
113 --- 195
|
||||||
197 <--x 113
|
196 <--x 113
|
||||||
114 --- 167
|
114 --- 170
|
||||||
114 --- 201
|
194 <--x 114
|
||||||
202 <--x 114
|
114 --- 204
|
||||||
115 --- 170
|
115 --- 162
|
||||||
194 <--x 115
|
115 --- 196
|
||||||
115 --- 204
|
197 <--x 115
|
||||||
116 --- 166
|
116 --- 168
|
||||||
116 --- 200
|
116 --- 202
|
||||||
201 <--x 116
|
203 <--x 116
|
||||||
117 --- 163
|
117 --- 165
|
||||||
117 --- 197
|
117 --- 199
|
||||||
198 <--x 117
|
200 <--x 117
|
||||||
118 --- 168
|
118 --- 163
|
||||||
118 --- 202
|
118 --- 197
|
||||||
203 <--x 118
|
198 <--x 118
|
||||||
119 --- 161
|
119 --- 167
|
||||||
119 --- 195
|
119 --- 201
|
||||||
196 <--x 119
|
202 <--x 119
|
||||||
120 --- 164
|
120 --- 160
|
||||||
120 --- 198
|
120 --- 194
|
||||||
199 <--x 120
|
195 <--x 120
|
||||||
121 --- 165
|
121 --- 169
|
||||||
121 --- 199
|
121 --- 203
|
||||||
200 <--x 121
|
204 <--x 121
|
||||||
122 --- 169
|
122 --- 166
|
||||||
122 --- 203
|
122 --- 200
|
||||||
204 <--x 122
|
201 <--x 122
|
||||||
123 --- 171
|
123 --- 171
|
||||||
123 --- 205
|
123 --- 205
|
||||||
124 --- 186
|
124 --- 186
|
||||||
|
@ -177,72 +177,72 @@ flowchart LR
|
|||||||
2 ---- 34
|
2 ---- 34
|
||||||
17 --- 35
|
17 --- 35
|
||||||
17 x--> 52
|
17 x--> 52
|
||||||
17 --- 55
|
17 --- 63
|
||||||
17 --- 72
|
17 --- 80
|
||||||
18 --- 36
|
18 --- 36
|
||||||
18 x--> 52
|
18 x--> 52
|
||||||
18 --- 58
|
18 --- 64
|
||||||
18 --- 75
|
18 --- 81
|
||||||
19 --- 37
|
19 --- 37
|
||||||
19 x--> 52
|
19 x--> 52
|
||||||
19 --- 60
|
19 --- 55
|
||||||
19 --- 77
|
19 --- 72
|
||||||
20 --- 38
|
20 --- 38
|
||||||
20 x--> 52
|
20 x--> 52
|
||||||
20 --- 69
|
20 --- 70
|
||||||
20 --- 86
|
20 --- 87
|
||||||
21 --- 39
|
21 --- 39
|
||||||
21 x--> 52
|
21 x--> 52
|
||||||
21 --- 62
|
21 --- 69
|
||||||
21 --- 79
|
21 --- 86
|
||||||
22 --- 40
|
22 --- 40
|
||||||
22 x--> 52
|
22 x--> 52
|
||||||
22 --- 59
|
22 --- 68
|
||||||
22 --- 76
|
22 --- 85
|
||||||
23 --- 41
|
23 --- 41
|
||||||
23 x--> 52
|
23 x--> 52
|
||||||
23 --- 56
|
23 --- 56
|
||||||
23 --- 73
|
23 --- 73
|
||||||
24 --- 42
|
24 --- 42
|
||||||
24 x--> 52
|
24 x--> 52
|
||||||
24 --- 64
|
24 --- 62
|
||||||
24 --- 81
|
24 --- 79
|
||||||
25 --- 43
|
25 --- 43
|
||||||
25 x--> 52
|
25 x--> 52
|
||||||
25 --- 57
|
25 --- 54
|
||||||
25 --- 74
|
25 --- 71
|
||||||
26 --- 44
|
26 --- 44
|
||||||
26 x--> 52
|
26 x--> 52
|
||||||
26 --- 65
|
26 --- 58
|
||||||
26 --- 82
|
26 --- 75
|
||||||
27 --- 45
|
27 --- 45
|
||||||
27 x--> 52
|
27 x--> 52
|
||||||
27 --- 70
|
27 --- 60
|
||||||
27 --- 87
|
27 --- 77
|
||||||
28 --- 46
|
28 --- 46
|
||||||
28 x--> 52
|
28 x--> 52
|
||||||
28 --- 54
|
28 --- 67
|
||||||
28 --- 71
|
28 --- 84
|
||||||
29 --- 47
|
29 --- 47
|
||||||
29 x--> 52
|
29 x--> 52
|
||||||
29 --- 67
|
29 --- 65
|
||||||
29 --- 84
|
29 --- 82
|
||||||
30 --- 48
|
30 --- 48
|
||||||
30 x--> 52
|
30 x--> 52
|
||||||
30 --- 68
|
30 --- 59
|
||||||
30 --- 85
|
30 --- 76
|
||||||
31 --- 49
|
31 --- 49
|
||||||
31 x--> 52
|
31 x--> 52
|
||||||
31 --- 66
|
31 --- 57
|
||||||
31 --- 83
|
31 --- 74
|
||||||
32 --- 50
|
32 --- 50
|
||||||
32 x--> 52
|
32 x--> 52
|
||||||
32 --- 63
|
32 --- 61
|
||||||
32 --- 80
|
32 --- 78
|
||||||
33 --- 51
|
33 --- 51
|
||||||
33 x--> 52
|
33 x--> 52
|
||||||
33 --- 61
|
33 --- 66
|
||||||
33 --- 78
|
33 --- 83
|
||||||
34 --- 35
|
34 --- 35
|
||||||
34 --- 36
|
34 --- 36
|
||||||
34 --- 37
|
34 --- 37
|
||||||
@ -296,57 +296,57 @@ flowchart LR
|
|||||||
34 --- 85
|
34 --- 85
|
||||||
34 --- 86
|
34 --- 86
|
||||||
34 --- 87
|
34 --- 87
|
||||||
35 --- 55
|
35 --- 63
|
||||||
71 <--x 35
|
79 <--x 35
|
||||||
35 --- 72
|
35 --- 80
|
||||||
36 --- 58
|
36 --- 64
|
||||||
74 <--x 36
|
80 <--x 36
|
||||||
36 --- 75
|
36 --- 81
|
||||||
37 --- 60
|
37 --- 55
|
||||||
76 <--x 37
|
71 <--x 37
|
||||||
37 --- 77
|
37 --- 72
|
||||||
38 --- 69
|
38 --- 70
|
||||||
85 <--x 38
|
86 <--x 38
|
||||||
38 --- 86
|
38 --- 87
|
||||||
39 --- 62
|
39 --- 69
|
||||||
78 <--x 39
|
85 <--x 39
|
||||||
39 --- 79
|
39 --- 86
|
||||||
40 --- 59
|
40 --- 68
|
||||||
75 <--x 40
|
84 <--x 40
|
||||||
40 --- 76
|
40 --- 85
|
||||||
41 --- 56
|
41 --- 56
|
||||||
72 <--x 41
|
72 <--x 41
|
||||||
41 --- 73
|
41 --- 73
|
||||||
42 --- 64
|
42 --- 62
|
||||||
80 <--x 42
|
78 <--x 42
|
||||||
42 --- 81
|
42 --- 79
|
||||||
43 --- 57
|
43 --- 54
|
||||||
73 <--x 43
|
43 --- 71
|
||||||
43 --- 74
|
87 <--x 43
|
||||||
44 --- 65
|
44 --- 58
|
||||||
81 <--x 44
|
74 <--x 44
|
||||||
44 --- 82
|
44 --- 75
|
||||||
45 --- 70
|
45 --- 60
|
||||||
86 <--x 45
|
76 <--x 45
|
||||||
45 --- 87
|
45 --- 77
|
||||||
46 --- 54
|
46 --- 67
|
||||||
46 --- 71
|
83 <--x 46
|
||||||
87 <--x 46
|
46 --- 84
|
||||||
47 --- 67
|
47 --- 65
|
||||||
83 <--x 47
|
81 <--x 47
|
||||||
47 --- 84
|
47 --- 82
|
||||||
48 --- 68
|
48 --- 59
|
||||||
84 <--x 48
|
75 <--x 48
|
||||||
48 --- 85
|
48 --- 76
|
||||||
49 --- 66
|
49 --- 57
|
||||||
82 <--x 49
|
73 <--x 49
|
||||||
49 --- 83
|
49 --- 74
|
||||||
50 --- 63
|
50 --- 61
|
||||||
79 <--x 50
|
77 <--x 50
|
||||||
50 --- 80
|
50 --- 78
|
||||||
51 --- 61
|
51 --- 66
|
||||||
77 <--x 51
|
82 <--x 51
|
||||||
51 --- 78
|
51 --- 83
|
||||||
54 <--x 53
|
54 <--x 53
|
||||||
55 <--x 53
|
55 <--x 53
|
||||||
56 <--x 53
|
56 <--x 53
|
||||||
|
@ -112,8 +112,8 @@ flowchart LR
|
|||||||
8 --- 20
|
8 --- 20
|
||||||
8 ---- 25
|
8 ---- 25
|
||||||
12 <--x 32
|
12 <--x 32
|
||||||
12 <--x 33
|
12 --- 33
|
||||||
12 --- 34
|
12 <--x 34
|
||||||
13 --- 31
|
13 --- 31
|
||||||
13 x--> 35
|
13 x--> 35
|
||||||
13 --- 39
|
13 --- 39
|
||||||
|
@ -889,7 +889,7 @@ flowchart LR
|
|||||||
99 --- 265
|
99 --- 265
|
||||||
99 --- 314
|
99 --- 314
|
||||||
106 --- 181
|
106 --- 181
|
||||||
106 x--> 213
|
106 x--> 212
|
||||||
106 --- 260
|
106 --- 260
|
||||||
106 --- 309
|
106 --- 309
|
||||||
126 --- 194
|
126 --- 194
|
||||||
@ -1227,7 +1227,7 @@ flowchart LR
|
|||||||
251 <--x 209
|
251 <--x 209
|
||||||
252 <--x 209
|
252 <--x 209
|
||||||
253 <--x 209
|
253 <--x 209
|
||||||
260 <--x 212
|
260 <--x 213
|
||||||
261 <--x 214
|
261 <--x 214
|
||||||
262 <--x 214
|
262 <--x 214
|
||||||
263 <--x 214
|
263 <--x 214
|
||||||
|
@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
source: kcl-lib/src/simulation_tests.rs
|
||||||
|
description: Artifact graph flowchart wind-turbine-blade.kcl
|
||||||
|
extension: md
|
||||||
|
snapshot_kind: binary
|
||||||
|
---
|
@ -0,0 +1,547 @@
|
|||||||
|
```mermaid
|
||||||
|
flowchart LR
|
||||||
|
subgraph path19 [Path]
|
||||||
|
19["Path<br>[777, 832, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
|
||||||
|
32["Segment<br>[777, 832, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
|
||||||
|
76[Solid2d]
|
||||||
|
end
|
||||||
|
subgraph path20 [Path]
|
||||||
|
20["Path<br>[856, 927, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }, CallKwArg { index: 0 }]
|
||||||
|
33["Segment<br>[856, 927, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }, CallKwArg { index: 0 }]
|
||||||
|
77[Solid2d]
|
||||||
|
end
|
||||||
|
subgraph path21 [Path]
|
||||||
|
21["Path<br>[1078, 1203, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
|
||||||
|
34["Segment<br>[1078, 1203, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
|
||||||
|
72[Solid2d]
|
||||||
|
end
|
||||||
|
subgraph path22 [Path]
|
||||||
|
22["Path<br>[1458, 1549, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
|
||||||
|
35["Segment<br>[1555, 1575, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
|
||||||
|
36["Segment<br>[1581, 1601, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
|
||||||
|
37["Segment<br>[1607, 1628, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
|
||||||
|
38["Segment<br>[1634, 1655, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 5 }]
|
||||||
|
39["Segment<br>[1661, 1698, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 6 }]
|
||||||
|
40["Segment<br>[1704, 1760, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 7 }]
|
||||||
|
41["Segment<br>[1766, 1773, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 8 }]
|
||||||
|
81[Solid2d]
|
||||||
|
end
|
||||||
|
subgraph path23 [Path]
|
||||||
|
23["Path<br>[2200, 2291, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
|
||||||
|
42["Segment<br>[2297, 2317, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
|
||||||
|
43["Segment<br>[2323, 2425, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
|
||||||
|
44["Segment<br>[2431, 2453, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
|
||||||
|
45["Segment<br>[2459, 2480, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 5 }]
|
||||||
|
46["Segment<br>[2486, 2506, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 6 }]
|
||||||
|
47["Segment<br>[2512, 2533, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 7 }]
|
||||||
|
48["Segment<br>[2539, 2595, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 8 }]
|
||||||
|
49["Segment<br>[2601, 2608, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 9 }]
|
||||||
|
82[Solid2d]
|
||||||
|
end
|
||||||
|
subgraph path24 [Path]
|
||||||
|
24["Path<br>[3054, 3109, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
|
||||||
|
50["Segment<br>[3054, 3109, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
|
||||||
|
75[Solid2d]
|
||||||
|
end
|
||||||
|
subgraph path25 [Path]
|
||||||
|
25["Path<br>[3133, 3171, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }, CallKwArg { index: 0 }]
|
||||||
|
51["Segment<br>[3133, 3171, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }, CallKwArg { index: 0 }]
|
||||||
|
84[Solid2d]
|
||||||
|
end
|
||||||
|
subgraph path26 [Path]
|
||||||
|
26["Path<br>[3417, 3443, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
|
||||||
|
53["Segment<br>[3451, 3524, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
|
||||||
|
55["Segment<br>[3532, 3593, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
|
||||||
|
56["Segment<br>[3601, 3666, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
|
||||||
|
58["Segment<br>[3674, 3681, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 5 }]
|
||||||
|
73[Solid2d]
|
||||||
|
end
|
||||||
|
subgraph path27 [Path]
|
||||||
|
27["Path<br>[3417, 3443, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
|
||||||
|
52["Segment<br>[3451, 3524, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
|
||||||
|
54["Segment<br>[3532, 3593, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
|
||||||
|
57["Segment<br>[3601, 3666, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
|
||||||
|
59["Segment<br>[3674, 3681, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 5 }]
|
||||||
|
74[Solid2d]
|
||||||
|
end
|
||||||
|
subgraph path28 [Path]
|
||||||
|
28["Path<br>[3845, 3871, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
|
||||||
|
61["Segment<br>[3960, 4021, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
|
||||||
|
63["Segment<br>[4029, 4094, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
|
||||||
|
65["Segment<br>[4102, 4109, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 5 }]
|
||||||
|
78[Solid2d]
|
||||||
|
end
|
||||||
|
subgraph path29 [Path]
|
||||||
|
29["Path<br>[3845, 3871, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
|
||||||
|
60["Segment<br>[3879, 3952, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
|
||||||
|
62["Segment<br>[3960, 4021, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
|
||||||
|
64["Segment<br>[4029, 4094, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
|
||||||
|
66["Segment<br>[4102, 4109, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 5 }]
|
||||||
|
83[Solid2d]
|
||||||
|
end
|
||||||
|
subgraph path30 [Path]
|
||||||
|
30["Path<br>[4501, 4527, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
|
||||||
|
67["Segment<br>[4535, 4608, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
|
||||||
|
68["Segment<br>[4616, 4677, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
|
||||||
|
69["Segment<br>[4685, 4750, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
|
||||||
|
71["Segment<br>[4758, 4765, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 5 }]
|
||||||
|
79[Solid2d]
|
||||||
|
end
|
||||||
|
subgraph path31 [Path]
|
||||||
|
31["Path<br>[4501, 4527, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
|
||||||
|
70["Segment<br>[4758, 4765, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 5 }]
|
||||||
|
80[Solid2d]
|
||||||
|
end
|
||||||
|
1["Plane<br>[754, 771, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
|
||||||
|
2["Plane<br>[1435, 1452, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
|
||||||
|
3["Plane<br>[2177, 2194, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
|
||||||
|
4["Plane<br>[3020, 3047, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }, CallKwUnlabeledArg]
|
||||||
|
5["Plane<br>[3368, 3408, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }, CallKwUnlabeledArg]
|
||||||
|
6["Plane<br>[3368, 3408, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }, CallKwUnlabeledArg]
|
||||||
|
7["Plane<br>[3796, 3836, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }, CallKwUnlabeledArg]
|
||||||
|
8["Plane<br>[3796, 3836, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }, CallKwUnlabeledArg]
|
||||||
|
9["Plane<br>[4452, 4492, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }, CallKwUnlabeledArg]
|
||||||
|
10["Plane<br>[4452, 4492, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }, CallKwUnlabeledArg]
|
||||||
|
11["StartSketchOnPlane<br>[3354, 3409, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
|
||||||
|
12["StartSketchOnPlane<br>[4438, 4493, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
|
||||||
|
13["StartSketchOnPlane<br>[3006, 3048, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 7 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
|
||||||
|
14["StartSketchOnPlane<br>[3782, 3837, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
|
||||||
|
15["StartSketchOnPlane<br>[4438, 4493, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
|
||||||
|
16["StartSketchOnPlane<br>[3782, 3837, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
|
||||||
|
17["StartSketchOnPlane<br>[3354, 3409, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 8 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 1 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
|
||||||
|
18["StartSketchOnFace<br>[1032, 1072, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
|
||||||
|
85["Sweep Extrusion<br>[934, 953, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 3 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
|
||||||
|
86["Sweep Extrusion<br>[1345, 1369, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
|
||||||
|
87["Sweep Extrusion<br>[1345, 1369, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
|
||||||
|
88["Sweep Extrusion<br>[1345, 1369, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
|
||||||
|
89["Sweep Extrusion<br>[1345, 1369, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
|
||||||
|
90["Sweep Extrusion<br>[1345, 1369, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
|
||||||
|
91["Sweep Extrusion<br>[1345, 1369, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
|
||||||
|
92["Sweep Extrusion<br>[1345, 1369, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
|
||||||
|
93["Sweep Extrusion<br>[1345, 1369, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
|
||||||
|
94["Sweep Extrusion<br>[1345, 1369, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
|
||||||
|
95["Sweep Extrusion<br>[1345, 1369, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
|
||||||
|
96["Sweep Extrusion<br>[1345, 1369, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
|
||||||
|
97["Sweep Extrusion<br>[1345, 1369, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
|
||||||
|
98["Sweep Extrusion<br>[1345, 1369, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
|
||||||
|
99["Sweep Extrusion<br>[1345, 1369, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
|
||||||
|
100["Sweep Extrusion<br>[1345, 1369, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
|
||||||
|
101["Sweep Extrusion<br>[1345, 1369, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
|
||||||
|
102["Sweep Revolve<br>[1779, 1918, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 5 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 9 }]
|
||||||
|
103["Sweep Revolve<br>[2614, 2753, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 6 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 10 }]
|
||||||
|
104["Sweep Loft<br>[5143, 5176, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 12 }, ExpressionStatementExpr, PipeBodyItem { index: 0 }]
|
||||||
|
105["Sweep Loft<br>[5496, 5516, 0]"]
|
||||||
|
%% [ProgramBodyItem { index: 15 }, ExpressionStatementExpr, PipeBodyItem { index: 0 }]
|
||||||
|
106[Wall]
|
||||||
|
%% face_code_ref=Missing NodePath
|
||||||
|
107[Wall]
|
||||||
|
%% face_code_ref=Missing NodePath
|
||||||
|
108[Wall]
|
||||||
|
%% face_code_ref=Missing NodePath
|
||||||
|
109[Wall]
|
||||||
|
%% face_code_ref=Missing NodePath
|
||||||
|
110[Wall]
|
||||||
|
%% face_code_ref=Missing NodePath
|
||||||
|
111[Wall]
|
||||||
|
%% face_code_ref=Missing NodePath
|
||||||
|
112[Wall]
|
||||||
|
%% face_code_ref=Missing NodePath
|
||||||
|
113[Wall]
|
||||||
|
%% face_code_ref=Missing NodePath
|
||||||
|
114[Wall]
|
||||||
|
%% face_code_ref=Missing NodePath
|
||||||
|
115[Wall]
|
||||||
|
%% face_code_ref=Missing NodePath
|
||||||
|
116[Wall]
|
||||||
|
%% face_code_ref=Missing NodePath
|
||||||
|
117[Wall]
|
||||||
|
%% face_code_ref=Missing NodePath
|
||||||
|
118[Wall]
|
||||||
|
%% face_code_ref=Missing NodePath
|
||||||
|
119[Wall]
|
||||||
|
%% face_code_ref=Missing NodePath
|
||||||
|
120[Wall]
|
||||||
|
%% face_code_ref=Missing NodePath
|
||||||
|
121[Wall]
|
||||||
|
%% face_code_ref=Missing NodePath
|
||||||
|
122[Wall]
|
||||||
|
%% face_code_ref=Missing NodePath
|
||||||
|
123[Wall]
|
||||||
|
%% face_code_ref=Missing NodePath
|
||||||
|
124[Wall]
|
||||||
|
%% face_code_ref=Missing NodePath
|
||||||
|
125["Cap Start"]
|
||||||
|
%% face_code_ref=Missing NodePath
|
||||||
|
126["Cap Start"]
|
||||||
|
%% face_code_ref=[ProgramBodyItem { index: 4 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
|
||||||
|
127["Cap End"]
|
||||||
|
%% face_code_ref=Missing NodePath
|
||||||
|
128["Cap End"]
|
||||||
|
%% face_code_ref=Missing NodePath
|
||||||
|
129["Cap End"]
|
||||||
|
%% face_code_ref=Missing NodePath
|
||||||
|
130["Cap End"]
|
||||||
|
%% face_code_ref=Missing NodePath
|
||||||
|
131["Cap End"]
|
||||||
|
%% face_code_ref=Missing NodePath
|
||||||
|
132["SweepEdge Opposite"]
|
||||||
|
133["SweepEdge Opposite"]
|
||||||
|
134["SweepEdge Opposite"]
|
||||||
|
135["SweepEdge Opposite"]
|
||||||
|
136["SweepEdge Opposite"]
|
||||||
|
137["SweepEdge Opposite"]
|
||||||
|
138["SweepEdge Adjacent"]
|
||||||
|
139["SweepEdge Adjacent"]
|
||||||
|
140["SweepEdge Adjacent"]
|
||||||
|
141["SweepEdge Adjacent"]
|
||||||
|
142["SweepEdge Adjacent"]
|
||||||
|
143["SweepEdge Adjacent"]
|
||||||
|
144["SweepEdge Adjacent"]
|
||||||
|
145["SweepEdge Adjacent"]
|
||||||
|
146["SweepEdge Adjacent"]
|
||||||
|
147["SweepEdge Adjacent"]
|
||||||
|
148["SweepEdge Adjacent"]
|
||||||
|
149["SweepEdge Adjacent"]
|
||||||
|
150["SweepEdge Adjacent"]
|
||||||
|
151["SweepEdge Adjacent"]
|
||||||
|
152["SweepEdge Adjacent"]
|
||||||
|
153["SweepEdge Adjacent"]
|
||||||
|
154["SweepEdge Adjacent"]
|
||||||
|
155["SweepEdge Adjacent"]
|
||||||
|
1 --- 19
|
||||||
|
1 --- 20
|
||||||
|
2 --- 22
|
||||||
|
3 --- 23
|
||||||
|
4 <--x 13
|
||||||
|
4 --- 24
|
||||||
|
4 --- 25
|
||||||
|
5 <--x 11
|
||||||
|
5 --- 27
|
||||||
|
6 <--x 17
|
||||||
|
6 --- 26
|
||||||
|
7 <--x 16
|
||||||
|
7 --- 28
|
||||||
|
8 <--x 14
|
||||||
|
8 --- 29
|
||||||
|
9 <--x 15
|
||||||
|
9 --- 30
|
||||||
|
10 <--x 12
|
||||||
|
10 --- 31
|
||||||
|
126 x--> 18
|
||||||
|
19 --- 32
|
||||||
|
19 --- 76
|
||||||
|
19 ---- 85
|
||||||
|
20 --- 33
|
||||||
|
20 --- 77
|
||||||
|
21 --- 34
|
||||||
|
21 --- 72
|
||||||
|
21 ---- 94
|
||||||
|
126 --- 21
|
||||||
|
22 --- 35
|
||||||
|
22 --- 36
|
||||||
|
22 --- 37
|
||||||
|
22 --- 38
|
||||||
|
22 --- 39
|
||||||
|
22 --- 40
|
||||||
|
22 --- 41
|
||||||
|
22 --- 81
|
||||||
|
22 ---- 102
|
||||||
|
23 --- 42
|
||||||
|
23 --- 43
|
||||||
|
23 --- 44
|
||||||
|
23 --- 45
|
||||||
|
23 --- 46
|
||||||
|
23 --- 47
|
||||||
|
23 --- 48
|
||||||
|
23 --- 49
|
||||||
|
23 --- 82
|
||||||
|
23 ---- 103
|
||||||
|
24 --- 50
|
||||||
|
24 --- 75
|
||||||
|
24 ---- 104
|
||||||
|
25 --- 51
|
||||||
|
25 --- 84
|
||||||
|
26 --- 53
|
||||||
|
26 --- 55
|
||||||
|
26 --- 56
|
||||||
|
26 --- 58
|
||||||
|
26 --- 73
|
||||||
|
27 --- 52
|
||||||
|
27 --- 54
|
||||||
|
27 --- 57
|
||||||
|
27 --- 59
|
||||||
|
27 --- 74
|
||||||
|
28 --- 61
|
||||||
|
28 --- 63
|
||||||
|
28 --- 65
|
||||||
|
28 --- 78
|
||||||
|
28 x---> 104
|
||||||
|
28 x--> 133
|
||||||
|
29 --- 60
|
||||||
|
29 --- 62
|
||||||
|
29 --- 64
|
||||||
|
29 --- 66
|
||||||
|
29 --- 83
|
||||||
|
29 x---> 104
|
||||||
|
30 --- 67
|
||||||
|
30 --- 68
|
||||||
|
30 --- 69
|
||||||
|
30 --- 71
|
||||||
|
30 --- 79
|
||||||
|
30 ---- 105
|
||||||
|
31 --- 70
|
||||||
|
31 --- 80
|
||||||
|
31 x---> 105
|
||||||
|
31 x--> 134
|
||||||
|
31 x--> 135
|
||||||
|
31 x--> 136
|
||||||
|
32 --- 124
|
||||||
|
32 x--> 126
|
||||||
|
32 --- 137
|
||||||
|
32 --- 155
|
||||||
|
34 --- 119
|
||||||
|
34 x--> 126
|
||||||
|
34 --- 132
|
||||||
|
34 --- 150
|
||||||
|
102 <--x 35
|
||||||
|
35 --- 110
|
||||||
|
35 x--> 138
|
||||||
|
102 <--x 36
|
||||||
|
36 --- 106
|
||||||
|
36 --- 138
|
||||||
|
102 <--x 37
|
||||||
|
37 --- 107
|
||||||
|
37 --- 139
|
||||||
|
102 <--x 38
|
||||||
|
38 --- 111
|
||||||
|
38 --- 140
|
||||||
|
102 <--x 39
|
||||||
|
39 --- 109
|
||||||
|
39 --- 141
|
||||||
|
102 <--x 40
|
||||||
|
40 --- 108
|
||||||
|
40 --- 142
|
||||||
|
103 <--x 42
|
||||||
|
42 --- 117
|
||||||
|
42 --- 143
|
||||||
|
103 <--x 43
|
||||||
|
43 --- 112
|
||||||
|
43 --- 144
|
||||||
|
103 <--x 44
|
||||||
|
44 --- 115
|
||||||
|
44 --- 145
|
||||||
|
103 <--x 45
|
||||||
|
45 --- 114
|
||||||
|
45 --- 146
|
||||||
|
103 <--x 46
|
||||||
|
46 --- 113
|
||||||
|
46 --- 147
|
||||||
|
103 <--x 47
|
||||||
|
47 --- 116
|
||||||
|
47 --- 148
|
||||||
|
103 <--x 48
|
||||||
|
48 --- 118
|
||||||
|
48 --- 149
|
||||||
|
50 --- 120
|
||||||
|
50 x--> 127
|
||||||
|
50 --- 133
|
||||||
|
50 --- 151
|
||||||
|
67 --- 123
|
||||||
|
67 x--> 129
|
||||||
|
67 --- 134
|
||||||
|
67 --- 152
|
||||||
|
68 --- 122
|
||||||
|
68 x--> 129
|
||||||
|
68 --- 135
|
||||||
|
68 --- 153
|
||||||
|
69 --- 121
|
||||||
|
69 x--> 129
|
||||||
|
69 --- 136
|
||||||
|
69 --- 154
|
||||||
|
85 --- 124
|
||||||
|
85 --- 126
|
||||||
|
85 --- 131
|
||||||
|
85 --- 137
|
||||||
|
85 --- 155
|
||||||
|
94 --- 119
|
||||||
|
94 --- 125
|
||||||
|
94 --- 132
|
||||||
|
94 --- 150
|
||||||
|
102 --- 106
|
||||||
|
102 --- 107
|
||||||
|
102 --- 108
|
||||||
|
102 --- 109
|
||||||
|
102 --- 110
|
||||||
|
102 --- 111
|
||||||
|
102 --- 138
|
||||||
|
102 --- 139
|
||||||
|
102 --- 140
|
||||||
|
102 --- 141
|
||||||
|
102 --- 142
|
||||||
|
103 --- 112
|
||||||
|
103 --- 113
|
||||||
|
103 --- 114
|
||||||
|
103 --- 115
|
||||||
|
103 --- 116
|
||||||
|
103 --- 117
|
||||||
|
103 --- 118
|
||||||
|
103 --- 143
|
||||||
|
103 --- 144
|
||||||
|
103 --- 145
|
||||||
|
103 --- 146
|
||||||
|
103 --- 147
|
||||||
|
103 --- 148
|
||||||
|
103 --- 149
|
||||||
|
104 --- 120
|
||||||
|
104 --- 127
|
||||||
|
104 --- 128
|
||||||
|
104 --- 133
|
||||||
|
104 --- 151
|
||||||
|
105 --- 121
|
||||||
|
105 --- 122
|
||||||
|
105 --- 123
|
||||||
|
105 --- 129
|
||||||
|
105 --- 130
|
||||||
|
105 --- 134
|
||||||
|
105 --- 135
|
||||||
|
105 --- 136
|
||||||
|
105 --- 152
|
||||||
|
105 --- 153
|
||||||
|
105 --- 154
|
||||||
|
106 --- 138
|
||||||
|
107 --- 139
|
||||||
|
141 <--x 108
|
||||||
|
108 --- 142
|
||||||
|
140 <--x 109
|
||||||
|
109 --- 141
|
||||||
|
110 --- 138
|
||||||
|
142 <--x 110
|
||||||
|
139 <--x 111
|
||||||
|
111 --- 140
|
||||||
|
143 <--x 112
|
||||||
|
112 --- 144
|
||||||
|
146 <--x 113
|
||||||
|
113 --- 147
|
||||||
|
145 <--x 114
|
||||||
|
114 --- 146
|
||||||
|
144 <--x 115
|
||||||
|
115 --- 145
|
||||||
|
147 <--x 116
|
||||||
|
116 --- 148
|
||||||
|
117 --- 143
|
||||||
|
149 <--x 117
|
||||||
|
148 <--x 118
|
||||||
|
118 --- 149
|
||||||
|
119 --- 132
|
||||||
|
119 --- 150
|
||||||
|
120 --- 133
|
||||||
|
120 --- 151
|
||||||
|
121 --- 136
|
||||||
|
152 <--x 121
|
||||||
|
121 --- 154
|
||||||
|
122 --- 135
|
||||||
|
122 --- 153
|
||||||
|
154 <--x 122
|
||||||
|
123 --- 134
|
||||||
|
123 --- 152
|
||||||
|
153 <--x 123
|
||||||
|
124 --- 137
|
||||||
|
124 --- 155
|
||||||
|
132 <--x 125
|
||||||
|
133 <--x 128
|
||||||
|
134 <--x 130
|
||||||
|
135 <--x 130
|
||||||
|
136 <--x 130
|
||||||
|
137 <--x 131
|
||||||
|
```
|
7414
rust/kcl-lib/tests/kcl_samples/wind-turbine-blade/ast.snap
Normal file
1708
rust/kcl-lib/tests/kcl_samples/wind-turbine-blade/ops.snap
Normal file
12711
rust/kcl-lib/tests/kcl_samples/wind-turbine-blade/program_memory.snap
Normal file
After Width: | Height: | Size: 31 KiB |