Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects, and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Developer articles
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Small and medium teams
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
d-brtn
SolidPython_LabFramework
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Commits
Breadcrumbs
History for
SolidPython_LabFramework
solid
objects.py
on
use_py_scadparser
User selector
All users
Datepicker
All time
Commit history
Commits on May 24, 2021
Prefix an underscore to imported SCAD files starting with a digit, which are valid in OpenSCAD but not in Python. e.g. mcad.2Dshapes => mcad._2dshapes
Evan Jones
committed
8f55fd1
View commit details
Copy full SHA for 8f55fd1
View code at this point
Browse repository at this point
Merge branch 'use_py_scadparser' of https://github.com/jeff-dh/SolidPython into jeff-dh-use_py_scadparser
Evan Jones
committed
6437a0c
View commit details
Copy full SHA for 6437a0c
View code at this point
Browse repository at this point
Commits on May 21, 2021
Should resolve #172, where OpenSCAD code was re-imported at every call to `import_scad()`. Now we cache it instead. This matches native Python import semantics better
Evan Jones
committed
d0f6727
View commit details
Copy full SHA for d0f6727
View code at this point
Browse repository at this point
Commits on May 16, 2021
use py_scadparser
jeff-dh
committed
49988f2
View commit details
Copy full SHA for 49988f2
View code at this point
Browse repository at this point
Commits on Mar 22, 2021
OpenSCAD's `polygon()` takes a `convexity` argument. Add that argument and a test for it to SP
etjones
committed
03fdecd
View commit details
Copy full SHA for 03fdecd
View code at this point
Browse repository at this point
Commits on Nov 25, 2020
Fix for #158, bringing SP up to date on OpenSCAD's built-in color and alpha handling. Bumping version to 1.0.4.
Evan Jones
committed
2802ca7
View commit details
Copy full SHA for 2802ca7
View code at this point
Browse repository at this point
Commits on Nov 16, 2020
-- polygon() doesn't supply paths argument by default; OpenSCAD takes care of this manually
Show description for 126a072
etjones-erisyon
committed
126a072
View commit details
Copy full SHA for 126a072
View code at this point
Browse repository at this point
Commits on Aug 4, 2020
-- Refinements on #110. import_scad() and use()/include() now read from OpenSCAD's default import paths; if you have installed OpenSCAD modules so they're usable in OpenSCAD, they should be usable …
Show description for 9c7a308
Evan Jones
committed
9c7a308
View commit details
Copy full SHA for 9c7a308
View code at this point
Browse repository at this point
Commits on Jun 29, 2020
Resolves #147.
Evan Jones
committed
60a6296
View commit details
Copy full SHA for 60a6296
View code at this point
Browse repository at this point
Commits on May 24, 2020
Edit to make `polygon()` accept 2D points happily. OpenSCAD silently fails when 3D points are passed to it; project points onto XY plane before passing to OpenSCAD
etjones-erisyon
committed
a773e46
View commit details
Copy full SHA for a773e46
View code at this point
Browse repository at this point
Commits on Mar 18, 2020
-- Added `segments` argument to `offset()`, since it can create curves.
Show description for a66fb30
etjones-erisyon
committed
a66fb30
View commit details
Copy full SHA for a66fb30
View code at this point
Browse repository at this point
Commits on Dec 23, 2019
Fix and tests for issue where file_header was put on the same line as `use<>` in SCAD code. Version bump
etjones-erisyon
committed
eb1d922
View commit details
Copy full SHA for eb1d922
View code at this point
Browse repository at this point
Commits on Oct 23, 2019
Fixed bug where Path objects passed to `render_to...()` functions could output unquoted paths in the generated SCAD.
etjones-erisyon
committed
4811374
View commit details
Copy full SHA for 4811374
View code at this point
Browse repository at this point
Commits on Oct 13, 2019
Revert "Revert "Pep8 objects""
Show description for 820564c
Cabalist
committed
820564c
View commit details
Copy full SHA for 820564c
View code at this point
Browse repository at this point
Revert "Pep8 objects"
etjones
authored
1112041
View commit details
Copy full SHA for 1112041
View code at this point
Browse repository at this point
Remove duplicate import
Cabalist
committed
fa3199a
View commit details
Copy full SHA for fa3199a
View code at this point
Browse repository at this point
Misc typos and clarifications
Cabalist
committed
a949a68
View commit details
Copy full SHA for a949a68
View code at this point
Browse repository at this point
Add `-> None` to cls.__init_ calls per PEP484
Cabalist
committed
47d3519
View commit details
Copy full SHA for 47d3519
View code at this point
Browse repository at this point
Use `super()` syntax where appropriate
Cabalist
committed
ceaabfd
View commit details
Copy full SHA for ceaabfd
View code at this point
Browse repository at this point
Consistent string formatting
Cabalist
committed
6c59b8e
View commit details
Copy full SHA for 6c59b8e
View code at this point
Browse repository at this point
Use double quotes for docstrings
Cabalist
committed
c7fbd4b
View commit details
Copy full SHA for c7fbd4b
View code at this point
Browse repository at this point
Whitespace
Cabalist
committed
6ce4bbc
View commit details
Copy full SHA for 6ce4bbc
View code at this point
Browse repository at this point
Cleanup imports
Cabalist
committed
014372f
View commit details
Copy full SHA for 014372f
View code at this point
Browse repository at this point
Commits on Oct 10, 2019
Removed alias type hints for OpenSCADObject; we just use the entire class name throughout
etjones-erisyon
committed
84cf0a7
View commit details
Copy full SHA for 84cf0a7
View code at this point
Browse repository at this point
Commits on Sep 3, 2019
Merge branch 'master' into feature/type_hints
Show description for 9f4ce16
Evan Jones
committed
9f4ce16
View commit details
Copy full SHA for 9f4ce16
View code at this point
Browse repository at this point
Commits on Aug 31, 2019
Removed extra lines between classes. Don't remove solid from dest_namespace_dict in use(); that was breaking things
etjones-erisyon
committed
51fc326
View commit details
Copy full SHA for 51fc326
View code at this point
Browse repository at this point
Use pathlib.Path in objects.py; do imports within use() and import_scad() so they don't clutter the global namespace
etjones-erisyon
committed
d39e875
View commit details
Copy full SHA for d39e875
View code at this point
Browse repository at this point
Commits on Aug 28, 2019
Added `import_scad()` for namespaced imports of OpenSCAD code. Resolves GH #109, although documentation & testing are still needed.
Evan Jones
committed
c64d41c
View commit details
Copy full SHA for c64d41c
View code at this point
Browse repository at this point
Typing progress
Evan Jones
committed
18ce9ea
View commit details
Copy full SHA for 18ce9ea
View code at this point
Browse repository at this point
Merge branch 'master' into feature/type_hints
Show description for db620fc
Evan Jones
committed
db620fc
View commit details
Copy full SHA for db620fc
View code at this point
Browse repository at this point
Commits on Aug 18, 2019
type hints added
etjones-erisyon
committed
230ab30
View commit details
Copy full SHA for 230ab30
View code at this point
Browse repository at this point
Commits on Jun 3, 2019
scad import was reading scad file modules twice. Only do it once now
etjones
committed
dbd66ea
View commit details
Copy full SHA for dbd66ea
View code at this point
Browse repository at this point
Commits on May 21, 2019
`use()` now accepts a namespace dictionary for importing OpenSCAD code. Passing the dictionary in loads code into the target namespace rather than a module-level namespace. Possible: rework the `us…
Show description for 0dbec30
Evan Jones
committed
0dbec30
View commit details
Copy full SHA for 0dbec30
View code at this point
Browse repository at this point
Commits on Feb 28, 2019
Merge branch 'master' of https://github.com/SolidCode/SolidPython
Evan Jones
committed
50f04eb
View commit details
Copy full SHA for 50f04eb
View code at this point
Browse repository at this point
Resolves #106. Accept convexity arg in import statements
Evan Jones
committed
abb44ac
View commit details
Copy full SHA for abb44ac
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.