MoI discussion forum
MoI discussion forum

Full Version: Layer Styles?

Show messages: All  1-4  5-10

From: stefano (LIGHTWAVE)
5 Sep 2020   [#5] In reply to [#4]
Hi Michael,

Re: dxf very interested to see the v4 final or dialogue or at least a demo of that. I wont be in trial mode soon ;0)

From my experience DXF curves can be clunky sometimes inside various drawing packages (esp. If supplied by others). MoI3d dxf import seems faultless so far. DXF are still the defacto "input" or exchange standard in my industry for cad to cam; ending up on cnc.

Re: "ai" and "illustrator"
Whilst i might not be an adobe-fan, nice to hear layer imports can maybe be introduced in future; it will open up more options for all.

Re: universal file import and pdf
I'm not saying all my ideas are conventional nor that a filename syntax
is required. I thought using import filenames could be a simple way to make certain files do certain
things - perhaps as a script before a baked in feature. For single file imports a command "import file to layer/style/object name"
would or could work. Only advantage of using filename syntax is it might get people like me working to filename structures.
The fundamental part is this:

Why bother typing a layer/style or object type name when it could come from the filename?

Taking it further... Immagine I want to import 10 files .eps .dxf or ai in one go??

Could we maybe consider to try testing something soon for these examples:
》1. Single file name imported creates to single named moi layer/style (e.g file#4 as an example)
》2. multiple file selection to multiple layers - creates many layers/styles (e.g. file #1,2,3&4)
》3. Multi-page pdf to multi layer moi file, where each page is a layer/style - creates many moi layers/styles.
(testing pdfs at moment). Seems this last one could take the "page name or bookmark" from the pdf
or just take page numbers if that was too difficult.

I think this is power and usability and seems you likely have the framework.
From: stefano (LIGHTWAVE)
5 Sep 2020   [#6] In reply to [#5]
Example graphic used where 'all layers' or all pdf pages are merged.



1. Single file import..
Single file import just takes an .eps dxf or .ai file and 'pastes' into moi3d and creates
the layer name and style.

2. Multi file import would create 4 MOI3D' layers'
File #1
File #2
File #3
File #4
.eps files attached in this example.


3. Multi page pdf.



Moi imports the pdf its 3 page numbers or 3 bookmarks in this example
each page is effectively seen as a seperate layer/object group and on top of each other.
Moi creates the layer/style/object names.

Note: At moment moi seems to be able to import multi page PDF documents
- but all on one drawing area.

Attachments:
1-TO-MOI-1.eps
2-TO-MOI-2.eps
3-TO-MOI-3.eps
4-TO-MOI-ALL-OBJECTS.eps
MOI3D_#2_import-multiple-files-to-STYLES-or-object-layers.3dm
PDF-LAYERS-TO-MOI.pdf

Image Attachments:
all-layers-or-pages-ON.jpg  MoI-file-name-to-styles.jpg  PDF-PAGES-TO-MOI-BOOKMARKS-AS-LAYER-NAME.jpg 


From: Michael Gibson
5 Sep 2020   [#7] In reply to [#5]
Hi Stefano,

> Re: dxf very interested to see the v4 final or dialogue or at least a demo of that. I wont be in trial mode soon ;0)

If you have an example DXF file where you wanted layers to come through, if you can post it I can convert it and post the result back and then you can see what that looks like.


re: file import to style with filename, try the attached plug-in.

- Michael

Attachments:
ImportFilenameToStyle.js


From: stefano (LIGHTWAVE)
5 Sep 2020   [#8] In reply to [#7]
Many thanks for this Michael, I anticipate to have the license on
Monday just deciding which reseller.. best I try dxf bit later. I think I've seen enough and want to move forward now.. really like flexibility the software can provide and excited to get things done to my ideas...

FYI:
My intention is to develop a very fast workflow for creating models all basically same product, mainly just with dimension changes... then export and render these fast...

One question, very relevant to this potential workflow is...
Can a dxf or vector object that's been imported be identified easily by line weight, object name or some other feature like colour or the 'style layer' it's on?
Basically I would create a load of points, dots or shapes
and want these individual 'reference objects' to be replaced with a moi3d library object, in a click.

You can presume these objects will start as 2D or have ZO
until moi takes over :0)

Kindest Regards

Stefano
From: Michael Gibson
5 Sep 2020   [#9] In reply to [#8]
Hi Stefano,

re:
> Can a dxf object that's been imported be identified easily by line weight or some other feature
> like colour or the 'style layer' it's on?

Currently MoI does not have any support for assigning line weights, and colors cannot be set as an individual object property. An object's color in Moi comes from the style that it is assigned to.

But I would think the style/layer that its on could be used for that.

But I'm not sure that I entirely understand what you're trying to do by identifying the imported object.

- Michael
From: stefano (LIGHTWAVE)
5 Sep 2020   [#10] In reply to [#9]
Hi Michael, I feel that's great for now. Will 'get stuck in' learning moi3d (v4 etc) next. Probably best to create a seperate post with an example on my particular object 'swapping' idea bit later. Thanks again for your
answers that have created positive momentum.
-- Stefano

Show messages: All  1-4  5-10