Skip to content

Commit 4fc8397

Browse files
committed
Add plate with holes example.
1 parent 4d6bc50 commit 4fc8397

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

Examples/plate_with_holes.vsc

12.3 KB
Binary file not shown.

Sources/VisualScriptCAD/Application/MainWindow.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ static const std::vector<std::pair<std::wstring, std::wstring>> exampleFiles = {
2626
{ L"Simple Box", L"simple_box.vsc" },
2727
{ L"All Shapes", L"all_shapes.vsc" },
2828
{ L"Lego Brick", L"lego_brick.vsc" },
29+
{ L"Plate with Holes", L"plate_with_holes.vsc" },
2930
{ L"Box-Sphere Difference", L"box_sphere_diff.vsc" },
3031
{ L"Sphere-Torus Difference", L"sphere_torus_diff.vsc" },
3132
{ L"VisualScriptCAD Logo", L"vscad_logo.vsc" }

Test/CompatibilityTest.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,11 @@ def Main (argv):
5858
'boundingBox' : ([0.0, 0.0, 0.0], [1.6, 2.4, 1.12]),
5959
'surface' : 26.684
6060
},
61+
{
62+
'name' : 'plate_with_holes.vsc',
63+
'boundingBox' : ([0.0, 0.0, 0.0], [2.0, 1.0, 0.1]),
64+
'surface' : 4.602
65+
},
6166
{
6267
'name' : 'box_sphere_diff.vsc',
6368
'boundingBox' : ([0.0, 0.0, 0.0], [1.0, 1.0, 1.0]),

0 commit comments

Comments
 (0)