V5 beta Jul-30-2024 available now
 1-9  10-29  30-49  50-69  70

Previous
Next
 From:  Michael Gibson
11493.30 In reply to 11493.27 
Hi Andreas, also another way to remove names from edges is to set up this on a shortcut key:

script: /* Remove names from edge sub-objects */ var breps = moi.geometryDatabase.getObjects().getBReps(); for ( var i = 0; i < breps.length; ++i ) { breps.item(i).getEdges().setProperty( 'name', '' ); }

That will get rid of the "K2-Balkon-2" that's at the top which is set on an edge sub object.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Sirius (ANDREAS_DREXLER)
11493.31 In reply to 11493.30 
Hi Frenchy, Hi Michael,

Your tips were very helpful.
Many thanks for that.

I immediately put the script on F2, it works perfectly.

Can moving be made easier?
For example, simply change the assignments in the object list using drag and drop?

It would be helpful if in this list:



the existing layers could be selected from the object list.


Bye
Andreas

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
11493.32 In reply to 11493.31 
Hi Andreas, drag and drop can get very awkward when lists get longer and you need to try and control scrolling within the drag/drop as well.

I've been trying to avoid using it.

Maybe I can add a "Move" item to the pop up menu that currently has "Assign selection here" and "Rename" on it. The "Rename" there allows you to rename an item without having to make it selected first. A "Move" item there could be similar, it could wait for you to click on another item in the list and assign it there without needing to set selection.


> It would be helpful if in this list:
>
> the existing layers could be selected from the object list.
>

You're getting to that by clicking the name line in the properties panel here, is that correct?



If you want to set it to an existing name, don't use that method - instead click on the name in the Scene browser and choose "Assign selection here", or you can also right click on it which will assign it without having the menu pop up.

- Michael
Attachments:

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Sirius (ANDREAS_DREXLER)
11493.33 In reply to 11493.32 
Hi Michael,

>You're getting to that by clicking the name line in the properties panel here, is that correct?

Yes.

<If you want to set it to an existing name, don't use that method - instead click on the name in the Scene browser and choose "Assign selection here", or you can also right click on it which will assign it without having the menu pop up.


Works perfectly :-)

Bye
Andreas
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Sirius (ANDREAS_DREXLER)
11493.34 In reply to 11493.33 
Hello Michael,

If objects with the same name are in a group, I can only access individual areas etc. by double-clicking.

If I dissolve the groups, the individual objects can be reached with a single mouse click,
which I find better!

Is this behaviour desired for grouping?
If so, why?

Bye
Andreas
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Frenchy Pilou (PILOU)
11493.35 In reply to 11493.34 
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; }

Pilou
Is beautiful that please without concept!
http://moiscript.weebly.com
My Moi French Site
https://schmoll8.wixsite.com/magicavox
My MagicaVoxel Gallery

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
11493.36 In reply to 11493.34 
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:

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Sirius (ANDREAS_DREXLER)
11493.37 In reply to 11493.36 
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
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
11493.38 In reply to 11493.37 
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
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Sirius (ANDREAS_DREXLER)
11493.39 In reply to 11493.38 
Super.... Thank you
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  David M (DOMCM)
11493.40 
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:
Size: 267.1 KB, Downloaded: 69 times, Dimensions: 1726x1368px
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
11493.41 In reply to 11493.40 
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
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  David M (DOMCM)
11493.42 In reply to 11493.41 
Michael,

Yes, the black border disappears when the window is resized.
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Sirius (ANDREAS_DREXLER)
11493.43 In reply to 11493.42 
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
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  pressure (PEER)
11493.44 In reply to 11493.43 
Hi Andreas,

Have you tried IncrementalSave?

http://moi3d.com/2.0/docs/moi_command_reference10.htm

- Peer
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Sirius (ANDREAS_DREXLER)
11493.45 In reply to 11493.44 
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
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Sirius (ANDREAS_DREXLER)
11493.46 In reply to 11493.45 
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:
Size: 216 KB, Downloaded: 50 times, Dimensions: 1728x1502px
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Phiro
11493.47 
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
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
11493.48 In reply to 11493.46 
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
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Sirius (ANDREAS_DREXLER)
11493.49 In reply to 11493.48 
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
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All

 

 
Show messages:  1-9  10-29  30-49  50-69  70