MoI discussion forum
MoI discussion forum

Full Version: Lots of unkown

Show messages:  1-2  3-22  23-42  43-62  63-82  …  363-372

From: Cemortan_Tudor
4 Nov 2017   [#3] In reply to [#2]
> 1.? make surface from a close path - i don't find a method that can make surface from a close path,
> not planar, lets say circular project on a sphere !

For a circle projected on a sphere you would use it to trim the sphere giving you the surface. And actually projection is built into the Trim command so you would probably skip the projection and just trim the sphere directly with the original circle as the cutting object.

*** atached 1.close_closed_surface
top one trimmed, both sided trimmed
bottom, projected - extruded - no cap !

> 2. skip

> 3.? align on surface from orto views - is it possible ?
> - cplane applied ?

Do you mean you want to relocate an object from an ortho view to be aligned to a curved surface normal? The Transform > Orient command can do that job, see here: http://moi3d.com/forum/index.php?webtag=MOI&msg=3977.2

*** aling surface same as on link but in orto views(top/left/right)
snap on surface on orto views


> 4.? rotate on 3d view - found it's mostly impossible to rotate any object from 3d view, have
> to cplane, and adjust afterwards from ortos
> ! zbursh the same rotation axis -> for reference

MoI is a CAD program and isn't as focused on rotating stuff just by an eyeballed amount in the 3D view - in the ortho view you can use the edit frame rotation grip to quickly rotate an object. In the 3D view if you want to rotate around a particular line you can use the Transform > Rotate > Axis command, which lets you pick 2 points for a specific rotation axis line.

!!! Thanks !!!
*** new mechanic for me

> 5.? align/snap second point for rotation in 3d view surface/slide on edge,point
> ! custom aling to camera view

Sorry I think I'd need to see what you're trying to do for this one.


*** immage atached

> 6.? momentarily turn off snapping for object snap/straight snap same as alt do for

You can hold down Alt to temporarily turn off object snap or straight snap. Move the mouse around while Alt is still held down to move it freely without snapping.


*** as far i was searching for hotkey just for that !
if i need to work just with straight lines, turn off others and oposite

> 7.? add single point - couldn't find the script for it - wanna use it for snapping lines to it, or others
> spapping options, found it somewhere, can't find it now

It's under Draw curve > More > Point.

!! Thanks !!!

> 8.? visual effect of edges
> - smaller than 1, i've tried to modify from moi.ini, no results ! other posibilites ? if i have tons of detail to make it thinner !
> - & another option will be to clip some closests edges if too much detail,

You can't go smaller than 1 pixel but there is an option you can set in moi.ini to make the antialiasing to be tighter, giving a slimmer appearance, see here:
http://moi3d.com/forum/index.php?webtag=MOI&msg=5961.2

*** using thin antialiasing too, thinner ! or clipping, seems it isnt

> 9.? realtime outline diffrent color selected open surfaces - xsi have such function, i think other

Sorry no there's no function for that currently - in general I've tried to avoid putting too many special indicator colors on the screen because it can often be confusing.

it might be and option ))) in menu )))

> 11.? local move/rotate/scale
> - oriented bounty box of extremes

*** atachment 11.local_axis
X- red - the longest extremes
Y- blue -medium extremes
Z- green - shortest extreme
local cplane if possible,
// why not common cplane - hard to find those extremes
// why -> flexibility to view pushing operations(extrude), offline, control depth
// if needed i will bring examples where i use it & where i found it usefull
I realise that axis wont be for roate/scale, cplane will work fine !

> 12.? scale 2d- zbrush like, in moi can be different
> move tool either scale tool -> holding "a button" from 1'st point to second snap (ps: in zbrush is move tool)

There is a command for doing 2D scaling under Transform > Scale > Scale2D . You can also do it by holding down the Shift key while you are dragging a corner of the 2D edit frame'.

*** I'm looking towards optimising some of tools under one tool !'

> 15.? paste small objects with auto-align surface
!! Thanks !!!

> 16.? 3 edges to close surface

*** atachment 16.3_edges_closed
atachment 16.3_edges_closed_02

> 25.? drawing curves in 3d view

You can draw curves in the 3D view, you just click the mouse there, you'll need to either snap on to an existing surface or set the cplane how you need it to control where the points are going though.'

*** i was testing with freeform sketch - it doest have any form of snapping, at least 1'st point' :)

> 33.? camera doll ! 3d/orto

Need more information on this one.

*** if screen is x&y to roate camera under Z
// can be done from cplane, sometimes easier to rotate just camera


> 37.? copy/paste without options, bounding box
> //i'm doing from hotkeys: copy/paste & it appears a bounting box

I'd need to see it to understand what you mean by this.

*** dublicate object at same location ! i'm doing it from hotkey that will be (copy, paste) afterwards it asking for for targeting point - that i want to avoid ! lets say that i wanna make a dublicate just for rotation or just for scale - no need to ask me orientation to make a move tool after !
// or if it's an option to make just 1 dublicate of object

> 38.? overlap hide - i'm a xsi user, and there's a grouping option that can overlap the
> current state of the object ! what for overlapping !
> * lets say i have a complex model, after blocking i wanna start working on details, split
> model, and hide others, overlap others as Hide, while "Unhide All" objets overlap wont
> allow me to unhide the rest ! therefore i can work just on part that i want without needs
> to copy-paste to second moi window the model/object itself !

Sounds like you want the "Isolate" function of Edit > Hide, it's available by a right-click on the Hide button and it is covered in the help file:
http://moi3d.com/3.0/docs/moi_command_reference4.htm#hide

*** example: i have a toy factory that can produce 3 toys ! cats, dogs and rabbits ! I need to model 3 models ! i'm boxing or sketching outlines of all 3 ! wanna work just on dog, overlap cat and rabit with hide & start working on dog ! wanna do close detail on tail - isolate selection just for tail, unhide all, to see entire model how it looks, other detail - isolate just a part , do all the magic, unhide all ! to see all 3 togher toogle overlapping
*** another example: i have a car, exterior is modeled, i want to make interior, or mechanical parts:
hide with overlap outside box, or things that i think that i dont need to see, focus on some small parts with isolate, unhide all - to have an entire look of entire part(interior/or mechanical).
// that's my workflow with bigger projects, ofc there are alternatives that i've seen like naming objets and hide same naming, or by stylling, all those are good alternatives for better workflow !

> 40.? iso curve modes change from keyboard

It might be possible to do with a script on a keyboard shortcut, which command are you referring to though?

*** there only 2/ might be toogle U/V

> 42.? convert faces to outline edges

Do you mean generate silhouettes? There is a command for that under Construct > Curve > Silhou .

*** convert current face to outline or border edge that's surrounding

thanks for your time !

Attachments:
1.close_closed_surface.3dm
11.local_axis.3dm
16.3_edges_closed.3dm
16.3_edges_closed_02.3dm
34_shell.3dm

Image Attachments:
1.jpg  34.jpg  5.jpg 


