Show messages:
1-14
15-34
35-54
55
From: Frenchy Pilou (PILOU)
maybe you can use this for rename all objects of a selection so no double name! :)
> Is there any possibility to create a script that will number objects depending on the sequence of clicking on them?
Try this:
script: /* Set name by selection order */ var objs = moi.geometryDatabase.getSelectedObjects(); objs.sortBySelectionOrder(); for ( var i = 0; i < objs.length; ++i ) { var obj = objs.item(i); obj.name = i+1; }
From: Michael Gibson
Hi Andreas,
re:
> If objects with the same name are in a group, I can only access individual areas etc. by double-clicking.
Yes, that's correct. The click selection behavior is the same whether you have objects with the same name or with different names.
I've attached an example file here, the group on the left contains objects with the same name, the group on the right contains objects with all different names.
You should see the same viewport click selection behavior on both.
If you are seeing a difference in behavior with same name vs different names, can you please post an example file?
Also, if you hold down the Ctrl key when you click, it will drill down to immediately select that individual object inside the group instead of going in steps like plain left click does.
> Is this behaviour desired for grouping?
Yes, this is the intended behavior.
> If so, why?
Because that's the behavior of the vast majority of software that has a function called "groups".
For example Affinity Designer, Adobe Illustrator, Inkscape, Rhino, MS Word.
It's an organization method that helps to make a number of objects stay together and behave as one unit.
In the future I want to add some other types of organizing (called "folders", probably) that will behave differently. But grouping was frequently requested so it has been the priority for hierarchical organizing tools.
- Michael
Attachments:
group_example.3dm
From: Sirius (ANDREAS_DREXLER)
Hi Michael,
thank you for the detailed explanations.
I think it would be helpful to be able to sort the stiles alphabetically, in ascending or descending order.
Bye
Andreas
From: Michael Gibson
Hi Andreas,
re:
> I think it would be helpful to be able to sort the stiles alphabetically, in
> ascending or descending order.
You can do that currently using a script, see here:
http://moi3d.com/forum/index.php?webtag=MOI&msg=3918.2
That's in increasing order, to do it in decreasing order use this one:
script: /* Sort styles alphabetically decreasing */ moi.geometryDatabase.styleEditorOpened(); var styles = moi.geometryDatabase.getObjectStyles(); var stylearray = new Array(); for ( var i = 0; i < styles.length; ++i ) { stylearray.push( styles.item(i) ); } function sortfunc(a,b) { return b.name.toLowerCase().localeCompare( a.name.toLowerCase() ); } stylearray.sort(sortfunc); for ( var i = 0; i < stylearray.length; ++i ) { var style = stylearray[i]; while ( style.index> i ) style.moveUp(); } moi.geometryDatabase.styleEditorClosed();
- Michael
From: Sirius (ANDREAS_DREXLER)
Super.... Thank you
From: David M (DOMCM)
A nit with V5 beta July-30-2024. When running on my 4K display at 225% displaying scaling, a black border appears on the right side of the options menu when opened.
Image Attachments:
black_border.jpg
From: Michael Gibson
Hi David,
re:
> a black border appears on the right side of the options menu when opened.
Does it seem to go away if you resize the dialog window?
- Michael
From: David M (DOMCM)
Michael,
Yes, the black border disappears when the window is resized.
From: Sirius (ANDREAS_DREXLER)
Hello,
it would be good if MOI could create backup files at adjustable intervals and move the older versions to the bottom.
It would be good to be able to define a directory in which these backup files are stored.
Project name Backup file-001 = current status
Project name Backup file-002 = old status
Project name Backup file-003 = even older version
etc.
etc.
It would also be desirable if the number of backup files could be set.
Bye
Andreas
From: pressure (PEER)
Hi Andreas,
Have you tried IncrementalSave?
http://moi3d.com/2.0/docs/moi_command_reference10.htm
- Peer
From: Sirius (ANDREAS_DREXLER)
Hello Peer,
thanks for the tip!
That comes very close to what I want.
However, an automatic backup function as described by me would be more convenient and secure.
Bye
Andreas
From: Sirius (ANDREAS_DREXLER)
Hello Michael,
can I make the view orthogonal to the surfaces
that I have marked with the red arrows in the image?
It would be desirable to be able to align the view orthogonally to any surface.
This would often make the construction easier.
Bye
Andreas
Image Attachments:
Screenshot-01.jpg
From: Phiro
Hi Andreas,
The Cplane function doesn't give you plain satisfaction ?
Documentation here :
http://moi3d.com/4.0/docs/moi_command_reference5.htm#cplane
Have fun
From: Michael Gibson
Hi Andreas,
re:
> can I make the view orthogonal to the surfaces
> that I have marked with the red arrows in the image?
Yes as Phiro writes above you can use the Construction Plane (View > CPlane) function to do that.
Snap the orientation picker onto the center point of those planes that you are indicating and then the ortho Top/Front/Right views will be oriented around that local frame of reference. So after you set the CPlane when you draw in the Top view you'll be drawing on that plane.
When you're done use the "Reset CPlane" button inside the View > CPlane command, or also you can right click on View > CPlane as a shortcut to resetting it back to world orientation.
- Michael
From: Sirius (ANDREAS_DREXLER)
Hello Phiro, hello Michael,
that was what I wanted.
It's great that it's already included in the programme.
Thanks for your help.
Bye
Andreas
From: geekmidget (HF)
I was experimenting a bit with MoI V5, I made an arch and tried to rotate it, but after picking center, when I picked start point, I zoomed in simply to check if point was selected correctly and after some zooming, start point appears outside of the curve and doesn't snap to the edge of the curve no matter where I move cursor.
Why is this happening?
Image Attachments:
end_point.png
From: Michael Gibson
Hi HF,
re:
> Why is this happening?
It's hard to know just from a screenshot - if you could attach the .3dm file along with it that would make it possible to analyze it.
But my guess would be that you're probably zoomed in to a super extreme level where you're seeing the effects of microscopic round off errors from how floating point arithmetic works.
- Michael
From: geekmidget (HF)
I guess it's possible.
Since there is no indication of the zoom level, it's hard to tell what visualization scale is currently on screen.
Would it be possible to include some kind of status in this regard?
From: Michael Gibson
Hi HF,
re:
> I guess it's possible.
I can verify if you post the .3dm file that matches the screenshot.
> Since there is no indication of the zoom level, it's hard to tell what visualization
> scale is currently on screen.
> Would it be possible to include some kind of status in this regard?
It's possible but could be awkward to implement in perspective.
Do you have an idea of how you would like to see this status?
- Michael
From: geekmidget (HF)
That was just a test, I deleted it but apparently it was as you said, I had zoomed in to a large extent.
Regarding zoom status, not having this isn't really a deal breaker but I think something visible somewhere in the UI could be useful, and it wouldn't even need to be enabled by default, just as an option for those who want it.
How to actually implement it depends on a number of things, one important being the reference for 1:1 visualization scale. I really couldn't say what's the best approach. I mean, from the practical point of view let's say you select an object of 20mm and start zooming in, by the time the screen shows only part of the object, visualization scale is obviously beyond 1:1 but right now it's not clear if screen is showing 0.5mm or 0.005 or 0.00005, etc. unless you measure something, which makes you loose focus.
Show messages:
1-14
15-34
35-54
55