MoI discussion forum
MoI discussion forum

Full Version: Lots of unkown

Show messages:  1-3  …  284-303  304-323  324-343  344-363  364-372

From: Cemortan_Tudor
4 Nov 2021   [#344]
didn't know that it was such an option - selecting body - planar
i was doing as usual, selecting edges !
thanks !
From: Cemortan_Tudor
7 Nov 2021   [#345]
need some help with developing a function for move script
move arc -> draw helpers(points) on missing bbox frame (wanna use for arc -> draw points/aids for corners)
From: Michael Gibson
7 Nov 2021   [#346] In reply to [#345]
Hi Tudor,

re:
> need some help with developing a function for move script
> move arc -> draw helpers(points) on missing bbox frame (wanna use for arc -> draw points/aids for corners)

I'll need a lot more detailed explanation of what you're trying to do to be able to understand it and help.

- Michael
From: Cemortan_Tudor
7 Nov 2021   [#347]
thinking more idea won't work
will be good for next version - where will be point selection in scripting
idea is simple
whenever i've determined there's an arc or simple bended curve draw aids on corners as shown - pivot points on missing corners

Image Attachments:
arc.png 


From: Cemortan_Tudor
7 Nov 2021   [#348]
extrude problems
i know there are ways around it, wanna show current
cylinder, cutted with a plane
selecting cutted smaller piece top face - extrude -> no problems, with cutted in between, extrude -> slows down and shows artifacts, any scale

Image Attachments:
extrude.png 


From: Michael Gibson
7 Nov 2021   [#349] In reply to [#347]
Hi Tudor,

> will be good for next version - where will be point selection in scripting
> idea is simple
> whenever i've determined there's an arc or simple bended curve draw aids on corners as shown - pivot points on missing corners

Sorry I don't understand this at all. Are you looking for some way to make a point picker snap to those points you show?

What command is the point picker running in? Are you talking about a pointpicker in a new command you want to write or in an existing command?

- Michael
From: Michael Gibson
7 Nov 2021   [#350] In reply to [#348]
Hi Tudor,

re:
> cylinder, cutted with a plane
> selecting cutted smaller piece top face - extrude -> no problems, with cutted in between, extrude -> slows down and shows artifacts, any scale

Can you please post a .3dm model file with the cut cylinder in it that you are seeing the artifacts with?

- Michael
From: Cemortan_Tudor
7 Nov 2021   [#351] In reply to [#350]
extrude
From: Cemortan_Tudor
7 Nov 2021   [#352] In reply to [#349]
snap yes
there's no easy easy other then build construction lines
move/rotate from corner point,scale/copy .. etc -> mostly for 3d view

Image Attachments:
arcs.png 


From: Cemortan_Tudor
7 Nov 2021   [#353]
another idea with arcs
polyline round corners -> add a snap point of last distance(red) on new drawn contruction line or holding shift snap line -> manual fillet or draw arcs
other words -> distance from a to b to project on b to c if it's a contruction line

Image Attachments:
snap_point_01.png 


From: Michael Gibson
7 Nov 2021   [#354] In reply to [#351]
Hi Tudor,

re:
> extrude

Thanks for posting the file. What piece should I select and extrude to see the artifacts that you were asking about?

- Michael
From: Michael Gibson
7 Nov 2021   [#355] In reply to [#352]
Hi Tudor,

> snap yes
> there's no easy easy other then build construction lines
> move/rotate from corner point,scale/copy .. etc -> mostly for 3d view

No easy way to do what exactly? I'm sorry but I'm not getting enough information from you to be able to understand what you're asking about here.

- Michael
From: Cemortan_Tudor
7 Nov 2021   [#356]
https://youtu.be/2txgDjHsXIc?t=950
another future that will benefit
offset extend to cap surface
From: Cemortan_Tudor
7 Nov 2021   [#357]
external link, out of space https://www.sendspace.com/file/zara2u
any red/orange selection
From: Cemortan_Tudor
7 Nov 2021   [#358] In reply to [#355]
i'll post geometry later where i see benefits
as more detailed explanation
From: Michael Gibson
7 Nov 2021   [#359] In reply to [#357]
Hi Tudor,

re:
> external link, out of space https://www.sendspace.com/file/zara2u
> any red/orange selection

Thanks, I can repeat the extrude artifacts over here now. But they only seem to happen when the extrusion is a very small distance away. Once you move more than about 1 unit the artifacts disappear. Is it the same over there?

I think the artifacts are related to difficulty in doing boolean calculations on small slivery objects.

I might be able to improve this, I'll put it on my list of things to investigate. Thanks for sending it in.

- Michael
From: Cemortan_Tudor
11 Nov 2021   [#360]
using rotate is possible to align parallel to one edge with one construction line, or ways todo it easier

Image Attachments:
za.png 


From: Michael Gibson
11 Nov 2021   [#361] In reply to [#360]
Hi Tudor, you can capture a direction with a construction line and relocate it to the rotation center, then use snaps.

Here's a demonstration:



- Michael
From: Cemortan_Tudor
11 Nov 2021   [#362]
thanks !
From: Cemortan_Tudor
15 Nov 2021   [#363]
using this script
moi.geometryDatabase.deselectAll();
var a = moi.command.lastCommandRevisionStart;
var b = moi.command.lastCommandRevisionEnd;
var objects = moi.geometryDatabase.getObjects();
for ( var i = 0; i < objects.length; ++i ) {
var obj = objects.item(i);
if ( obj.databaseRevision> a && obj.databaseRevision <= b ) obj.selected = true; }

akka: LastCreated Object/objects -> usefull to control arrays or booleans/new geometry/curves so on
& i have some troubles
1. If I'll move an object, scale, rotate - it will count as last object, not new one created(let's say I've created a circle before - and script will record last object as LastCreated)
2. after creation if i'll cancel next operation, it wount count as last created (ex: created circle, try to move, didn't like, cancel - Last created won't count any more, history gone)
good addition will be -> undo saves last created tree* -> after 10 creation & 6 undos, will selet '4th created
as i see this should be ~ history records on new created objects, correct me if it's not designed application

Show messages:  1-3  …  284-303  304-323  324-343  344-363  364-372