From: Michael Gibson
4 Nov 2017   [#4] In reply to [#3]
Hi Cemortan, you've asked so many questions and have the discussion so mixed up there, it's pretty difficult for me to follow along on everything. I'll try to answer the questions that I understand the best and if you need more information on something I've missed then go ahead and ask for more information on that again.

So for creating a surface in this spot here:


It is awkward to attempt to build a completely new surface through a non-planar closed curve like that, unlike a plane there isn't just one single surface shape that would happen to fit to that edge. So you don't want to try and do that at all, you've already got the surface you need so you want to use that.

The way you use what you've already got is to use the Edit > Trim command to cut your main surface with the projected circles. In the final stage of the trim command where it asks you which pieces to discard, just right-click or push Done without selecting anything, that will leave all the pieces behind. Now you have 3 small pieces and you can extrude those surfaces instead of extruding the curve. The Extrude command also accepts a surface as the object to extrude, it doesn't have to take only curves. When you extrude a surface, it will be able to be capped even if its non-planar because the cap is just a copy of the original surface, it doesn't have to make up a completely new surface there. When you extrude only curves a completely new surface needs to be created for the cap and that will only happen if it's planar.

When you extrude a surface, the result will be a solid and if you want to join it back to the main surface you'll need to delete its bottom face so there are unattached edges which can be joined back to the original. Or another way which may be easier might be to join the fragments together so you have a solid again but with divided up faces and then select the face sub-object and extrude that. When you extrude a face from a solid the extrusion is automatically booleaned to the solid so it cleans up the internal face for you that way.



re:
> *** aling surface same as on link but in orto views(top/left/right)
> snap on surface on orto views

Ok, I think I understand now, you don't like it that the "on surface" snap is not enabled by default in ortho views. The reason for this is that the "on surface" snap can easily cover the entire ortho screen with snap areas making it harder to place points directly on the cplane anymore. So by default ortho views only snap to more prominent snaps like end, mid, etc... this puts more weight to 2D behavior when you're drawing in the ortho view. Additionally when you are drawing a curve in an ortho view, any snaps you do after the first one will be projected onto a plane going through the first point so you will get a 2D result when drawing in the 2D view even if you have snapped on to points at different levels. When you're picking points in the 3D view all these restrictions are lifted and you can place points freely, like if you snap to opposite corners of a box in the 3D view it will give you a diagonal line in 3D while if you do it in an ortho view it will be a flat line.

Hope that helps explain the reasons for this behavior. You can adjust it if you want, forcing the projection of snaps after the first one to the same plane is controlled by Options > Object snap options > "Project to plane in ortho views", and enabling OnSrf snap in ortho views is set in moi.ini, see here: http://moi3d.com/forum/index.php?webtag=MOI&msg=2267.2

But you should be aware that messing with these settings can make it more difficult to get predictable 2D drawing behavior when working in the ortho views.


re:
> *** dublicate object at same location ! i'm doing it from hotkey that will be (copy, paste)
> afterwards it asking for for targeting point - that i want to avoid ! lets say that i wanna make
> a dublicate just for rotation or just for scale - no need to ask me orientation to make a move
> tool after ! or if it's an option to make just 1 dublicate of object

The regular copy and paste commands do not ask you for any targeting point, they just immediately duplicate the object like you want, with the duplicate selected.

There are some additional copy and paste commands that do ask you for targeting information, you'll need to set these up on different shortcut keys and if you don't want the targeting one use the regular one and if you do want it use the other one.



> *** example: i have a toy factory that can produce 3 toys ! cats, dogs and rabbits ! I need to model
> 3 models ! i'm boxing or sketching outlines of all 3 ! wanna work just on dog, overlap cat and rabit with
> hide & start working on dog ! wanna do close detail on tail - isolate selection just for tail, unhide all, to see
> entire model how it looks, other detail - isolate just a part , do all the magic, unhide all ! to see all 3 togher toogle overlapping

You would want to use the Scene Browser to do that kind of hiding and showing: http://moi3d.com/3.0/docs/moi_command_reference11.htm#scenebrowser

You would assign a different name or style to each of the cat, dog, and rabbit and then in the scene browse if you want to show only the objects named Cat you can do that with one single right click on the eye icon for that name or style. When you right-click in the scene browser it does isolate, when you left click it toggles just that one thing.

Then later on if you want to show everything you can right-click on that eye icon again or you can also use the regular Edit > Hide command to show all objects as well.

If you want to temporarily work on just one object and hide everything else but don't want to worry about setting up a name or style assignment for it, that's when you can use the Isolate function on the Edit > Hide button instead of the scene browser.


re: toggle UV direction shortcut - I tried this but it looks like it's not possible right now because the state changing code currently only engages when it's picked with the mouse. That's something that I'll have to tune up in v4.

That's all the time I have at the moment to answer questions, if you have more maybe you can prioritize your top 4 and post just those since it is difficult for me to handle such a long list all at once.

- Michael

Image Attachments:
cemortan1.jpg 


From: r2d3
4 Nov 2017   [#5] In reply to [#3]
Hi Cemortan_Tudor,

if you ask SO MANY QUESTIONS which are very difficult to understand and to answer Michael will have NO MORE TIME TO FINISH V4.
The most questions will find a answer if you study the forum and if you play around yourself with fantastic MOI!
Only my 3 cent... ;-)

Ralf
From: Cemortan_Tudor
12 Nov 2017   [#6]
Small improvement workflow, deselects obects after point pressing hotkey
showpoints script

#include "GetObjects.js"

function DoShowPoints()
{
var AnyChange = moi.geometryDatabase.showPoints();

if ( !AnyChange )
{
moi.ui.beginUIUpdate();
moi.ui.showUI( 'ShowPointsBody' );
moi.ui.endUIUpdate();

var objectpicker = moi.ui.createObjectPicker();
if ( !GetObjects( objectpicker ) )
return;

moi.geometryDatabase.showPoints();
//moi.geometryDatabase.deselectAll();
}
}

DoShowPoints();
moi.geometryDatabase.deselectAll();
From: Cemortan_Tudor
13 Nov 2017   [#7]
16.? 3 edges to close surface
*** the way i'm doing know is selecting 2 -> loft, others 2 - network, and last one network ! lots of operations !

there was a video of car modeling, where he was trying to refine corners of modified fillet area (fillet intersection)
i will script it


31.? are any options for sliders/buttons on 3d viewport
initialisation menu for selection option, in moi can be applied as for creating objects, or bringing stuff from obj library - well script depended
https://vimeo.com/36732689
https://modelab.github.io/react-radial/
From: Michael Gibson
13 Nov 2017   [#8] In reply to [#7]
Hi Cemortan,

re:
> there was a video of car modeling, where he was trying to refine corners of
> modified fillet area (fillet intersection)
> i will script it

If you could post a 3DM file with what you're trying to do that would probably help me understand your question better.


> 31.? are any options for sliders/buttons on 3d viewport
> initialisation menu for selection option, in moi can be applied as for creating objects,
> or bringing stuff from obj library - well script depended

There isn't any option currently for a pie type menu. In general I've tried to avoid popping things right up in your face like that but it is somethng that I'd like to experiment with in the future.

- Michael
From: Cemortan_Tudor
16 Nov 2017   [#9]
thanks for your time
here's video, i wanna try myself, i have large list of implementation that i wanna do :) starting teaching scripting.
https://youtu.be/xr6WBeHbzK0?t=12m43s

clone selected objects

#include "GetObjects.js"
function cloneObj() {

var gd = moi.geometryDatabase;
var gds = gd.getSelectedObjects();
gd.deselectAll();
for ( var i = 0; i < gds.length; ++i ){
var newclone = gds.item(i).clone();
gd.addObject(newclone);
newclone.selected = true;
}
}
cloneObj();

Message 8665.10 was deleted


From: Cemortan_Tudor
21 Nov 2017   [#11]
mirrorX script of selected

Attachments:
_MirrorX.js


From: ganim3d
26 Nov 2017   [#12]
small script that makes model too look more toonish, it's hidding selected edges and puts under an object, for overall look!
I like this function !

here a grouping option will be nice to have, if no objects are selected to hide "hidden edges'.
cant do with objects(edges are part of object, not object itself) &
styles - that i preffer to remain the same.

Attachments:
_HideSelectedEdges.js


From: Unknown user
26 Nov 2017   [#13] In reply to [#12]
Hi gamin3d.

There is such a tool.

Vladimir
From: ganim3d
26 Nov 2017   [#14]
!scripting
can i detect point position of betweens of a curve ?
ex:
3 points curve, detect middle one(second) pt.x, pt.y. pt.z; (control point)
5 pt curve - 2,3 & 4'th pt pos

found only getEndPt, getStartpt
From: ganim3d
26 Nov 2017   [#15] In reply to [#13]
the idea was to combine under a group to keep always u'r preview clean
From: Michael Gibson
26 Nov 2017   [#16] In reply to [#14]
Hi ganim3d,

> can i detect point position of betweens of a curve ?
> ex:
> 3 points curve, detect middle one(second) pt.x, pt.y. pt.z; (control point)
> 5 pt curve - 2,3 & 4'th pt pos
>
> found only getEndPt, getStartpt

Sorry no right now the control point structure of curves aren't exposed to scripts, just the start and end points. I want to add that in for v4 though.


> the idea was to combine under a group to keep always u'r preview clean

You can assign object names or styles to face or edge sub-objects in MoI. When you give them a name an entry will show up for them in the Objects section of the scene browser so you can then toggle the visibility there.

- Michael
From: Michael Gibson
26 Nov 2017   [#17] In reply to [#15]
There are also some related edge/face hide or show scripts here:
http://kyticka.webzdarma.cz/3d/moi/#ShadedDisplayMode

- Michael
From: ganim3d
30 Nov 2017   [#18]
i like the idea from 3d coat, one click cutoff https://youtu.be/gp1TPRdeYnk?t=4m6s &
i've made a script that's focusing on cutting from 3d view

Attachments:
_PolyCut.js


From: Frenchy Pilou (PILOU)
1 Dec 2017   [#19] In reply to [#18]
Genious!

From: Cemortan_Tudor
1 Dec 2017   [#20]
i'm teaching from passed written scripts, couldn't find any info about
calculateCurveOrientation(ObjectList - curveList) return LIST
From: Michael Gibson
1 Dec 2017   [#21] In reply to [#20]
Hi Cemortan, some commands like Loft keep track of whether the curves used for building the surface needed to be flipped or have their "seam" start/end point (for closed curves) to be modified from the curve's own natural direction and seam point in order to avoid making a twisted surface. This information is stored in a factory input so that if the curves are edited and a history recalculation is done it will use the same orientations and seam points from the original loft (which may be customized by the user by clicking on a closed curve or dragging a point) rather than trying to make new ones.

Usually this is done automatically by the loft factory but the function you are asking about will build the orientation list manually, the list will have one CurveOrientation object per curve passed in, the curve orientation object (IMoiCurveOrientation in the moi.idl file) has "flipped" and "seam" properties on it.

- Michael
From: Cemortan_Tudor
9 Dec 2017   [#22]
I've made a script that extends tangecy by 2 units (for those who are using pipe, to extend current line by some extra units)
I'm bad at moi html and a binding ui will be later updated !

Attachments:
_extendTangency.js


Show messages:  1-2  3-22  23-42  43-62  63-82  …  363-372