-
Notifications
You must be signed in to change notification settings - Fork 396
Added code for simplified and fused assembly export to STEP #1261
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
Merged
Merged
Changes from all commits
Commits
Show all changes
64 commits
Select commit
Hold shift + click to select a range
c4d6fb7
Added code for simplified and fused assembly export to STEP
jmwright 1dc0ff6
Changed toFused to use OCCT history API instead of the cut method
jmwright 84b789f
Black fix
jmwright 5894dc7
Handle a null label due to a deleted face from the fuse
jmwright d635b7d
Handle generated faces
jmwright 7107aed
Allow a face to be null because of something other than IsDeleted
jmwright 247ff59
Added assembly STEP export doucmentation
jmwright 6b88570
Handle assemblies that have only one shape in them
jmwright 33453a3
Better check before getting a null label and commented out generated …
jmwright a450414
Appended CAF to new toSimplified and toFused method names for export
jmwright 3e79caa
Removed unneeded __iter__ call
jmwright 1708dd9
Trying to figure out mypy Literal for STEP export mode
jmwright bd2d539
Switched to using literals for the export mode
jmwright c9bb231
Switching to built-in CQ method for creating a compound
jmwright db4f667
Added glue and fuzzy tolerance settings for fused assembly
jmwright 5d64464
Use the built-in assembly name, otherwise a UUID
jmwright 4c97cbf
Merge branch 'master' of github.com:CadQuery/cadquery into step
jmwright cca863b
Pulled latest master and fixed black errors
jmwright 65dd174
Started using location of assembly parent part object for compound
jmwright 0d2e4b2
Handle nested assemblies
jmwright bd5469f
Added nested assembly export tests
jmwright da19c9a
mypy apparently could not handle the one-liner inside toShapeList
jmwright 8e4a67f
Attempting to fix remaining mypy errors
jmwright e1eb403
Added single part fused export, fuzzy_tol and glue setting tests
jmwright 7b571fe
Removed simplified STEP export method and addressed some comments on …
jmwright dd783c5
Fixed export mode literal typing omission
jmwright ce166a6
Fix black error
jmwright 70275cb
Fixing mypy error
jmwright 4f5c4f2
Resolving merge conflicts
jmwright 3b3aebe
Added ability to handle a top level shape passed during Assembly init…
jmwright 0412bf3
Simplified assembly handling while still keeping top level assembly o…
jmwright 18d9364
Attempting to round out tests
jmwright 50ac03e
Update cadquery/assembly.py
jmwright d888941
Update cadquery/occ_impl/assembly.py
jmwright 7937f4d
Simplification for latest OCP
jmwright f5d8daf
Fixed tests for typing change
jmwright b152b95
Use f string in exception
jmwright 6d46bf8
Capitalization and f string suggestions
jmwright e26b570
Resolved merge conflict
jmwright a899334
Fix black check
jmwright 9f672a3
Simplified code by using traverse to walk the assembly structure
jmwright 50396a6
Removed toShapeList
jmwright 8063dfa
Trying to avoid an error that only seems to be happening in CI
jmwright 1ef5208
Needed to put the check if a face was deleted on the fuse op
jmwright d329428
Investigate the failures on appveyor
adam-urbanczyk 96b2ecf
Reworked and simplified adding of modified and generated faces
jmwright b98b2bc
Updating appveyor
jmwright 106819d
Added null checks for labels after trying to add a subshape
jmwright a24006f
Fixed color handling for some faces during fuse
jmwright 47225b5
Comment out on_finish
adam-urbanczyk bce2b78
Apply locations to shapes
adam-urbanczyk d92c658
Fix failing tests
adam-urbanczyk a41af3e
Better testcase
adam-urbanczyk 70ef18e
Copy explicitly
adam-urbanczyk 734a9ee
Fix single shape export
adam-urbanczyk b9693c0
Mypy fix
adam-urbanczyk 52689ca
Add (initial) test of fused STEP export mode colors
lorenzncode 65c5431
Merge branch 'master' into step
lorenzncode 86c9c66
toFusedCAF - handle single compound special case, use existing assemb…
lorenzncode 0285250
Removed performance statement in assembly exporter docstring
jmwright e6b1499
Updated docstring for glue
adam-urbanczyk cc1ed92
Doc tweaks
adam-urbanczyk 071fd65
More assembly export mode doc tweaks
lorenzncode 1620705
Changed the name exportMode to mode
jmwright File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -32,3 +32,4 @@ nested.stl | |
| out1.3mf | ||
| out2.3mf | ||
| out3.3mf | ||
| orig.dxf | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.