Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
STL2Lego
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Max Idermark
STL2Lego
Commits
4c32bcc2
Commit
4c32bcc2
authored
2 years ago
by
Max Idermark
Browse files
Options
Downloads
Patches
Plain Diff
add example images
parent
8d1865ba
No related branches found
No related tags found
Loading
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Documents/Photos/BenchyCatia.png
+0
-0
0 additions, 0 deletions
Documents/Photos/BenchyCatia.png
Documents/Photos/BenchyPy.png
+0
-0
0 additions, 0 deletions
Documents/Photos/BenchyPy.png
README.md
+6
-0
6 additions, 0 deletions
README.md
with
6 additions
and
0 deletions
Documents/Photos/BenchyCatia.png
0 → 100644
+
0
−
0
View file @
4c32bcc2
410 KiB
This diff is collapsed.
Click to expand it.
Documents/Photos/BenchyPy.png
0 → 100644
+
0
−
0
View file @
4c32bcc2
255 KiB
This diff is collapsed.
Click to expand it.
README.md
+
6
−
0
View file @
4c32bcc2
...
...
@@ -2,6 +2,9 @@
Python code for converting a STL to a Lego version.

### Output
-
A numpy voxel array in where bricks are to be places layer by layer
-
This voxel array can be sent to Catia via Visual Basic to be instantiated.
...
...
@@ -15,9 +18,12 @@ Python code for converting a STL to a Lego version.
```
pip3 install -r requirements.txt
```
## Usage
```
python3 stl2lego.py
```
Outputs "latest_bricks_placed.json" which is the json object containing all
bricks (position and size)
## Authors
-
Mats Gard & Max Idermark
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment