MoI discussion forum
MoI discussion forum

Full Version: V5 Wish List

Show messages:  1  …  442-461  462-481  482-501  502-521  522-541  542-561  562-581  …  622-639

From: pressure (PEER)
24 Jan 2023   [#502] In reply to [#501]
Hi Pilou,

Thanks for continuing to look for a solution. Attached is a 3DM along with SVG, AI, and PDF exports for testing.
From: Frenchy Pilou (PILOU)
24 Jan 2023   [#503] In reply to [#502]
@ Peer I will examine that! :)
From: Frenchy Pilou (PILOU)
24 Jan 2023   [#504]
@ Peer
I suppose all your files are from the initial 3DM and exported from Moi ?
Something strange!
I draw something in InkScape then export SVG ---> White Rabbit ...that works ! :)
I load your SVG file in InkScape (all is fine i see it) then export SVG ---> White Rabbit that don't work! :(

So I must investigate more! Be patient! :)

What is exactly the target wanted ?
Each face separated with a color for example, only closed curves of a file, both ? Other ?
From: Frenchy Pilou (PILOU)
25 Jan 2023   [#505]
@ Peer ... SVG : it's a little nightmare! :)

I have maybe a process (in PDF) but we must hide these yellow lines by hand
so not sure that is a valid one that you have expected!





The Process some similar than previous !
From an Moi Object
- Boolean the solids
- Hide the lines no wanted
- Export as PDF View 3D for have any position wanted!
- New - Reload the PDF - View top (so we have the position of the original object in a plane ! )
- View Top - Intersect with a Plane
- Keep only the Object kill the rest
- the tricky Part! ExplodeMove (4)
- Select Curves (use the Browser) Kill them
- Select & Copy Move the Edges (use the Browser) become Curves! ) - Join these Curves = All curves are Closed!
- kill surfaces - put the closed curves at the original position
-UnExplode Move
- Export as PDF the closed curves View Top
- Open inside Affinity V1: colorize as you want all the Closed Curves!
et voilĂ ! :)
to continue...but I leave the SVG for the moment too devious! :)

Else something like that :)

From: pressure (PEER)
25 Jan 2023   [#506] In reply to [#505]
Hi Pilou,

I tried to follow your instructions, but it doesn't really work for me. Here's what I see if I open closed_paths_test.pdf:


Also, even if this method works, it involves exporting an SVG from MoI, importing back into MoI to make closed paths, exporting from MoI again, and then combining the first export with the second export because the first export has multiple line widths that I need to keep. That's not really better than using Illustrator to make closed paths. I still have to ping-pong back and forth and at least with Illustrator the page size and position stays the same so I don't have to do a scaling and alignment step.

Here's what I need in the end:

1) Outline that is stroked outside of path rather than along center of path. When outline stroke is outside then edges meet corners properly:


But, when the outline stroke is centered then edges don't meet correctly but look offset:


A stroke can only be outside if the path is closed since open paths don't have an inside or outside.

2) block shading:



3) Hatch fill to indicate a cross-section plane:

Image Attachments:
block_shading.png  hatch_fill.png  outline_centered.png  outline_outside.png 


From: Frenchy Pilou (PILOU)
25 Jan 2023   [#507] In reply to [#506]
I don't know if you have read the last Process because my computer crashes during its writing :)

Seems you don't make the Boolean and don't erase the inclined lines...before the first Export PDF !
How do you deal with these lines when you colorize?



But ok for the no Boolean if you want the "frame"!

I make all inside MOI only from your file PDF!

About the width of the lines that will be made inside Affinity after the final export PDF from Moi...

But I am agree if the erasing of the no wanted lines was automatic that will be a breeze! :)

Else I have all surface that you want (so no Boolean at the start process;) from the Trimming intersection with the plane! ;)
Even before to have the closed curves! Even before the Explode Move who will permit the close curves process!



You must have something like this


For make the curves close : Join them! (before the Un ExplodeMove)


The Un-MoveExplode...twice 0.5 because ExplodeMove was 4
That is finished! All Closed Curves are in position ready for be exported in PDF (View Top) to Affinity V1


And inside Affinity V1 the round intersections seems perfect ! If not that is not a big deal to connect them in the right place!



