Skip to content

Commit b6bd851

Browse files
committed
Add lego brick example.
1 parent 1891889 commit b6bd851

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

Examples/lego_brick.vsc

17 KB
Binary file not shown.

Sources/VisualScriptCAD/Application/MainWindow.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424

2525
static const std::vector<std::pair<std::wstring, std::wstring>> exampleFiles = {
2626
{ L"Simple Box", L"simple_box.vsc" },
27+
{ L"Lego Brick", L"lego_brick.vsc" },
2728
{ L"Box-Sphere Difference", L"box_sphere_diff.vsc" },
2829
{ L"VisualScriptCAD Logo", L"vscad_logo.vsc" }
2930
};

Test/CompatibilityTest.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,11 @@ def Main (argv):
4848
'boundingBox' : ([0.0, 0.0, 0.0], [3.0, 2.0, 1.0]),
4949
'surface' : 22.0
5050
},
51+
{
52+
'name' : 'lego_brick.vsc',
53+
'boundingBox' : ([0.0, 0.0, 0.0], [1.6, 2.4, 1.12]),
54+
'surface' : 26.684
55+
},
5156
{
5257
'name' : 'box_sphere_diff.vsc',
5358
'boundingBox' : ([0.0, 0.0, 0.0], [1.0, 1.0, 1.0]),

0 commit comments

Comments
 (0)