mirror of
https://github.com/bherbruck/solidcraft.git
synced 2026-11-05 03:25:58 +00:00
Trays at 72 degrees and with four angles and heights, a tray shrunk by a parameter and unfolded, an L bracket unfolded and refolded, opposite flanges at 105 and 120 degrees, torn corners folded, and a rhombus whose square reliefs would overlap. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
+10
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"sources": [
|
||||
"tangency-labs/solidcraft#1797",
|
||||
"tangency-labs/solidcraft#1799"
|
||||
],
|
||||
"what": "a tray whose flanges lean at 72 degrees with the tear corner relief: the torn ends are helices over slanted bends",
|
||||
"source": "invariants",
|
||||
"method": "one valid closed body (the helical torn ends must sew into a closed shell)",
|
||||
"body_count": 1
|
||||
}
|
||||
+81
@@ -0,0 +1,81 @@
|
||||
{
|
||||
"commands": [
|
||||
{
|
||||
"command": "sheet.manage_rules",
|
||||
"params": {
|
||||
"name": "Sheet 2 mm",
|
||||
"thickness": "2 mm",
|
||||
"active": true,
|
||||
"bend_radius": "1 mm",
|
||||
"k_factor": 0.5,
|
||||
"gap": "0.5 mm",
|
||||
"corner_relief_shape": "tear"
|
||||
}
|
||||
},
|
||||
{
|
||||
"command": "sketch.create",
|
||||
"params": {
|
||||
"plane": "XY",
|
||||
"name": "Base"
|
||||
}
|
||||
},
|
||||
{
|
||||
"command": "sketch.rectangle.two_point",
|
||||
"params": {
|
||||
"p0": [
|
||||
0,
|
||||
0
|
||||
],
|
||||
"p1": [
|
||||
120,
|
||||
90
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"command": "sketch.finish",
|
||||
"params": {}
|
||||
},
|
||||
{
|
||||
"command": "sheet.flange",
|
||||
"params": {
|
||||
"type": "base",
|
||||
"sketch": "Base"
|
||||
}
|
||||
},
|
||||
{
|
||||
"command": "sheet.flange",
|
||||
"params": {
|
||||
"type": "edge",
|
||||
"height": 38.6,
|
||||
"angle": 72,
|
||||
"edges": [
|
||||
[
|
||||
60.0,
|
||||
0,
|
||||
2
|
||||
],
|
||||
[
|
||||
120,
|
||||
45.0,
|
||||
2
|
||||
],
|
||||
[
|
||||
60.0,
|
||||
90,
|
||||
2
|
||||
],
|
||||
[
|
||||
0,
|
||||
45.0,
|
||||
2
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"command": "inspect.measure",
|
||||
"params": {}
|
||||
}
|
||||
]
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"sources": [
|
||||
"tangency-labs/solidcraft#3417",
|
||||
"tangency-labs/solidcraft#3421",
|
||||
"tangency-labs/solidcraft#3280"
|
||||
],
|
||||
"what": "a 60 mm rhombus (120 and 60 degree corners) with a 90 degree flange on each of its four edges and a square corner relief 8 mm across: the reliefs at the two 120 degree corners would overlap",
|
||||
"source": "invariants",
|
||||
"method": "one valid closed body whichever relief is left out; a square relief 8 mm across at a 120 degree corner reaches 2r from the corner along the bisector, so the reliefs at the two opposite 120 degree corners reach each other and are left out together, which makes the result independent of the order the flanges were made in; no volume is graded because the corner closure has no simple closed form",
|
||||
"body_count": 1
|
||||
}
|
||||
+93
@@ -0,0 +1,93 @@
|
||||
{
|
||||
"commands": [
|
||||
{
|
||||
"command": "sheet.manage_rules",
|
||||
"params": {
|
||||
"name": "Sheet 2 mm",
|
||||
"thickness": "2 mm",
|
||||
"active": true,
|
||||
"bend_radius": "1 mm",
|
||||
"k_factor": 0.5,
|
||||
"gap": "0.5 mm",
|
||||
"corner_relief_shape": "rectangular",
|
||||
"corner_relief": "8 mm"
|
||||
}
|
||||
},
|
||||
{
|
||||
"command": "sketch.create",
|
||||
"params": {
|
||||
"plane": "XY",
|
||||
"name": "Rhombus"
|
||||
}
|
||||
},
|
||||
{
|
||||
"command": "sketch.line",
|
||||
"params": {
|
||||
"points": [
|
||||
[
|
||||
0,
|
||||
0
|
||||
],
|
||||
[
|
||||
60,
|
||||
0
|
||||
],
|
||||
[
|
||||
90,
|
||||
51.96152422706631
|
||||
],
|
||||
[
|
||||
30,
|
||||
51.96152422706631
|
||||
]
|
||||
],
|
||||
"closed": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"command": "sketch.finish",
|
||||
"params": {}
|
||||
},
|
||||
{
|
||||
"command": "sheet.flange",
|
||||
"params": {
|
||||
"type": "base",
|
||||
"sketch": "Rhombus"
|
||||
}
|
||||
},
|
||||
{
|
||||
"command": "sheet.flange",
|
||||
"params": {
|
||||
"type": "edge",
|
||||
"height": 20,
|
||||
"angle": 90,
|
||||
"edges": [
|
||||
[
|
||||
30.0,
|
||||
0,
|
||||
2
|
||||
],
|
||||
[
|
||||
75.0,
|
||||
25.980762,
|
||||
2
|
||||
],
|
||||
[
|
||||
60.0,
|
||||
51.961524,
|
||||
2
|
||||
],
|
||||
[
|
||||
15.0,
|
||||
25.980762,
|
||||
2
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"command": "inspect.measure",
|
||||
"params": {}
|
||||
}
|
||||
]
|
||||
}
|
||||
+21
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"sources": [
|
||||
"tangency-labs/solidcraft#349"
|
||||
],
|
||||
"what": "a 2000 x 2500 tray with four 38.6 mm flanges at 72 degrees whose sketch is driven by parameters W and H, shrunk to 400 x 300 and unfolded (the solver leaves 1e-13 mm residuals: the planar region arrangement failed)",
|
||||
"source": "analytic",
|
||||
"method": "a flange of angle th, outer leg length Hf (height, from the virtual sharp along the flange) bends with allowance BA = th(R+Kt) and bend deduction BD = 2(R+t)tan(th/2) - BA; unfolded it lies in the base's plane and reaches Hf - BD beyond the base's edge. T = 2, R = 1, K = 0.5. BD(72) = 1.8460; the flat of the 400 x 300 tray is the same as built directly: reaches 36.7540 past each base edge",
|
||||
"body_count": 1,
|
||||
"bbox": {
|
||||
"min": [
|
||||
-36.75401895483967,
|
||||
-36.75401895483967,
|
||||
0
|
||||
],
|
||||
"max": [
|
||||
436.7540189548397,
|
||||
336.7540189548397,
|
||||
2
|
||||
]
|
||||
}
|
||||
}
|
||||
+132
@@ -0,0 +1,132 @@
|
||||
{
|
||||
"commands": [
|
||||
{
|
||||
"command": "parameters.add",
|
||||
"params": {
|
||||
"name": "W",
|
||||
"expression": "2000 mm"
|
||||
}
|
||||
},
|
||||
{
|
||||
"command": "parameters.add",
|
||||
"params": {
|
||||
"name": "H",
|
||||
"expression": "2500 mm"
|
||||
}
|
||||
},
|
||||
{
|
||||
"command": "sheet.manage_rules",
|
||||
"params": {
|
||||
"name": "AL2",
|
||||
"thickness": "2 mm",
|
||||
"active": true,
|
||||
"bend_radius": "1 mm",
|
||||
"k_factor": 0.5
|
||||
}
|
||||
},
|
||||
{
|
||||
"command": "sketch.create",
|
||||
"params": {
|
||||
"plane": "XY",
|
||||
"name": "Tray"
|
||||
}
|
||||
},
|
||||
{
|
||||
"command": "sketch.rectangle.two_point",
|
||||
"params": {
|
||||
"p0": [
|
||||
0,
|
||||
0
|
||||
],
|
||||
"p1": [
|
||||
2000,
|
||||
2500
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"command": "sketch.constraint.fix",
|
||||
"params": {
|
||||
"entities": [
|
||||
"p1"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"command": "sketch.dimension",
|
||||
"params": {
|
||||
"entities": [
|
||||
"l1"
|
||||
],
|
||||
"value": "W"
|
||||
}
|
||||
},
|
||||
{
|
||||
"command": "sketch.dimension",
|
||||
"params": {
|
||||
"entities": [
|
||||
"l2"
|
||||
],
|
||||
"value": "H"
|
||||
}
|
||||
},
|
||||
{
|
||||
"command": "sketch.finish",
|
||||
"params": {}
|
||||
},
|
||||
{
|
||||
"command": "sheet.flange",
|
||||
"params": {
|
||||
"type": "base",
|
||||
"sketch": "Tray"
|
||||
}
|
||||
},
|
||||
{
|
||||
"command": "sheet.flange",
|
||||
"params": {
|
||||
"type": "edge",
|
||||
"edges": [
|
||||
[
|
||||
1000,
|
||||
0,
|
||||
2
|
||||
],
|
||||
[
|
||||
2000,
|
||||
1250,
|
||||
2
|
||||
],
|
||||
[
|
||||
1000,
|
||||
2500,
|
||||
2
|
||||
],
|
||||
[
|
||||
0,
|
||||
1250,
|
||||
2
|
||||
]
|
||||
],
|
||||
"height": 38.6,
|
||||
"angle": 72
|
||||
}
|
||||
},
|
||||
{
|
||||
"command": "parameters.change",
|
||||
"params": {
|
||||
"changes": {
|
||||
"W": "400 mm",
|
||||
"H": "300 mm"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"command": "sheet.unfold",
|
||||
"params": {}
|
||||
},
|
||||
{
|
||||
"command": "inspect.measure",
|
||||
"params": {}
|
||||
}
|
||||
]
|
||||
}
|
||||
+21
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"sources": [
|
||||
"tangency-labs/solidcraft#349"
|
||||
],
|
||||
"what": "a 2000 x 2500 tray with four 38.6 mm flanges at 90 degrees whose sketch is driven by parameters W and H, shrunk to 400 x 300 and unfolded (the solver leaves 1e-13 mm residuals: the planar region arrangement failed)",
|
||||
"source": "analytic",
|
||||
"method": "a flange of angle th, outer leg length Hf (height, from the virtual sharp along the flange) bends with allowance BA = th(R+Kt) and bend deduction BD = 2(R+t)tan(th/2) - BA; unfolded it lies in the base's plane and reaches Hf - BD beyond the base's edge. T = 2, R = 1, K = 0.5. BD(90) = 2.8584; the flat of the 400 x 300 tray is the same as built directly: reaches 35.7416 past each base edge",
|
||||
"body_count": 1,
|
||||
"bbox": {
|
||||
"min": [
|
||||
-35.7415926535898,
|
||||
-35.7415926535898,
|
||||
0
|
||||
],
|
||||
"max": [
|
||||
435.7415926535898,
|
||||
335.7415926535898,
|
||||
2
|
||||
]
|
||||
}
|
||||
}
|
||||
+132
@@ -0,0 +1,132 @@
|
||||
{
|
||||
"commands": [
|
||||
{
|
||||
"command": "parameters.add",
|
||||
"params": {
|
||||
"name": "W",
|
||||
"expression": "2000 mm"
|
||||
}
|
||||
},
|
||||
{
|
||||
"command": "parameters.add",
|
||||
"params": {
|
||||
"name": "H",
|
||||
"expression": "2500 mm"
|
||||
}
|
||||
},
|
||||
{
|
||||
"command": "sheet.manage_rules",
|
||||
"params": {
|
||||
"name": "AL2",
|
||||
"thickness": "2 mm",
|
||||
"active": true,
|
||||
"bend_radius": "1 mm",
|
||||
"k_factor": 0.5
|
||||
}
|
||||
},
|
||||
{
|
||||
"command": "sketch.create",
|
||||
"params": {
|
||||
"plane": "XY",
|
||||
"name": "Tray"
|
||||
}
|
||||
},
|
||||
{
|
||||
"command": "sketch.rectangle.two_point",
|
||||
"params": {
|
||||
"p0": [
|
||||
0,
|
||||
0
|
||||
],
|
||||
"p1": [
|
||||
2000,
|
||||
2500
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"command": "sketch.constraint.fix",
|
||||
"params": {
|
||||
"entities": [
|
||||
"p1"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"command": "sketch.dimension",
|
||||
"params": {
|
||||
"entities": [
|
||||
"l1"
|
||||
],
|
||||
"value": "W"
|
||||
}
|
||||
},
|
||||
{
|
||||
"command": "sketch.dimension",
|
||||
"params": {
|
||||
"entities": [
|
||||
"l2"
|
||||
],
|
||||
"value": "H"
|
||||
}
|
||||
},
|
||||
{
|
||||
"command": "sketch.finish",
|
||||
"params": {}
|
||||
},
|
||||
{
|
||||
"command": "sheet.flange",
|
||||
"params": {
|
||||
"type": "base",
|
||||
"sketch": "Tray"
|
||||
}
|
||||
},
|
||||
{
|
||||
"command": "sheet.flange",
|
||||
"params": {
|
||||
"type": "edge",
|
||||
"edges": [
|
||||
[
|
||||
1000,
|
||||
0,
|
||||
2
|
||||
],
|
||||
[
|
||||
2000,
|
||||
1250,
|
||||
2
|
||||
],
|
||||
[
|
||||
1000,
|
||||
2500,
|
||||
2
|
||||
],
|
||||
[
|
||||
0,
|
||||
1250,
|
||||
2
|
||||
]
|
||||
],
|
||||
"height": 38.6,
|
||||
"angle": 90
|
||||
}
|
||||
},
|
||||
{
|
||||
"command": "parameters.change",
|
||||
"params": {
|
||||
"changes": {
|
||||
"W": "400 mm",
|
||||
"H": "300 mm"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"command": "sheet.unfold",
|
||||
"params": {}
|
||||
},
|
||||
{
|
||||
"command": "inspect.measure",
|
||||
"params": {}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"sources": [
|
||||
"tangency-labs/solidcraft#405",
|
||||
"tangency-labs/solidcraft#406"
|
||||
],
|
||||
"what": "a 120 x 90 tray with four 38.6 mm flanges at 72 degrees closed with the rule's gap: the corners used to stay open as a V",
|
||||
"source": "invariants",
|
||||
"method": "one valid closed body: the four flanges end a gap apart at every corner, so they are joined to the base only and the part is one shell",
|
||||
"body_count": 1
|
||||
}
|
||||
@@ -0,0 +1,81 @@
|
||||
{
|
||||
"commands": [
|
||||
{
|
||||
"command": "sheet.manage_rules",
|
||||
"params": {
|
||||
"name": "Sheet 2 mm",
|
||||
"thickness": "2 mm",
|
||||
"active": true,
|
||||
"bend_radius": "1 mm",
|
||||
"k_factor": 0.5,
|
||||
"gap": "0.5 mm",
|
||||
"corner_relief_shape": "notch"
|
||||
}
|
||||
},
|
||||
{
|
||||
"command": "sketch.create",
|
||||
"params": {
|
||||
"plane": "XY",
|
||||
"name": "Base"
|
||||
}
|
||||
},
|
||||
{
|
||||
"command": "sketch.rectangle.two_point",
|
||||
"params": {
|
||||
"p0": [
|
||||
0,
|
||||
0
|
||||
],
|
||||
"p1": [
|
||||
120,
|
||||
90
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"command": "sketch.finish",
|
||||
"params": {}
|
||||
},
|
||||
{
|
||||
"command": "sheet.flange",
|
||||
"params": {
|
||||
"type": "base",
|
||||
"sketch": "Base"
|
||||
}
|
||||
},
|
||||
{
|
||||
"command": "sheet.flange",
|
||||
"params": {
|
||||
"type": "edge",
|
||||
"height": 38.6,
|
||||
"angle": 72,
|
||||
"edges": [
|
||||
[
|
||||
60.0,
|
||||
0,
|
||||
2
|
||||
],
|
||||
[
|
||||
120,
|
||||
45.0,
|
||||
2
|
||||
],
|
||||
[
|
||||
60.0,
|
||||
90,
|
||||
2
|
||||
],
|
||||
[
|
||||
0,
|
||||
45.0,
|
||||
2
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"command": "inspect.measure",
|
||||
"params": {}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"sources": [
|
||||
"tangency-labs/solidcraft#405",
|
||||
"tangency-labs/solidcraft#406"
|
||||
],
|
||||
"what": "a 120 x 90 tray with four 38.6 mm flanges at 72 degrees, closed at the corners with the rule's gap, unfolded",
|
||||
"source": "analytic",
|
||||
"method": "a flange of angle th, outer leg length Hf (height, from the virtual sharp along the flange) bends with allowance BA = th(R+Kt) and bend deduction BD = 2(R+t)tan(th/2) - BA; unfolded it lies in the base's plane and reaches Hf - BD beyond the base's edge. T = 2, R = 1, K = 0.5. BD(72) = 6*tan(36 deg) - 1.2566*2 = 1.8460; the flat reaches 38.6 - BD = 36.7540 past each base edge (the flat size 120 + 2*36.754 = 193.508, as the closed form W + 2(Hf - BD))",
|
||||
"body_count": 1,
|
||||
"bbox": {
|
||||
"min": [
|
||||
-36.75401895483967,
|
||||
-36.75401895483967,
|
||||
0
|
||||
],
|
||||
"max": [
|
||||
156.75401895483967,
|
||||
126.75401895483967,
|
||||
2
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,85 @@
|
||||
{
|
||||
"commands": [
|
||||
{
|
||||
"command": "sheet.manage_rules",
|
||||
"params": {
|
||||
"name": "Sheet 2 mm",
|
||||
"thickness": "2 mm",
|
||||
"active": true,
|
||||
"bend_radius": "1 mm",
|
||||
"k_factor": 0.5,
|
||||
"gap": "0.5 mm",
|
||||
"corner_relief_shape": "notch"
|
||||
}
|
||||
},
|
||||
{
|
||||
"command": "sketch.create",
|
||||
"params": {
|
||||
"plane": "XY",
|
||||
"name": "Base"
|
||||
}
|
||||
},
|
||||
{
|
||||
"command": "sketch.rectangle.two_point",
|
||||
"params": {
|
||||
"p0": [
|
||||
0,
|
||||
0
|
||||
],
|
||||
"p1": [
|
||||
120,
|
||||
90
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"command": "sketch.finish",
|
||||
"params": {}
|
||||
},
|
||||
{
|
||||
"command": "sheet.flange",
|
||||
"params": {
|
||||
"type": "base",
|
||||
"sketch": "Base"
|
||||
}
|
||||
},
|
||||
{
|
||||
"command": "sheet.flange",
|
||||
"params": {
|
||||
"type": "edge",
|
||||
"height": 38.6,
|
||||
"angle": 72,
|
||||
"edges": [
|
||||
[
|
||||
60.0,
|
||||
0,
|
||||
2
|
||||
],
|
||||
[
|
||||
120,
|
||||
45.0,
|
||||
2
|
||||
],
|
||||
[
|
||||
60.0,
|
||||
90,
|
||||
2
|
||||
],
|
||||
[
|
||||
0,
|
||||
45.0,
|
||||
2
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"command": "sheet.unfold",
|
||||
"params": {}
|
||||
},
|
||||
{
|
||||
"command": "inspect.measure",
|
||||
"params": {}
|
||||
}
|
||||
]
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"sources": [
|
||||
"tangency-labs/solidcraft#436",
|
||||
"tangency-labs/solidcraft#447"
|
||||
],
|
||||
"what": "one edge flange feature with its own angle and height on each of two opposite edges: 105 degrees and 30 mm, 120 degrees and 25 mm",
|
||||
"source": "analytic",
|
||||
"method": "T = 2, R = 1. A flange of angle th stands back s = (R+T)tan(th/2) from its edge: s1 = 3*tan(52.5 deg), s2 = 3*tan(60 deg). Base 120 x (90 - s1 - s2), legs 120 x (30 - s1) and 120 x (25 - s2) (height measured along the outer face from the virtual sharp), bends th*((R+T)^2 - R^2)*120/2 each. V = 240*((90 - s1 - s2) + (30 - s1) + (25 - s2)) + sum of the bends",
|
||||
"body_count": 1,
|
||||
"volume_mm3": 32314.157892363357
|
||||
}
|
||||
+77
@@ -0,0 +1,77 @@
|
||||
{
|
||||
"commands": [
|
||||
{
|
||||
"command": "sheet.manage_rules",
|
||||
"params": {
|
||||
"name": "AL2",
|
||||
"thickness": "2 mm",
|
||||
"active": true,
|
||||
"bend_radius": "1 mm",
|
||||
"k_factor": 0.5
|
||||
}
|
||||
},
|
||||
{
|
||||
"command": "sketch.create",
|
||||
"params": {
|
||||
"plane": "XY",
|
||||
"name": "Base"
|
||||
}
|
||||
},
|
||||
{
|
||||
"command": "sketch.rectangle.two_point",
|
||||
"params": {
|
||||
"p0": [
|
||||
0,
|
||||
0
|
||||
],
|
||||
"p1": [
|
||||
120,
|
||||
90
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"command": "sketch.finish",
|
||||
"params": {}
|
||||
},
|
||||
{
|
||||
"command": "sheet.flange",
|
||||
"params": {
|
||||
"type": "base",
|
||||
"sketch": "Base"
|
||||
}
|
||||
},
|
||||
{
|
||||
"command": "sheet.flange",
|
||||
"params": {
|
||||
"type": "edge",
|
||||
"height": 20,
|
||||
"angle": "90 deg",
|
||||
"edges": [
|
||||
{
|
||||
"point": [
|
||||
60,
|
||||
0,
|
||||
2
|
||||
],
|
||||
"angle": "105 deg",
|
||||
"height": "30 mm"
|
||||
},
|
||||
{
|
||||
"point": [
|
||||
60,
|
||||
90,
|
||||
2
|
||||
],
|
||||
"angle": "120 deg",
|
||||
"height": "25 mm"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"command": "inspect.measure",
|
||||
"params": {}
|
||||
}
|
||||
]
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"sources": [
|
||||
"tangency-labs/solidcraft#436",
|
||||
"tangency-labs/solidcraft#447"
|
||||
],
|
||||
"what": "one edge flange feature whose two edges carry their own heights (30 and 25 mm) over the feature's 20 mm default",
|
||||
"source": "analytic",
|
||||
"method": "T = 2, R = 1, K = 0.5, setback 3 at each 90 degree bend. Base 120 x 90 trimmed to 120 x 84; flange straights 30 - 3 = 27 and 25 - 3 = 22, each 120 wide; two bends of flat width BA = pi (K = 0.5). Flat area 120*(84 + 27 + 22 + 2*pi); the folded volume is the flat area times t: V = 2*120*(133 + 2*pi)",
|
||||
"body_count": 1,
|
||||
"volume_mm3": 33427.9644737231
|
||||
}
|
||||
+75
@@ -0,0 +1,75 @@
|
||||
{
|
||||
"commands": [
|
||||
{
|
||||
"command": "sheet.manage_rules",
|
||||
"params": {
|
||||
"name": "AL2",
|
||||
"thickness": "2 mm",
|
||||
"active": true,
|
||||
"bend_radius": "1 mm",
|
||||
"k_factor": 0.5
|
||||
}
|
||||
},
|
||||
{
|
||||
"command": "sketch.create",
|
||||
"params": {
|
||||
"plane": "XY",
|
||||
"name": "Base"
|
||||
}
|
||||
},
|
||||
{
|
||||
"command": "sketch.rectangle.two_point",
|
||||
"params": {
|
||||
"p0": [
|
||||
0,
|
||||
0
|
||||
],
|
||||
"p1": [
|
||||
120,
|
||||
90
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"command": "sketch.finish",
|
||||
"params": {}
|
||||
},
|
||||
{
|
||||
"command": "sheet.flange",
|
||||
"params": {
|
||||
"type": "base",
|
||||
"sketch": "Base"
|
||||
}
|
||||
},
|
||||
{
|
||||
"command": "sheet.flange",
|
||||
"params": {
|
||||
"type": "edge",
|
||||
"height": 20,
|
||||
"angle": "90 deg",
|
||||
"edges": [
|
||||
{
|
||||
"point": [
|
||||
60,
|
||||
0,
|
||||
2
|
||||
],
|
||||
"height": "30 mm"
|
||||
},
|
||||
{
|
||||
"point": [
|
||||
60,
|
||||
90,
|
||||
2
|
||||
],
|
||||
"height": "25 mm"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"command": "inspect.measure",
|
||||
"params": {}
|
||||
}
|
||||
]
|
||||
}
|
||||
+23
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"sources": [
|
||||
"tangency-labs/solidcraft#436",
|
||||
"tangency-labs/solidcraft#447",
|
||||
"tangency-labs/solidcraft#501"
|
||||
],
|
||||
"what": "one edge flange feature whose four edges carry 75, 90, 105 and 120 degrees and heights 38.6, 38.6, 30 and 25, with corners between unequal angles closed, unfolded",
|
||||
"source": "analytic",
|
||||
"method": "a flange of angle th, outer leg length Hf (height, from the virtual sharp along the flange) bends with allowance BA = th(R+Kt) and bend deduction BD = 2(R+t)tan(th/2) - BA; unfolded it lies in the base's plane and reaches Hf - BD beyond the base's edge. T = 2, R = 1, K = 0.5. BD = 1.9860, 2.8584, 4.1542, 6.2035 for 75, 90, 105, 120 degrees, so the flat reaches 36.6140 below, 35.7416 right of, 25.8458 above and 18.7965 left of the 120 x 90 base",
|
||||
"body_count": 1,
|
||||
"bbox": {
|
||||
"min": [
|
||||
-18.79648535937313,
|
||||
-36.614031950117734,
|
||||
0
|
||||
],
|
||||
"max": [
|
||||
155.7415926535898,
|
||||
115.84583919214086,
|
||||
2
|
||||
]
|
||||
}
|
||||
}
|
||||
+96
@@ -0,0 +1,96 @@
|
||||
{
|
||||
"commands": [
|
||||
{
|
||||
"command": "sheet.manage_rules",
|
||||
"params": {
|
||||
"name": "Sheet 2 mm",
|
||||
"thickness": "2 mm",
|
||||
"active": true,
|
||||
"bend_radius": "1 mm",
|
||||
"k_factor": 0.5,
|
||||
"gap": "0.5 mm",
|
||||
"corner_relief_shape": "notch"
|
||||
}
|
||||
},
|
||||
{
|
||||
"command": "sketch.create",
|
||||
"params": {
|
||||
"plane": "XY",
|
||||
"name": "Base"
|
||||
}
|
||||
},
|
||||
{
|
||||
"command": "sketch.rectangle.two_point",
|
||||
"params": {
|
||||
"p0": [
|
||||
0,
|
||||
0
|
||||
],
|
||||
"p1": [
|
||||
120,
|
||||
90
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"command": "sketch.finish",
|
||||
"params": {}
|
||||
},
|
||||
{
|
||||
"command": "sheet.flange",
|
||||
"params": {
|
||||
"type": "base",
|
||||
"sketch": "Base"
|
||||
}
|
||||
},
|
||||
{
|
||||
"command": "sheet.flange",
|
||||
"params": {
|
||||
"type": "edge",
|
||||
"height": 38.6,
|
||||
"angle": 75,
|
||||
"edges": [
|
||||
[
|
||||
60,
|
||||
0,
|
||||
2
|
||||
],
|
||||
{
|
||||
"point": [
|
||||
120,
|
||||
45,
|
||||
2
|
||||
],
|
||||
"angle": "90 deg"
|
||||
},
|
||||
{
|
||||
"point": [
|
||||
60,
|
||||
90,
|
||||
2
|
||||
],
|
||||
"angle": "105 deg",
|
||||
"height": "30 mm"
|
||||
},
|
||||
{
|
||||
"point": [
|
||||
0,
|
||||
45,
|
||||
2
|
||||
],
|
||||
"angle": "120 deg",
|
||||
"height": "25 mm"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"command": "sheet.unfold",
|
||||
"params": {}
|
||||
},
|
||||
{
|
||||
"command": "inspect.measure",
|
||||
"params": {}
|
||||
}
|
||||
]
|
||||
}
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"sources": [
|
||||
"tangency-labs/solidcraft#514"
|
||||
],
|
||||
"what": "an L bracket unfolded and refolded: the refold must give the folded part back",
|
||||
"source": "analytic",
|
||||
"method": "T = 2, R = 2: base 60 x 36, flange straight 20 - 4 = 16, bend (pi/2)(16 - 4)*60/2 = 565.487; V = 60*2*(36 + 16) + 565.487",
|
||||
"body_count": 1,
|
||||
"volume_mm3": 6805.486677646163
|
||||
}
|
||||
@@ -0,0 +1,71 @@
|
||||
{
|
||||
"commands": [
|
||||
{
|
||||
"command": "sheet.manage_rules",
|
||||
"params": {
|
||||
"name": "S",
|
||||
"thickness": "2 mm",
|
||||
"active": true,
|
||||
"bend_radius": "2 mm",
|
||||
"k_factor": 0.4
|
||||
}
|
||||
},
|
||||
{
|
||||
"command": "sketch.create",
|
||||
"params": {
|
||||
"plane": "XY",
|
||||
"name": "Base"
|
||||
}
|
||||
},
|
||||
{
|
||||
"command": "sketch.rectangle.two_point",
|
||||
"params": {
|
||||
"p0": [
|
||||
0,
|
||||
0
|
||||
],
|
||||
"p1": [
|
||||
60,
|
||||
40
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"command": "sketch.finish",
|
||||
"params": {}
|
||||
},
|
||||
{
|
||||
"command": "sheet.flange",
|
||||
"params": {
|
||||
"type": "base",
|
||||
"sketch": "Base"
|
||||
}
|
||||
},
|
||||
{
|
||||
"command": "sheet.flange",
|
||||
"params": {
|
||||
"type": "edge",
|
||||
"edges": [
|
||||
[
|
||||
30,
|
||||
0,
|
||||
2
|
||||
]
|
||||
],
|
||||
"height": 20
|
||||
}
|
||||
},
|
||||
{
|
||||
"command": "sheet.unfold",
|
||||
"params": {}
|
||||
},
|
||||
{
|
||||
"command": "sheet.refold",
|
||||
"params": {}
|
||||
},
|
||||
{
|
||||
"command": "inspect.measure",
|
||||
"params": {}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"sources": [
|
||||
"tangency-labs/solidcraft#514"
|
||||
],
|
||||
"what": "a 60 x 40 base with a 20 mm 90 degree flange on one edge, unfolded: the flat plate is the base, the bend allowance and the flange's straight",
|
||||
"source": "analytic",
|
||||
"method": "T = 2, R = 2, K = 0.4: BA = (pi/2)(2 + 0.8) = 4.3982, BD = 2*4 - BA = 3.6018; flat length 40 + (20 - BD) = 56.3982, width 60, thickness 2: V = 60*2*56.3982; the flat reaches 20 - BD past the base's edge (y from -16.3982 to 40), z 0..2",
|
||||
"body_count": 1,
|
||||
"volume_mm3": 6767.787565803085,
|
||||
"bbox": {
|
||||
"min": [
|
||||
0,
|
||||
-16.39822971502571,
|
||||
0
|
||||
],
|
||||
"max": [
|
||||
60,
|
||||
40,
|
||||
2
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,67 @@
|
||||
{
|
||||
"commands": [
|
||||
{
|
||||
"command": "sheet.manage_rules",
|
||||
"params": {
|
||||
"name": "S",
|
||||
"thickness": "2 mm",
|
||||
"active": true,
|
||||
"bend_radius": "2 mm",
|
||||
"k_factor": 0.4
|
||||
}
|
||||
},
|
||||
{
|
||||
"command": "sketch.create",
|
||||
"params": {
|
||||
"plane": "XY",
|
||||
"name": "Base"
|
||||
}
|
||||
},
|
||||
{
|
||||
"command": "sketch.rectangle.two_point",
|
||||
"params": {
|
||||
"p0": [
|
||||
0,
|
||||
0
|
||||
],
|
||||
"p1": [
|
||||
60,
|
||||
40
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"command": "sketch.finish",
|
||||
"params": {}
|
||||
},
|
||||
{
|
||||
"command": "sheet.flange",
|
||||
"params": {
|
||||
"type": "base",
|
||||
"sketch": "Base"
|
||||
}
|
||||
},
|
||||
{
|
||||
"command": "sheet.flange",
|
||||
"params": {
|
||||
"type": "edge",
|
||||
"edges": [
|
||||
[
|
||||
30,
|
||||
0,
|
||||
2
|
||||
]
|
||||
],
|
||||
"height": 20
|
||||
}
|
||||
},
|
||||
{
|
||||
"command": "sheet.unfold",
|
||||
"params": {}
|
||||
},
|
||||
{
|
||||
"command": "inspect.measure",
|
||||
"params": {}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"sources": [
|
||||
"tangency-labs/solidcraft#723",
|
||||
"tangency-labs/solidcraft#809",
|
||||
"tangency-labs/solidcraft#1797",
|
||||
"tangency-labs/solidcraft#1799"
|
||||
],
|
||||
"what": "a 120 x 90 tray with four 20 mm 90 degree flanges and the tear corner relief: each torn bend end is a helical cut across the bend",
|
||||
"source": "invariants",
|
||||
"method": "one valid closed body; the outer faces of the walls stand on the base's edge lines, the walls rise 20 above the base's underside, so the bounding box is exactly 120 x 90 x 20 (x 0..120, y 0..90, z 0..20)",
|
||||
"body_count": 1,
|
||||
"bbox": {
|
||||
"min": [
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"max": [
|
||||
120,
|
||||
90,
|
||||
20
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,81 @@
|
||||
{
|
||||
"commands": [
|
||||
{
|
||||
"command": "sheet.manage_rules",
|
||||
"params": {
|
||||
"name": "Sheet 2 mm",
|
||||
"thickness": "2 mm",
|
||||
"active": true,
|
||||
"bend_radius": "1 mm",
|
||||
"k_factor": 0.5,
|
||||
"gap": "0.5 mm",
|
||||
"corner_relief_shape": "tear"
|
||||
}
|
||||
},
|
||||
{
|
||||
"command": "sketch.create",
|
||||
"params": {
|
||||
"plane": "XY",
|
||||
"name": "Base"
|
||||
}
|
||||
},
|
||||
{
|
||||
"command": "sketch.rectangle.two_point",
|
||||
"params": {
|
||||
"p0": [
|
||||
0,
|
||||
0
|
||||
],
|
||||
"p1": [
|
||||
120,
|
||||
90
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"command": "sketch.finish",
|
||||
"params": {}
|
||||
},
|
||||
{
|
||||
"command": "sheet.flange",
|
||||
"params": {
|
||||
"type": "base",
|
||||
"sketch": "Base"
|
||||
}
|
||||
},
|
||||
{
|
||||
"command": "sheet.flange",
|
||||
"params": {
|
||||
"type": "edge",
|
||||
"height": 20,
|
||||
"angle": 90,
|
||||
"edges": [
|
||||
[
|
||||
60.0,
|
||||
0,
|
||||
2
|
||||
],
|
||||
[
|
||||
120,
|
||||
45.0,
|
||||
2
|
||||
],
|
||||
[
|
||||
60.0,
|
||||
90,
|
||||
2
|
||||
],
|
||||
[
|
||||
0,
|
||||
45.0,
|
||||
2
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"command": "inspect.measure",
|
||||
"params": {}
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user