From: Frenchy Pilou (PILOU)
25 Jan 2023   [#508]
And of course the PDF ;)
https://moiscript.weebly.com/uploads/3/9/3/8/3938813/closed_paths_test_ok.pdf
From: pressure (PEER)
25 Jan 2023   [#509] In reply to [#507]
Wow Pilou! I'm impressed by your creativity. I got your method working by using Trim rather than Boolean > Intersection.

I'm going to experiment more with your method tomorrow :)
From: Frenchy Pilou (PILOU)
25 Jan 2023   [#510] In reply to [#509]
My last one was without Boolean! ;)
But maybe there is more easy ...maybe just an intersection with a tricky plane ?

The only default that i see is the Lines to erase "manually"!
Because on a very complex object that will be very painful or impossible! :)
From: Frenchy Pilou (PILOU)
26 Jan 2023   [#511] In reply to [#509]
@ Peer The mystery of the SVG file is quasi resolved! :)
It was a "," who must be changed in "."

So by Taron the creator of White Rabbit CAD! ;)



From: Frenchy Pilou (PILOU)
26 Jan 2023   [#512]
Here the secret! :)

As I can't load any file SVG inside the White Rabbit CAD https://www.tiesoli.com/whiterabbitcad/
a 2D niche program for make clothes! :)
you must edit the svg file
Check the: viewBox="0 0 595,2756 841,8898"
Change it to be:
Check the: viewBox="0 0 595.2756 841.8898"

Now all works like a charm! :)

I don't know who is the guilty! :)
Inksape, Moi, White Rabbit Cad...


From: Michael Gibson
26 Jan 2023   [#513] In reply to [#512]
Hi Pilou,

re:
> I don't know who is the guilty! :)
> Inksape, Moi, White Rabbit Cad...

It's a bug in MoI's SVG export, it should not be using localized number formatting for those values in the SVG file, I'll get it fixed up.

Thanks, - Michael
From: Frenchy Pilou (PILOU)
26 Jan 2023   [#514] In reply to [#513]
Very cool...i can reload a Moi file SVG now if needing!
From: pressure (PEER)
26 Jan 2023   [#515] In reply to [#511]
Hi Pilou,

Thank you for putting so much time and thought into this problem!

I tried out your method of trimming a plane with curves from SVG. It turns out there are a couple problems when I do this with a more complicated drawing. The first is that hidden line generation leaves behind a bunch of tiny lines in the SVG. Normally these aren't visible, but they're enough to cause tiny little cuts in the plane which then prevent joining the edge curves into closed paths. I tried removing the hidden line fragments, but it takes a lot of manual work.

The second problem is that, even after removing all the hidden fragments, trimming a plane with a jumble of curves isn't totally reliable. Some cuts get missed and sometimes some bug gets triggered and I see a bunch of triangular artifacts rather than a properly trimmed plane.

White Rabbit CAD looks good. For this task I'm probably going to stick with Illustrator since I already know how to use it. But, next time I have a sewing project, I'm certainly going to try it. Please thank Taron for me :)

- Peer
From: Frenchy Pilou (PILOU)
26 Jan 2023   [#516] In reply to [#515]
in any case that tracked down a bug inside MOi ! ;)
White Rabbit is a very specialized program!
Its tools 2D are some ergonomic to use for draw curves or other geometric forms! :)
And smart UI like Moi! ;)
From: Rainydaylover (DIMITRI)
6 Feb 2023   [#517]
A cage deforming tool. It is the tool I am waiting to see in a coming version for buying the upgrade from v.3.
From: Psygorn (DRILLBIT)
6 Feb 2023   [#518]
Hi Michael,

I hope you are doing well.

I want to request a feature! ( I don't know if it is already exists or if it is asked by someone else and I hope it will not turn out to be dumb request)

Is it possible to be able to save MOI scene in different modes? I mean for example can one save MOI scene in different c-plane modes or if different Zooms? so, there would be c-plane-1, c-plane_2 etc. Zoom_1, Zoom_2. I think it could be useful if one could save MOI scene in different c-plans modes so s/he could quickly toggle between these modes and could see the model from different angles.

Best,
Psygorn
From: pressure (PEER)
7 Feb 2023   [#519] In reply to [#518]
Hi Psygorn,

Have you tried the ViewManager script? http://moi3d.com/forum/lmessages.php?webtag=MOI&msg=10028.1

For saving c-planes it works pretty well to add an alignment feature like a little plane or 2 lines at right angles so that the orientation picker of the c-plane command can be snapped back to where it was.

- Peer
From: Psygorn (DRILLBIT)
7 Feb 2023   [#520] In reply to [#519]
Hi Peer,

I didn't know about it!

Thanks :-)
From: christian (CHRI)
7 Feb 2023   [#521] In reply to [#519]
hi Peer

Thanks for sharing this script
it works fine

christian

Show messages:  1  …  442-461  462-481  482-501  502-521  522-541  542-561  562-581  …  622-639