Smooth curve which comes from OBJ import
 1-20  21-30

Next
 From:  mdesign
9713.1 
This curve is an edge from my OBJ mesh. Is there any command to change it to NURBS curve without manually rebuild it?





  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:  corchet
9713.2 In reply to 9713.1 



use the script ' reconstruct curve '

enter the number of points

on the example from left to right

1 your curve ( need to join parts cause many splits ) zoom zoom zoom to see the holes between segments ;)

2 reconstruct curve 60 points

3 .... 50 points

4 ... 40 points

5 manually arcs three points

EDITED: 28 May 2020 by CORCHET

  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:  corchet
9713.3 In reply to 9713.2 
http://kyticka.webzdarma.cz/3d/moi/#ReconstructCurve

here you go

download unzip

place the 2 files .htm and .js in your Moi3d commands folder

relaunch Moi3d
  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:  corchet
9713.4 In reply to 9713.3 
import the obj in MoI

with scripts ImpObj and Subdiv

or in MoI 4 ... subD ... create ... from file ... locate your OBJ
  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
9713.5 In reply to 9713.1 
Hi mdesign,

re:
> This curve is an edge from my OBJ mesh. Is there any command to change it to NURBS curve without manually rebuild it?

Yes, the Rebuild command: http://moi3d.com/3.0/docs/moi_command_reference10.htm#rebuild

It has an "Endpoints" mode for making a curve through polyline data like that.

- 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
9713.6 In reply to 9713.1 
Like corchet writes above though, there are some gaps between line segments that are too large for it to be treated as a single polyline though.

If the data was good enough you would use Edit > Join to make it into a polyline, then Rebuild with "Endpoints" mode.

Also another problem with the data is the areas that should be smooth do not have enough refinement, there is about the same angle between different segments as there is for lines within a smooth segment.

With really rough sparse data like that with gaps between pieces there isn't really going to be an automatic process in MoI to handle that.

- 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:  corchet
9713.7 






trying another script " points on curve "

you can choose the distance between points ... here 2 examples with 2 and 3 mm

finally the hand drawn ( in yellow ) arcs and small filet give smoother results with various sweeps

EDITED: 28 May 2020 by CORCHET

  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:  mdesign
9713.8 
Thanks for your help. Sorry for gaps. It was my bad selection. I`ve uploaded my 3d model from which I took that edge.

I`ve attached image. Left is imported, right is manually created (points are in same places as vertex).
I`ve thought there is some way to convert that polylines to curve line to have points in place of vertices.

If I would convert edges to curves in that way then it should be easy to rebuild subd model in nurbs faster.
I don`t want to rebuild curve. I want to have my line points in place of my vertices. I would like to automate process a bit to not redraw every line from subd mesh.

EDITED: 8 Mar 2020 by MDESIGN

Attachments:

Image Attachments:
Size: 14.2 KB, Downloaded: 13 times, Dimensions: 425x515px
  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:  corchet
9713.9 In reply to 9713.8 
post the original wings in .obj format

the original obj seems to be build with quads

it could be converted with smooth curves ... maybe ;)
  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:  corchet
9713.10 In reply to 9713.9 



this ?

in ' Draw curve ' choose ' Trough points '

pick the points on your draw ... and all will be made with smooth lines

fantastic tool ! ;)

EDITED: 28 May 2020 by CORCHET

  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:  mdesign
9713.11 In reply to 9713.10 
That`s how I created this (right curve). I used that line tool manually but If I have 1000 lines like this to rebuild whole subd model then it will took ages and I may make mistakes often.

I`m asking about automatic way of doing this on 1000 curves. Next I would rebuild surfaces from those curves in MoI3d.

If 3dm file would be a text file then I could write python script to change that polyline curve to nurbs curve with same vertex->points position.
I know there is scriptingin MoI3d but I don`t know it :)
  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:  corchet
9713.12 In reply to 9713.10 


example with ' through point ' command ( in yellow )

pick points on your sketch or object and the curve is made ... right click to end

go to top view to be sure your curve is flat ... on an object ( if you draw in front view ) you can hasardously pick on points that are not in the same plan

use manipulator around your curve and move a corner ... you'll see the word ' Flat ' when all the points are in the same plan

( not sure my english is orthodox !!! ;)

EDITED: 28 May 2020 by CORCHET

  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:  corchet
9713.13 In reply to 9713.11 
ok you want ALL the lines to simulate feathers ...

? !!! , ,? .)

post the original obj .. to experiment Subd
  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:  mdesign
9713.14 In reply to 9713.12 
I don`t get it. Where is that command "through points"? There is no such a command in "commands" folder.
  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:  mdesign
9713.15 In reply to 9713.13 
Here you have 3 feathers in OBJ (made for subd presentation)

  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:  corchet
9713.16 In reply to 9713.13 


select your object and click 'Subdiv' command

looking for the links

EDITED: 28 May 2020 by CORCHET

  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:  corchet
9713.17 In reply to 9713.14 
Through points is in Draw curve - Free form
  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:  corchet
9713.18 In reply to 9713.17 
http://moi.maxsm.net/startpos/8

fantastic scripts of Max Smirnov !!

install all the pack 'Subdiv ' ... split scale bridge

and enjoy ;)
  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:  corchet
9713.19 In reply to 9713.18 
Subdiv_beta9
sBridge.v.0.71.2015.03.26
sScale.v.0.6.2015.03.28
sSplit.v.0.95.2015.08.10

unzip and all files in your MoI3d commands folder

you can also install if not Custom UI

http://moi3d.com/forum/index.php?webtag=MOI&msg=6507.1

a bunch of useful stuff and you'll see Subdiv and the others in the bottom bar of MoI
  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:  bemfarmer
9713.20 In reply to 9713.8 
The delCorners script, (of Max), may be helpful.

- Brian
  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-20  21-30