MoI discussion forum
MoI discussion forum

Full Version: V4 beta Oct-17-2018 available now - SubD to NURBS conversion

Show messages:  1-5  6-25  26-45  46-65  66-85  86-105  106-125  …  246-264

Thread Split: Some posts in this thread have been moved here

From: Michael Gibson
19 Oct 2018   [#46] In reply to [#45]
Hi Metin, yeah so those pins were not meant to be have sub-d smoothing on them, right?

I'm not really sure how feasible it would be to try and detect that automatically - for this converter you would want to leave those out of the .obj file and not try to bring them in with the body.

The tearing I think is a bug in MoI's handling of faces that are pretty small, not actually in the conversion part. If you scale those up by say 100 times in size before bringing them in you might see them go away. It can happen in other places in MoI too, it's just more noticeable in the converter since it can generate little tiny faces more than other things you usually do in MoI. I'm still working on tracking down this tiny face mangling bug, it crept in sometime after MoI v3.

- Michael
From: Michael Gibson
19 Oct 2018   [#47] In reply to [#45]
Also I'm hoping to get the converter to have a progress bar and a cancel button too.

- Michael
From: Metin (METIN_SEVEN)
19 Oct 2018   [#48]
Hi Michael,

Sounds good. Good luck hunting those darn bugs.

I tried a little more complex, but completely manifold, subdivision-ready OBJ file, and it becomes a joined surface after importing in MoI using the new Sud-D function.

I've attached the OBJ file. If you select and delete the main part of the result, some separate edges remain.

Regards,

Metin

Attachments:
test.obj


From: Frenchy Pilou (PILOU)
19 Oct 2018   [#49]
<< Also if you want to set up a shortcut key for the SubD to NURBS converter use ImportSubD for the command name. And if you want to run it in a script you can use moi.geometryDatabase.fileImportSubD( 'filename' );


and the very practical
Press TAB then write ImportSUBD or importsubD or ImPorTSubD or anything you want but without space! ;)


the ZBrush dog


and here a model 30 000 polys (Zbrush)
By Félix Barc


From: ycarry
19 Oct 2018   [#50]
Thanks Michael!

Image Attachments:
suzanne.png 


From: Michael Gibson
19 Oct 2018   [#51] In reply to [#48]
Hi Metin,

re:
> I tried a little more complex, but completely manifold, subdivision-ready OBJ file, and it becomes
> a joined surface after importing in MoI using the new Sud-D function.

That's the same "very small faces getting mangled" problem that I was talking about earlier. For now if you have an object that's only about 1 unit across it will run into some problems, scale objects like that up by say 100 times before you do the import.

I've attached the result of scaling your object up by 100 times and this version should now have all joined edges when you import it.



- Michael

Attachments:
test2_obj.zip

Image Attachments:
metin_scaled_subd.jpg 


From: Metin (METIN_SEVEN)
19 Oct 2018   [#52] In reply to [#51]
Hi Michael,

You're right, the upscaled OBJ file becomes a solid after import. I can use that as a workaround until it's fixed.

Thanks,

Metin
From: Frenchy Pilou (PILOU)
19 Oct 2018   [#53]
on the biggest 3D French Portal! ;)
http://www.3dvf.com/actualite-24610-moi3d-une-nouvelle-beta-future-version-4.html
From: Finema
19 Oct 2018   [#54] In reply to [#53]
Thanks Michael for this great feature !
From: pafurijaz
19 Oct 2018   [#55] In reply to [#1]
I do not know how to comment on this new SubD-in Nurbs .. excellent you are the best ..
Maybe when you have time it would be useful to be able to determine in the models imported before conversion which edges should be creased. a bit like it works with FreeShip. here is an old example below. this would allow you to create surfaces with sharp edges like a cube or something..
The ship is converted with edges creased and has a nice sharped nurbs surfaces..

Here the link to sources of Freeship..
https://github.com/markmal/freeship-plus-in-lazarus/releases

Image Attachments:
FreeShip_nurbs_moi3d.png  Schermata del 2018-09-20 10-16-27.png 


From: pafurijaz
19 Oct 2018   [#56]
And here a file generated with FreeShip from SubD with sharp edges.



From: PaQ
19 Oct 2018   [#57]
Talking about crease, Modo CC crease + mesh freeze works pretty well ! (but it's not sharp crease off course)



From: moujiik
19 Oct 2018   [#58]
Hi, the new SubD is realy good at modeling cushions. My workflow is modeling in Moi3D, export a sketchup, export obj from sketchup,
and SubD in Moi3D. When i export obj from Moi3D, SubD is not working as expected, whatever kind of obj export. Why that?
Moujiik

Attachments:
Test SubD.3dm

Image Attachments:
Test SUbD.jpg 


From: Michael Gibson
19 Oct 2018   [#59] In reply to [#58]
Hi Moujiik, when you export from MoI you should set the option for "Weld vertices along edges" in the expanded dialog options.

- Michael
From: moujiik
19 Oct 2018   [#60] In reply to [#59]
Thank you, the result is just perfect. I was wondering why we don't have the alternative to directely apply SubD to the model,
then i thought it's probably better to ajust some parameters of the obj file? Anyway that's a great tool. Genius!

Image Attachments:
Test SUbD2.jpg 


From: Michael Gibson
20 Oct 2018   [#61] In reply to [#60]
Hi Moujik, you're welcome I'm glad that worked!

re:
> I was wondering why we don't have the alternative to directely apply SubD to the model

I do want to add that and some other creation methods in the future, the .obj import converter is the first step.

- Michael
From: mkdm
20 Oct 2018   [#62] In reply to [#61]
Hello Michael.

@You : "...I do want to add that and some other creation methods in the future, the .obj import converter is the first step..."

PERFECT!!

Thanks @Moujik :)

I wanted to ask Michael just about these features.
From: amur (STEFAN)
21 Oct 2018   [#63]
Hi Michael,

i converted my Blobby Cube (with 94156 quads from ZRemesher) to a solid and when i scale the cube from
100x100x100 mm to 200x200x200 mm and then unselect the cube and reselect the cube i have a small scale
discrepancy in the readout menu.

It says now in "Size" 200x199,99x199,99 mm and in the "Edit Size" 200x200x200 mm.

I am wondering now what readout is the correct value? As i figured out this happens also in MoI v3.1.

glitch
image hosting

Best regards
Stefan

P.S. In case you need the model, let me know and i send it to you.
From: amur (STEFAN)
21 Oct 2018   [#64]
Hi Michael,

to be sure i run the test again. I exported from Shade3D my Blobby Cube
with the size 100,00x100,00x100,00 mm.

When importing the cube into MoI for subd NURBS conversion i get the
following values, after the conversion:

Size: 99,98x99,98x99,98 mm.

Edit Size:

x: 99,9838
y: 99,9812
z: 99,9794

When doing the subd to NURBS conversion with ViaCAD and then
importing the .sat file into MoI i get the following values:

Size: 100,00x100,00x100,00 mm

Edit Size:

x: 100,0009
y: 100,0007
z: 100,0021

Now comes the part which puzzles me most... I can in MoI of course
uncheck the "Maintain" value and then set the model in x,y,z to 100,0000.

When doing so with the internal MoI model, the values stay, after de-selecting
and moving in the view port and then re-selecting, but when doing so with the
ViaCAD model the values don't stay the same and change every time to a different
value, when repeating this procedure! :-(

I wonder what causes this in MoI, with my ViaCAD model???

I will also mail you the .obj and .sat file from ViaCAD, so you can take
a look.

Best regards
Stefan
From: amur (STEFAN)
21 Oct 2018   [#65]
O.k: and one more test with Fusion360 and T-Splines.

However i must admit that i did not checked for proper scale settings,
like mm or cm so...

Size: 999,83x999,77x999,78

Edit Size:

x: 999,8378
y: 999,7943
z: 999,8120

Now when doing the same procedure with setting x,y,z to 100,0000
the model size stays the same.

P.S. for those who use macOS Fusion360 needs an OS upgrade by
January 2019, according to an alert, when i logged in to Fusion360.

So this was it then for me with Fusion360 usage, because my old
iMac does not support Mojave and i don plan to buy me a new iMac
soon...

Regards
Stefan

Show messages:  1-5  6-25  26-45  46-65  66-85  86-105  106-125  …  246-264