MoI discussion forum
MoI discussion forum

Full Version: V5 Wish List

Show messages:  1-16  …  417-436  437-456  457-476  477-496  497-516  517-536  537-556  …  637-639

From: pressure (PEER)
18 Jan 2023   [#477] In reply to [#476]
Hi Pilou,

Yes, if MoI generated closed paths then Affinity Designer, Corel, Xara, Inkscape, etc. could use them. Though I was thinking mostly for SVG and AI since it doesn't seem like any most vector software can import PDF layers.

EDIT: Affinity Designer can import PDF layers

- Peer
From: Frenchy Pilou (PILOU)
18 Jan 2023   [#478] In reply to [#477]
Ah...I see the problem! :)

Faces are not separated in "projection" ...so we must redraw them manually!
and of course that is not very speedy when there are "curvated" ones and some numerous "projected" intersections!
Not sure that Moi can do that presently...

From: Michael Gibson
18 Jan 2023   [#479] In reply to [#477]
Hi Peer - Affinity Designer is able to import layers from PDF. That's the only one I know of that does it though.

- Michael
From: Frenchy Pilou (PILOU)
18 Jan 2023   [#480] In reply to [#479]
What do you name Layer inside Moi ? (Style? Style of Line ?)

Options PDF inside Moi
What is Prefix & Suffix ?


But i am not sure that resolve the little problem above?
From: Michael Gibson
18 Jan 2023   [#481] In reply to [#480]
Hi Pilou,

re:
> What is Prefix & Suffix ?

Prefix is something that will get added to the front of the layer name.

Suffix will get added to the end of the layer name.

Some description of this here:
http://moi3d.com/forum/index.php?webtag=MOI&msg=10825.3

quote:
The layer can be set to either a specific name, or "From style" which will put it on a layer with the style name of the edge or face that the curve was generated from. You can also add a prefix or suffix to the style name so you can make silhouettes go on a layer named red_silhouettes instead of just "red".


- Michael
From: Frenchy Pilou (PILOU)
18 Jan 2023   [#482] In reply to [#481]
Ok! It's just labelling something...

And I believe maybe resolve my little problem by just put in front / behind the different layers in Affinity...
I will see that tomorrow!
From: Michael Gibson
18 Jan 2023   [#483] In reply to [#482]
Hi Pilou,

re:
> And I believe maybe resolve my little problem by just put in front / behind the different layers in Affinity...

Sorry, I'm not understanding - what is the problem?

- Michael
From: Frenchy Pilou (PILOU)
18 Jan 2023   [#484] In reply to [#483]
Now I have the different Layers but
Seems there is something with the export PDF
Only one face can have fill color but not sure the geometry is good exported :)


https://moiscript.weebly.com/uploads/3/9/3/8/3938813/hop.pdf
not the the same 3dm but very similar! :)
https://moiscript.weebly.com/uploads/3/9/3/8/3938813/hop.3dm
From: Michael Gibson
18 Jan 2023   [#485] In reply to [#484]
Hi Pilou,

re:
> Only one face can have fill color but not sure the geometry is good exported :)

Sorry I don't understand what you are trying to do.

Is the fill color something that you're trying to set in a different program? What program is it?

- Michael
From: Frenchy Pilou (PILOU)
18 Jan 2023   [#486] In reply to [#485]
I make that only in Affinity! :)
I want just colorized each face separately as shown here https://moi3d.com/forum/index.php?webtag=MOI&msg=10114.476
I have well the 5 Layers but...curious...only the Top Cylinder can be filled and not completely !
(as shown on my previous animation ) https://moi3d.com/forum/index.php?webtag=MOI&msg=10114.484
follow is just theorical schema not the same order and names as above...
(Calque = Layer) I will see that tomorrow evening!
See you soon...

From: Michael Gibson
18 Jan 2023   [#487] In reply to [#486]
Hi Pilou, in order to get a proper fill in Affinity the path needs to be one combined closed path.

If you select just the layer _faceCyan in your PDF, there are 4 separate unjoined paths that belong to that layer.

You will need to join those together before it will fill properly. If you just select the entire layer with open curves it won't get filled right, it's trying to fill each of the 4 pieces individually.

You can join the curves in Affinity Designer by selecting them all:



Go to the "Node" tool:



Choose the "Join curves" Action here:



Now with it being one single path instead of 4 separate sub paths you can fill it like you wanted:



When the 4 pieces are separate then applying a fill goes like this instead:


- Michael

Image Attachments:
pilou_affinity1.jpg  pilou_affinity2.jpg  pilou_affinity3.jpg  pilou_affinity4.jpg  pilou_affinity5.jpg 


From: pressure (PEER)
19 Jan 2023   [#488] In reply to [#479]
Thanks for the tip Michael. I've corrected my post above.
From: Frenchy Pilou (PILOU)
19 Jan 2023   [#489] In reply to [#487]
Ok better than nothing!

I will continue to explore if there is no trick inside Moi for have direct closed curves! :)

Another thing is maybe a sort of Macro inside Affinity for close all curves inside all Layers!
Because when you have hundred of Layers that is some painful!
From: Frenchy Pilou (PILOU)
19 Jan 2023   [#490]
I have gone to the Affinity forum with example PDF above!
ABout the cylnder remark it's that i have seen!

>>Designer doesn't support Macros. Only Photo has them.

>>Your example file contains some curves, which reflect roughly edges which mark the surface of a 3D object.

I interpret your request that you want to get a closed curve for every visible surface area, build by using the edges and combining them to a closed curve (one edge is needed multiple times, mainly 1 or 2 times, for 2 edges who share the edge).

The grouping of layers (used for clipping) should be ignored for combining surface edges (you need edges from multiple layers groups for one surface)

Just „closing the curves“ (using the current „close curve“ function would not deliver any useful results.

the curves like the bottom from cylinder needs to be trimmed to cut of unused parts
This tasks needs some 3D functionality which is not at all available in designer.
The edges can be ambiguous (overlapping), and the layer sequence gives no actual „depth“ information.
Just to „manage expectations“ i personally rate this functionality very unlikely to come anytime soon. It is not a simple macro recording - which Walt already pointed out is not available at all in Designer - and record otherwise existing functionality.

otherwise, it would be a nice feature to get, of course.
From: Frenchy Pilou (PILOU)
19 Jan 2023   [#491]
So maybe a Projected inside MOI can do something...before exporting PDF...
From: Michael Gibson
19 Jan 2023   [#492] In reply to [#491]
Hi Pilou, you might also try using a raster to vector tracer on the background image to trace an outline around a face.

You could bump up the light intensity under Options > View > Lighting options to get solid coloring without shading.

Peer mentioned a couple of different tracers above here:
http://moi3d.com/forum/index.php?webtag=MOI&msg=10114.475

- Michael
From: Frenchy Pilou (PILOU)
19 Jan 2023   [#493] In reply to [#492]
Yep but it's a little pity because we have yet curves and coordinates of vertices inside Moi! : before the PDF export!

That works perfectly when we have separated figures! (Curves only or Surfaces )

Does exist something for automatize Names for these figures for have directly different "Layers" inside Moi ?


From: Michael Gibson
19 Jan 2023   [#494] In reply to [#493]
Hi Pilou,

re:
> Does exist something for automatize Names for these figures for have directly
> different "Layers" inside Moi ?

I'm not quite sure what you mean, there is a Styles list in MoI that is similar to layers, do you mean you want something that puts each curve on a separate style?

What is the goal of that?

- Michael
From: Frenchy Pilou (PILOU)
20 Jan 2023   [#495] In reply to [#494]
When you export the PDF to Affinity you will have each "Layer" with a name ;)

As alas name of object can't be exported to Affinity
but name of Style can be used!

So must each object as a Style (even a same color) with a different name!
(if automatically possible of course)
Here Object must be named Polo1, Polo2, Polo3

Like this each Layer has a different name inside Affinity and can be selected separately...


From: Frenchy Pilou (PILOU)
20 Jan 2023   [#496]
Ah damned! There is a new tool inside Affinity V2 !
So seems that will resolve all the problems above ! ( the lateral face of the cylinder etc)
The Shape Builder tool !
video made by NotMyFault with my file! (because i have not the V2 )
https://moiscript.weebly.com/uploads/3/9/3/8/3938813/fullsizerender.mov

So problem stays in Moi for make the same before export the PDF! :) (for the Aff V1)
Make isolated surfaces / Faces / Edges from a 3Dview

Show messages:  1-16  …  417-436  437-456  457-476  477-496  497-516  517-536  537-556  …  637-639