MoI discussion forum
MoI discussion forum

Full Version: V5 Wish List

Show messages:  1-9  …  430-449  450-469  470-489  490-509  510-529

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)
20 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
20 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
From: Michael Gibson
20 Jan 2023   [#497] In reply to [#495]
Hi Pilou,

re:
> 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

There is a script here:
http://moi3d.com/forum/index.php?webtag=MOI&msg=3334.2

That will make a style created for every named object, with the object assigned to it.

- Michael
From: Frenchy Pilou (PILOU)
20 Jan 2023   [#498] In reply to [#497]
Perfect for this rename them!
From: Frenchy Pilou (PILOU)
22 Jan 2023   [#499] In reply to [#477]
@ Peer Maybe this can resolve your problem! ;)

Tips
Better if the original objects are Boolean Union and generator vertical line of Cylinder hidden

The complete easy final Process! :)
Of course each closed curve can be Style colorized and Named inside Moi!
for have directly named Layers inside Affinity V1! (no made here)

With this http://moi3d.com/forum/index.php?webtag=MOI&msg=3334.2
you can name automatically some Styles (so futur Layers) as you want
for have something more elaborated than "Default" following! :)
( Calque = Layer in French)

Intersection with a plane of the Imported PDF





else i have refound a Close Multiple Curves Command :)
https://moi3d.com/forum/index.php?webtag=MOI&msg=2752.1

From: pressure (PEER)
23 Jan 2023   [#500] In reply to [#499]
Hi Pilou,

Thank you for trying out some creative ways to attack the problem of getting closed paths!

Re:
> Better if the original objects are Boolean Union and generator vertical
> line of Cylinder hidden

I just tried this on a perspective projection of a more complex object, but the result of boolean union is that most lines get deleted, so maybe union only works for simple cases.

Re:
> Intersection with a plane of the Imported PDF

With more complicated line art this doesn't work for me. I get like 150 planar surfaces with triangular cutouts even though the line art doesn't have any triangles.

Re: Affinity Designer

I've already tried Affinity v2, but it's not good for me. I need a vector eraser, line width tool, and curve offsetting so that when there's a big area I can put hatching as a thin edging around the outside rather than having a large area of stripes that draws too much attention.

Illustrator has a well-known bug in its vector eraser and has a difficult to use width tool, which is why I don't use it for very much. But Affinity completely lacks a vector eraser and width tool, and has unreliable curve offsetting, so for my case it's not as good of a choice as Illustrator. In other words, neither Affinity nor Illustrator are very good for most of what I do, but for the part where I make closed shapes, Illustrator is better than Affinity because it can offset those shapes to make an edging / outline / annular shape around the perimeter.
From: Frenchy Pilou (PILOU)
23 Jan 2023   [#501] In reply to [#500]
@ Peer Just by hasard take a look at this niche program : White Rabbit CAD :)
It has some tools who maybe works for some figures! :)
https://www.tiesoli.com/whiterabbitcad/

You can send me some examples before / after wished for that i test with White Rabbit for the fun! :)
import 2D (pdf, svg) export SVG DXF
but Moi SVG, PDF --> Inkscape SVG --> White Rabbit

<< boolean union is that most lines get deleted, so maybe union only works for simple cases
Of course just boolean when "front faces" & lines are necessary...
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 :)

Show messages:  1-9  …  430-449  450-469  470-489  490-509  510-529