Search found 26 matches

by naninuneno
Thu May 03, 2012 10:09 am
Forum: Python
Topic: mhx (makeHuman) exporter script
Replies: 9
Views: 3654

mhx (makeHuman) exporter script

hallo everyone :) i have a mhx (makeHuman) object. I modified it and i want to export again as mhx (because someday i want to import again this '.mhx' object). But on my blender (2.62.3) there is no '.mhx' type for exporting. So, i searched and found a python script to export into '.mhx' for my blen...
by naninuneno
Wed May 02, 2012 10:32 am
Forum: Interface & Tools
Topic: save edge loop
Replies: 0
Views: 436

save edge loop

hallo everyone :) i have a question. so, i made an edge loop in an object. i saved it as a blender file. And then i deleted that object and try again to import it. What i got is my new edge loop that i made before is gone. and the question is, why? is there any way to 'save' that edge loop so next t...
by naninuneno
Thu Apr 26, 2012 2:25 pm
Forum: Interface & Tools
Topic: copy edge loop to another object
Replies: 0
Views: 653

copy edge loop to another object

Hallo everyone :)
i'm beginner in blender. I need help. I made a new edge loop in an object. And i have difference objects that i have to make an edge loop too. Is it possible to duplicate that edge loop to another object in the same position? or is there another way?
Thanks before for helping me!
by naninuneno
Wed Apr 25, 2012 2:23 pm
Forum: Python
Topic: edge length
Replies: 10
Views: 6171

wow, it works now! yeay! :D :D :D
and the one that i have to change is :
CoDEmanX wrote:i'd rather do something like:

Code: Select all

def length_of_selected_edges():
    ...
        
    bm = bmesh.from_edit_mesh(ob.data)
    
..
   l
Thank you so much! :)
by naninuneno
Wed Apr 25, 2012 12:34 pm
Forum: Python
Topic: edge length
Replies: 10
Views: 6171

no no..it still works like before. the first run is the length of an edge that was selected before by index..and the second run and so on will be the total length of edges. i added bm.select_flush(True) on my code. is there something wrong maybe on my code? what i want is actually i want to get tota...
by naninuneno
Wed Apr 25, 2012 9:59 am
Forum: Python
Topic: edge length
Replies: 10
Views: 6171

@stiv : edge.calc_length() for edge in bm.edges if edge.select it works :D unless, what should it look like? i'm really beginner in Python :( @CoDEmanx : i have already tried with flush in my code, i just added bm.select_flush(boolean) right? But it seems there is still a small mistake. assume, i ha...
by naninuneno
Tue Apr 24, 2012 5:00 pm
Forum: Python
Topic: edge length
Replies: 10
Views: 6171

soo..now i know the answer of my last question :D But,now i have another problem. And i have tried for couple hours to find the mistake but i didn't get it. please help me :( i have a method that will return a sum of lengths of an edge list. the method like this : def getCurrentLengthOf(name): obj_m...
by naninuneno
Tue Apr 24, 2012 9:48 am
Forum: Python
Topic: edge length
Replies: 10
Views: 6171

Thanks for answering! :) you're right,stiv. We can get the length of an edge with BMesh (Even though it's confusing at first :D ). And CoDEmanx, yesterday i found that addon Measure Panel. I tried it on my blender, as you said, it works just for a single edge. but now, i have another question :oops:...
by naninuneno
Mon Apr 23, 2012 11:07 am
Forum: Python
Topic: edge length
Replies: 10
Views: 6171

edge length

Hi hi hi :)
i have to calculate the perimeter of an edge loop. but, i don't get it, how can i get the length of an edge with python? i use blender 2.62.3
or maybe there is special method to get the perimeter of an object (or an edge loop)?
Thanks a lot for helping me! :)
by naninuneno
Thu Apr 19, 2012 10:22 am
Forum: Python
Topic: Dimensions x,y,z
Replies: 2
Views: 8064

Thank youuuuuu!! it works! :D :D
by naninuneno
Wed Apr 18, 2012 3:36 pm
Forum: Python
Topic: Dimensions x,y,z
Replies: 2
Views: 8064

Dimensions x,y,z

Haloo :)
i am beginner in Python. I really need help. T_T
How can i get the x,y and z dimensions in Blender with Python?
to scale an object, we can use bpy.ops.transform.resize(value=(x,y,z)).
is there also for dimensions?