Lots of unkown
 1-13  14-33  34-53  54-73  …  354-372

Previous
Next
 From:  ganim3d
8665.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

EDITED: 26 Nov 2017 by GANIM3D

  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:  ganim3d
8665.15 In reply to 8665.13 
the idea was to combine under a group to keep always u'r preview clean
  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
8665.16 In reply to 8665.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
  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
8665.17 In reply to 8665.15 
There are also some related edge/face hide or show scripts here:
http://kyticka.webzdarma.cz/3d/moi/#ShadedDisplayMode

- 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:  ganim3d
8665.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:

  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)
8665.19 In reply to 8665.18 
Genious!
---
Pilou
Is beautiful that please without concept!
My 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:  Cemortan_Tudor
8665.20 
i'm teaching from passed written scripts, couldn't find any info about
calculateCurveOrientation(ObjectList - curveList) return LIST

EDITED: 1 Dec 2017 by CEMORTAN_TUDOR

  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
8665.21 In reply to 8665.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
  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:  Cemortan_Tudor
8665.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:

  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:  Cemortan_Tudor
8665.23 
another script, same as in zbrush
quick snap 3d view to side/top/bottom other angles, if co-working with Iso view - perfect tool for 4 cutting
i'd wish this script in main moi!

there's a glitch .. while i was testing it so often, setting up upDownAngle, leftRightAngle, tiltAngle i still can see 1 extra frame of script execution... here Michael if will have time could help

EDITED: 9 Dec 2017 by CEMORTAN_TUDOR

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:  Michael Gibson
8665.24 In reply to 8665.23 
Hi Cemortan, I think there's a bug somewhere in setting tilt angles where you may need to set it twice in a row to get it to the full position, you might try setting it twice in your script and see if that helps for now.

- 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:  Cemortan_Tudor
8665.25 In reply to 8665.24 
nope, didn't work
as much i don't feel that my computer is slow & it's not handling operations ! as far as i notice JS is doing on the fly, can't control timer or delay of execution.
not too important afterwall
  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:  Cemortan_Tudor
8665.26 
Michael Hi !
It was mentioned before about loop, why not to grab from SpaceClaim the loop
alla(https://youtu.be/-oJ5Xypordo?t=1m47s)
if 1 edge is selected {
check if it's line/curve type ! check for closest surfaces
__if line
_____pick a point from edge of adjustment surface, make a frame from it with first 2 points, check the surface points if are alligned to the frame -> make selection
__if curves
_____can be 1'st, end point and any arbitrary from curve point -> frame & again checks -> make selection
}
// bassicly we are are checking if adjustment surfaces are flat, if not break )) manual selection!
if 2 edges are selected - run the scrit that u've done !

They are Limitations JS and this can be done only in CORE(i'll write about those later)
thanks !

EDITED: 17 Dec 2017 by CEMORTAN_TUDOR

  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:  Cemortan_Tudor
8665.27 
I consider them as BUGS !
1. do the same in moi
https://youtu.be/-QDjJ67b3kA?t=2m35s
2. can make a video if it's needed
draw a rectangle, show points ON
click on a curve and start dragging
my intention is to change the hight/skew of rectangle, instead i obtain weird solutions :)
  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
8665.28 In reply to 8665.27 
Hi Cemortan, if you have points turned on and you drag on the main curve when it is not selected, it will use a drag mode used for adjusting control points to make the curve move through the point you are dragging, like this:



That method adjusts several control points in one action.

If you want to move the entire curve instead of adjusting control points while still having points on, you can do that by selecting the entire curve before dragging it, like this:



- 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:  mkdm
8665.29 In reply to 8665.28 
Hello Michael!

@You "...if you have points turned on and you drag on the main curve when it is not selected, it will use a drag mode used for adjusting control points to make the curve move through the point you are dragging"

Thanks a lot for the tip. Very useful.

I didn't know this behaviour!

Ciao!

- Marco (mkdm)
  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:  r2d3
8665.30 In reply to 8665.29 
Indeed... Moi is a never ending box of surprises...

BTW Marco, whats the meaning of this nice wine's name? Or are you also in the wine business? ;-)




Ralf:)
looking for moments of inspiration...
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:  mkdm
8665.31 In reply to 8665.30 
Hello Ralf!

LOL :)


Well..."Primitivo di Manduria" is a famous Italian DOP wine from the region "Puglia",
and "Moi", its name, means "Now", "Right now", "immediately".


https://en.wikipedia.org/wiki/Manduria#Primitivo_di_Manduria

http://www.cornalidivino.it/en/112/167/shop/varvaglione-moi-primitivo-di-manduria-dop


Ciao!

Marco (mkdm)
  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:  Cemortan_Tudor
8665.32 
moi.ild converted to Javascript for intellisense/dictionary
most of description was token from http://moi.maxsm.net/api/
VsCode
Sublime

upcoming geometryFactory
Attachments:

Image Attachments:
Size: 10.1 KB, Downloaded: 127 times, Dimensions: 740x147px
Size: 176.4 KB, Downloaded: 173 times, Dimensions: 902x943px
  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:  mkdm
8665.33 In reply to 8665.32 
WOW!!!

Amazing job Cemortan_Tudor !!

Very interesting.
Could be a great foundation to speed up script coding.

Keep on!

Ciao.

- Marco (mkdm)
  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-13  14-33  34-53  54-73  74-93  …  354-372