Comments (2)
I love this preview! Using the svg from this gist to handle an svg exported from illustrator? Or a revised version of that gist?
https://gist.github.com/fullcontrol-xyz/fe80b7ae8af1f80eb601c3c1f480d8fe
Yep this happens when points are close together near a corner. It means the offset path function's code is nice and simple. One solution is to go through the offset path after creating it, segment by segment, and check for intersection with any segments in the near future of the path. E.g. Look 10 segments ahead. There are already functions to check for intersection between lines in the FullControl lab. Once you found out which segments intersect, you can replace the points in between with the intersection point. It'll take a little extra thought at the very beginning/end of the path, maybe looping through the end of the list back to the start somehow.
I'll look into the code sometime, but it might not be for a while. Please share if you develop your own. I can add it to lab.
from fullcontrol.
I have a customized version of the Gist. I want to be able to read individual objects from the SVG. Then I can specifically control how the path is printed later.
And my SVGs come from Illustrator. This is the easiest way for me to work with the points for paths.
from fullcontrol.
Related Issues (20)
- STL-file is none HOT 3
- [BUG] Issue with G1_E0 mode when using M82 (absolute extrusion) configuration HOT 2
- [FEATURE REQUEST] Add support for Vormvrij Lutum 5
- [QUESTION] How can I add an example for 5 axis in the https://fullcontrol.xyz/#/models link ? HOT 3
- [QUESTION] What's the best way to vary Flow% and Speed% over a number of layers? HOT 5
- Can you help me desing an overhang test for 5 axis printer? HOT 7
- [QUESTION] How to determine flow rate ans extrusion multiplier for a new biomaterial? HOT 8
- [PROBLEM] Extrusion problem HOT 8
- [QUESTION] How do you get around function-induced speed changes? HOT 1
- [QUESTION] Functionalities of fc5 function HOT 19
- [QUESTION] G1 commands missing HOT 1
- [FEATURE REQUEST] Device Support: Ultimaker S3 HOT 2
- [FEATURE REQUEST] Motion-aligned mesh visualisation HOT 1
- [FEATURE REQUEST] Add possibility to get "raw" plotly fig object HOT 3
- [QUESTION] push/pop ExtrusionGeometry HOT 5
- [BUG] duplicated primer procedure HOT 3
- [QUESTION] Increase the Inner_frame_hole_diameter in lampshade HOT 2
- [BUG] Scientific notation used for sufficiently small extrusion distances crashes klipper HOT 2
- [FEATURE REQUEST] Add stl support with visualisation
- support for grbl laser cutters HOT 30
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fullcontrol.