e-nable / Assembler

repository for OpenSCAD scripts for e-nable project
20 stars 12 forks source link

Rendering STL files for Cyborg Beast fingers errors out. #13

Closed creuzerm closed 10 years ago

creuzerm commented 10 years ago

But the Davids Fingers render to STL just fine.

openscad -o imagecache/500e6cdf47bebe67e0353a79374c8166.-930142523.FingerProximal.stl -D Left1=66.47 -D Left2=64.04 -D Left3=46.95 -D Left4=35.14 -D Left5=35.97 -D Left6=27.27 -D Left7=31.80 -D Left8=40.97 -D Left9=31.06 -D Left10=147.5 -D Right1=62.67 -D Right2=65.62 -D Right3=59.14 -D Right4=48.78 -D Right5=51.85 -D Right6=16.4 -D Right7=0 -D Right8=72.52 -D Right9=72.23 -D Right10=230.6 -D part=3 -D prostheticHand=0 -D fingerSelect=1 -D palmSelect=2 -D WristBolt=5.5 -D KnuckleBolt=3.3 -D JointBolt=3.3 -D ThumbBolt=3.3 e-NABLE/Assembly/Assembly.scad

compiled module: 0x8eb9708 ECHO: "Measurements: left", [0, 66.47, 64.04, 46.95, 35.14, 35.97, 27.27, 31.8, 40.97, 31.06, 147.5, 90, 90] ECHO: "Measurements: right", [1, 62.67, 65.62, 59.14, 48.78, 51.85, 16.4, 0, 72.52, 72.23, 230.6, 90, 90] Error !!!!!!!!!!!!!!!!!!!!!!! Error !!!!!!!!!!!!!!!!!!!!!!! Error !!!!!!!!!!!!!!!!!!!!!!! openscad: ../openscad_deps/include/boost/smart_ptr/shared_ptr.hpp:653: typename boost::detail::sp_member_access::type boost::shared_ptr::operator->() const [with T = CGAL::Nef_polyhedron_3CGAL::Cartesian; typename boost::detail::sp_member_access::type = CGAL::Nef_polyhedron_3CGAL::Cartesian*]: Assertion `px != 0' failed. Aborted (core dumped)

openscad -o imagecache/b3e8c461ae18bc5fce394f0f545907f7.1401294597.FingerDistal.stl -D Left1=66.47 -D Left2=64.04 -D Left3=46.95 -D Left4=35.14 -D Left5=35.97 -D Left6=27.27 -D Left7=31.80 -D Left8=40.97 -D Left9=31.06 -D Left10=147.5 -D Right1=62.67 -D Right2=65.62 -D Right3=59.14 -D Right4=48.78 -D Right5=51.85 -D Right6=16.4 -D Right7=0 -D Right8=72.52 -D Right9=72.23 -D Right10=230.6 -D part=4 -D prostheticHand=0 -D fingerSelect=1 -D palmSelect=2 -D WristBolt=5.5 -D KnuckleBolt=3.3 -D JointBolt=3.3 -D ThumbBolt=3.3 e-NABLE/Assembly/Assembly.scad

compiled module: 0x9e2a718 ECHO: "Measurements: left", [0, 66.47, 64.04, 46.95, 35.14, 35.97, 27.27, 31.8, 40.97, 31.06, 147.5, 90, 90] ECHO: "Measurements: right", [1, 62.67, 65.62, 59.14, 48.78, 51.85, 16.4, 0, 72.52, 72.23, 230.6, 90, 90]

CGAL::Polyhedron_incremental_builder_3:: lookup_halfedge(): input error: facet 3862 shares a halfedge from vertex 3468 to vertex 3469 with facet 3278. CGAL error in CGAL_Build_PolySet: CGAL ERROR: assertion violation! Expr: check_protocoll == 0 File: ../openscad_deps/include/CGAL/Polyhedron_incremental_builder_3.h Line: 199 openscad: ../openscad_deps/include/boost/smart_ptr/shared_ptr.hpp:653: typename boost::detail::sp_member_access::type boost::shared_ptr::operator->() const [with T = CGAL::Nef_polyhedron_3CGAL::Cartesian; typename boost::detail::sp_member_access::type = CGAL::Nef_polyhedron_3CGAL::Cartesian*]: Assertion `px != 0' failed. Aborted (core dumped)

laird commented 10 years ago

Exactly. David's designs are all OpenSCAD, as is MakerBlock's Cyborg Beast, which render fine.

The thing I've run into is that almost all of the STLs from Blender are non-manifold (e.g. faces are inverted, vertexes don't meet properly, etc.), a flaw that causes OpenSCAD to refuse to compile them. It'll preview them just fine, which is acceptable for the demo. The old STLs that were cleaned work, but they're not the latest Cyborg Beast model.

Marc has been working on cleaning the Cyborg Beast files so that they're valid, after which this will be fine.

Alternatively, the parametric design is improving as well, so we can just use that one.

On Fri, May 2, 2014 at 2:20 AM, Mike Creuzer notifications@github.comwrote:

But the Davids Fingers render to STL just fine.

openscad -o imagecache/500e6cdf47bebe67e0353a79374c8166.-930142523.FingerProximal.stl -D Left1=66.47 -D Left2=64.04 -D Left3=46.95 -D Left4=35.14 -D Left5=35.97 -D Left6=27.27 -D Left7=31.80 -D Left8=40.97 -D Left9=31.06 -D Left10=147.5 -D Right1=62.67 -D Right2=65.62 -D Right3=59.14 -D Right4=48.78 -D Right5=51.85 -D Right6=16.4 -D Right7=0 -D Right8=72.52 -D Right9=72.23 -D Right10=230.6 -D part=3 -D prostheticHand=0 -D fingerSelect=1 -D palmSelect=2 -D WristBolt=5.5 -D KnuckleBolt=3.3 -D JointBolt=3.3 -D ThumbBolt=3.3 e-NABLE/Assembly/Assembly.scad

compiled module: 0x8eb9708 ECHO: "Measurements: left", [0, 66.47, 64.04, 46.95, 35.14, 35.97, 27.27, 31.8, 40.97, 31.06, 147.5, 90, 90] ECHO: "Measurements: right", [1, 62.67, 65.62, 59.14, 48.78, 51.85, 16.4, 0, 72.52, 72.23, 230.6, 90, 90] Error !!!!!!!!!!!!!!!!!!!!!!! Error !!!!!!!!!!!!!!!!!!!!!!! Error !!!!!!!!!!!!!!!!!!!!!!! openscad: ../openscad_deps/include/boost/smart_ptr/shared_ptr.hpp:653: typename boost::detail::sp_member_access::type boost::shared_ptr::operator->() const [with T = CGAL::Nef_polyhedron_3 CGAL::Cartesian; typename boost::detail::sp_member_access::type = CGAL::Nef_polyhedron_3 CGAL::Cartesian*]: Assertion `px != 0' failed. Aborted (core dumped)

openscad -o imagecache/b3e8c461ae18bc5fce394f0f545907f7.1401294597.FingerDistal.stl -D Left1=66.47 -D Left2=64.04 -D Left3=46.95 -D Left4=35.14 -D Left5=35.97 -D Left6=27.27 -D Left7=31.80 -D Left8=40.97 -D Left9=31.06 -D Left10=147.5 -D Right1=62.67 -D Right2=65.62 -D Right3=59.14 -D Right4=48.78 -D Right5=51.85 -D Right6=16.4 -D Right7=0 -D Right8=72.52 -D Right9=72.23 -D Right10=230.6 -D part=4 -D prostheticHand=0 -D fingerSelect=1 -D palmSelect=2 -D WristBolt=5.5 -D KnuckleBolt=3.3 -D JointBolt=3.3 -D ThumbBolt=3.3 e-NABLE/Assembly/Assembly.scad

compiled module: 0x9e2a718 ECHO: "Measurements: left", [0, 66.47, 64.04, 46.95, 35.14, 35.97, 27.27, 31.8, 40.97, 31.06, 147.5, 90, 90] ECHO: "Measurements: right", [1, 62.67, 65.62, 59.14, 48.78, 51.85, 16.4, 0, 72.52, 72.23, 230.6, 90, 90]

CGAL::Polyhedron_incremental_builder_3:: lookup_halfedge(): input error: facet 3862 shares a halfedge from vertex 3468 to vertex 3469 with facet 3278. CGAL error in CGAL_Build_PolySet: CGAL ERROR: assertion violation! Expr: check_protocoll == 0 File: ../openscad_deps/include/CGAL/Polyhedron_incremental_builder_3.h Line: 199 openscad: ../openscad_deps/include/boost/smart_ptr/shared_ptr.hpp:653: typename boost::detail::sp_member_access::type boost::shared_ptr::operator->() const [with T = CGAL::Nef_polyhedron_3 CGAL::Cartesian; typename boost::detail::sp_member_access::type = CGAL::Nef_polyhedron_3 CGAL::Cartesian*]: Assertion `px != 0' failed. Aborted (core dumped)

Reply to this email directly or view it on GitHubhttps://github.com/e-nable/e-NABLE-Assembler/issues/13 .

Laird Popkin | Executive Director, Architecture KAPLAN TECHNOLOGY Kaplan, Inc. | 6301 Kaplan University Avenue, Fort Lauderdale, FL 33309 tel +1 954 515 4509 | email laird.popkin@kaplan.com

laird commented 10 years ago

To be clear, it is a bug, but it's a but that we know about and accept until we get a fixed STL file.

laird commented 10 years ago

Fixed with Cyborg Beast 1.4 files, which are manifold.