FILE IMPORT TIPS
Depraved develop recordsdata will throw errors and create units that explode or can’t be solved, listed below are some guidelines for
importing FOLD or SVG recordsdata that work.
The FOLD file format is laid out in these medical doctors.
This instrument imports FOLD v1.0 recordsdata with all of the next fields populated:
You would possibly perchance perhaps well simply specify the target fold attitude of every crease utilizing the edges_foldAngle discipline.
Cowl that fold attitude is a number in degrees mendacity within the differ [−180, 180].
The fold attitude is definite for valley folds, detrimental for mountain folds, and nil for flat, unassigned, and border folds.
Accordingly, the ticket of edges_foldAngle must restful match edges_assignment if both are specified.
Need to you are uncertain whether or no longer your FOLD file is legitimate, you would possibly perchance perhaps well perhaps search for it utilizing the
Need to you are having bother, please consult with the FOLD spec.
- The SVG importer helps course, line, rect, polygon, and polyline objects with the superior
- Mountain folds web purple stroke – rgb(255, 0, 0), hex #ff0000
- Valley folds web blue stroke – rgb(0, 0, 255), hex #0000ff
- Boundary edges web sad stroke – rgb(0, 0, 0), hex #000000 – train
this edge kind for both the outline of the sample, and any inner holes.
- The final fold attitude of a mountain or valley fold will depend on its opacity. For instance, 1.0 = 180°
(fully folded), 0.5 = 90°, 0 = 0° (flat). Any fold attitude between 0° and 180° would possibly perchance perhaps well perhaps be passe. The next
patterns own creases with varying final fold angles:
- Earlier than the model can enter the simulator, this instrument will robotically triangulate areas within the sample that create polygons with greater than three sides.
To control the triangulations, plan lines in yellow – rgb(255, 255, 0), hex #ffff00. In accepted, patterns are more proper when their triangulation is symmetric and minimizes lengthy, skinny triangles. You would possibly perchance perhaps well be taught about
how the app robotically triangulated your sample by enabling “Ingredient Crease” visibility within the Advanced Alternatives > Edges Visibility
menu on the left aspect of the camouflage. It would simply no longer be obligatory to add triangulation lines on your sample.
- Ingredient creases (yellow triangulation lines) are creases that strive and remain flat (0° fold attitude) as the sample folds, nonetheless some compliance
within the constraints of the simulation will permit them to bend moderately. Drawing in aspect creases permits you to govern
the vogue the model bends in between mountain/valley folds.
This is in particular connected in patterns with crooked creases.
- Cuts web green stroke – rgb(0, 255, 0), hex #00ff00 – train this edge kind
to create thin slits within the sample.
- Undriven creases web magenta stroke – rgb(255, 0, 255), hex #ff00ff –
creases of this kind will swing freely. Employ this crease kind whenever you are no longer definite what attitude a pair of of the
creases on your sample must restful fold to.
- Line vogue and stroke width create no longer topic.
- Resolve clipping masks out of your file earlier than importing.
- This instrument wants so to robotically stunning recordsdata of moderately misaligned vertices, stray vertices,
replica lines, and extra vertices falling within the midst of an edge,
on the other hand it is rapid to plan end these errors yourself as one blueprint to steer clear of problems.
- If your simulation is never any longer working, examine that the imported sample looks obedient by clicking on the Sample survey within the cease nav bar.
You would possibly perchance perhaps well also ranking a duplicate of the imported sample ( File > Put Sample as SVG ) and survey it in a vector
editing program of your decision.
For Adobe Illustrator users:
I train Illustrator to create SVGs (although any vector editing program needs to be obedient). Listed below are some guidelines I’ve found out for making svgs to import into this instrument.
- Need to you are starting up with a pre-made vector file, first launch all clipping masks (Resolve all + Object > Clipping Cloak > Open).
- Construct geometry utilizing the Line Segment, Rectangle, and Polygon instruments.
- Illustrator can permit you to resolve all lines of a train kind so that you would possibly perchance perhaps well perhaps edit their color or opacity collectively. Click on the line,
then lunge to Resolve > Same > Appearance to resolve all identical lines within the sample.
- Be definite that CSS Properties is decided to Presentation Attributes within the Advanced strategies.
- Finally hit Put As and pick .svg extension. I am utilizing the default SVG 1.1 settings, nonetheless model 1.0 will work as properly.