Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with DXF import + linear_extrude #108

Open
choller opened this issue Jan 5, 2025 · 1 comment
Open

Issue with DXF import + linear_extrude #108

choller opened this issue Jan 5, 2025 · 1 comment

Comments

@choller
Copy link

choller commented Jan 5, 2025

I'm trying to port an SCAD application I have to a playground fork and the main issue I'm having right now is that it uses a series of 2D DXF imports that are then extruded with linear_extrude. I created a local dev setup with minimal test library that includes a test.dxf and then tried

linear_extrude(5)
  import("test/test.dxf");

The DXF is found (verified by just changing the name and it errors then), but preview doesn't render and webdev console shows:

model.ts:453 Error while doing preview: Error: OpenSCAD invocation failed: 1082960

The DXF in question is a rather simple one (13kb), so I wanted to ask if this feature is supported at all before diving deeper. Thanks!

@choller
Copy link
Author

choller commented Jan 5, 2025

Okay, so I just recompiled the wasm target to add the missing -sEXPORT_EXCEPTION_HANDLING_HELPERS=1 in an effort to make the exception visible that is beign thrown here.

The thing is, now the example is working with the recompiled openscad. I assume these use different versions?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant