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

SimpleExport (DXF) example broken in Processing 2.1.1 #2404

Closed
karyaen opened this issue Mar 21, 2014 · 5 comments
Closed

SimpleExport (DXF) example broken in Processing 2.1.1 #2404

karyaen opened this issue Mar 21, 2014 · 5 comments
Assignees
Labels

Comments

@karyaen
Copy link

karyaen commented Mar 21, 2014

SimpleExport in Processing 1.5.1:
Everything is fine and it work!

SimpleExport in Processing newer than 1.5.1:
A DXF file is created but there is no content in it and the sketches will not responding once I press R to save the DXF file. Errors as below.

java.lang.ArrayIndexOutOfBoundsException
java.lang.NullPointerException
at processing.mode.java.runner.Runner.findException(Runner.java:926)
at processing.mode.java.runner.Runner.reportException(Runner.java:871)
at processing.mode.java.runner.Runner.exceptionEvent(Runner.java:797)
at processing.mode.java.runner.Runner$2.run(Runner.java:686)

simpleexport_01-horz

(Left: Processing 2.1.1 | RIght: Processing 1.5.1)

Any solution to make it work in latest Processing? Thanks in advance!

@benfry benfry changed the title SimpleExport. DXF issue in different version of Processing. SimpleExport (DXF) example broken in Processing 2.1.1 Mar 28, 2014
@benfry
Copy link
Contributor

benfry commented Mar 28, 2014

Updated the issue title... @codeanticode, is there something in the newer P3D that's breaking the DXF writer?

@codeanticode
Copy link
Member

Apparently, the experimental depth sorting I implemented a while to solve issues in pdf rendering (#2235, which I didn't close since I wasn't yet satisfied with the code) is causing the problem, I will look at this together with #2371

@benfry
Copy link
Contributor

benfry commented Mar 30, 2014

@codeanticode can you just disable the depth-sorting for now so that I can push out a stable release? If it's unfinished, we don't want it causing regressions with other code that was already working.

@codeanticode
Copy link
Member

yeah, I will disable it for the time being.

@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 17, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants