MathMod incorrect obj export

 
Post new topic   Reply to topic    K3DSurf forum Forum Index -> Bugs
View previous topic :: View next topic  
Author Message
gymajor



Joined: 12 Jan 2015
Posts: 3
Location: Budapest

PostPosted: Thu Jan 15, 2015 12:53 pm    Post subject: MathMod incorrect obj export Reply with quote

Hi to all,

A generated parametric surface in MathMod 2.0 was imported into several programs such as BLENDER and MESHLAB.
An error was reported.

"Identical vertex indices found in the same faces -- faces ignored"

I checked the corresponding .obj file.
Most of the faces had this problem.

regards

Gyula
Back to top View user's profile Send private message
nextstep
Site Admin


Joined: 06 Jan 2007
Posts: 539

PostPosted: Fri Jan 16, 2015 12:07 am    Post subject: Reply with quote

Hi,
I can't reproduce with MathMod-2.2 and Meshlab/Blender.
Is it only your math model that you can't import or any one provided in MathMod ?
_________________
Cheers,
Abderrahman
Back to top View user's profile Send private message
gymajor



Joined: 12 Jan 2015
Posts: 3
Location: Budapest

PostPosted: Sun Jan 25, 2015 8:25 am    Post subject: obj export bug from mathmod Reply with quote

Hi,

It occurs with my own simple model. Please find below the .js file content
{
"MathModels": [
{
"Param3D": {
"Cnd": [
" "
],
"Component": [
"Palya1"
],
"Const": [
"R1=2.0",
"R2=3.0",
"alfa= 0.8"
],
"Fx": [
"u*sin(v)"
],
"Fy": [
"u*cos(v)"
],
"Fz": [
"max(0,(u-R1)*sin(alfa))"
],
"Name": [
"Palya1"
],
"Umax": [
"3"
],
"Umin": [
"1"
],
"Vmax": [
"2*pi"
],
"Vmin": [
"0"
]
}
}
]
}
Back to top View user's profile Send private message
nextstep
Site Admin


Joined: 06 Jan 2007
Posts: 539

PostPosted: Sun Jan 25, 2015 2:42 pm    Post subject: Reply with quote

Hi,
Yes you're right and not only your model but all parametric surfaces...This bug affects all 2.x versions. I'll check it. Meanwhile, you can use the previous versions 1.0-RC6 (this version, however, doesn't support constants definitions) :
https://sourceforge.net/projects/mathmod/files/MathMod-1.0/Release%20Candidate/RC6/
_________________
Cheers,
Abderrahman
Back to top View user's profile Send private message
gymajor



Joined: 12 Jan 2015
Posts: 3
Location: Budapest

PostPosted: Thu Jan 29, 2015 2:07 pm    Post subject: Reply with quote

Hi Abderrahman,

Thank you. MathMod 1.6 is exporting correctly.

regards

Gyula
Back to top View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    K3DSurf forum Forum Index -> Bugs All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


2005 Powered by phpBB © 2001, 2005 phpBB Group


Start Your Own Video Sharing Site

Free Web Hosting | Free Forum Hosting | FlashWebHost.com | Image Hosting | Photo Gallery | FreeMarriage.com

Powered by PhpBBweb.com, setup your forum now!
For Support, visit Forums.BizHat.com