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

Question about more complex geometry #3

Open
vmario89 opened this issue Aug 17, 2020 · 5 comments
Open

Question about more complex geometry #3

vmario89 opened this issue Aug 17, 2020 · 5 comments

Comments

@vmario89
Copy link

Hi,
this repo looks really interesting. I am thinking about some inkscape extension to make off. Is it possible to handle complex geometries which are wrapped in a group or which were combined in a regular SVG path with "d" attribute? In a real life szenario you are going to nest finalized parts but not their outlines only.

Example of more complex part would be the job to nest some living hinge objects which include a lot of inner lines:
grafik

regards and thanks for your efforts ! =)

@markfink
Copy link
Owner

markfink commented Feb 8, 2021

this sounds interesting. Honestly I have no idea what you are trying to do. What I would do is check if sth. like this can be done using clipper. If yes then it can be done in Nest2D. Maybe you can compute some "outer-shape" from your data and compute the placement for these

@vmario89
Copy link
Author

vmario89 commented Feb 8, 2021

Hi. Thanks for your reply! :-)

I am working a lot with production stuff in open source hardware means and looking a lot for nesting tools and libraries to work on nesting parts to build machines, models, items, artwork, etc.

Basically the idea of nesting is clear. But imagine you want to nest more complex shapes for producing things with a laser cutter, vinyl cutter, origami/papercraft. There you always have 2D parts which have an outer contour but also some data on their surfaces, like differently colored engraving lines, images/textures (coming from UV mapping of a 3D STL/OBJ file for example) or inner contours. While nesting you will lose all those data except the outer contours.

Some example from https://bilder.pcwelt.de/3974361_950x475.jpg
grafik

It shows an unfolded paper model with textures.

@markfink
Copy link
Owner

markfink commented Feb 9, 2021

great! Looks like you are uniquely skilled to solve this. Please report back. I am already curious what you come up with.

@vmario89
Copy link
Author

vmario89 commented Feb 9, 2021

Sadly not. I am not the deepest skilled math/physics/programmer to solve the ideas with code. I am kind of maker person. I am working a lot on documenting technologies like nesting. If you are interested have a look at

regards, Mario

@fitnr
Copy link

fitnr commented Feb 14, 2021

I think one solution would be to add attributes to the Item object to allow the extraction of its new position, or (even better) the affine transformation that was applied by the nester. Then the user could apply the same transformation to the image or textures that match with each object.

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

3 participants