Python Forum
Could someone help me finish this ASAP
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Could someone help me finish this ASAP
#1
Hello Guys,

I'm hoping anyone can help an ignorant modeler. I haven't done much coding since I was in school, and I was trying to create a tool that would allow me to make Roof tiles for numerous buildings in my scene. The only ones I can find online were MEL based and was trying to create it myself... started building it.. and I'm lost in my functions, all I've really built is my window. Help anyone, in anyway. Guidance, or what you would do etc.


cmds.window(title='Roof Tile Creator',sizeable=False, resizeToFitChildren=True, backgroundColor=[0,0,0])

cmds.rowColumnLayout(numberOfColumns=1) #Master Layout


cmds.rowColumnLayout(numberOfColumns=1)#Layout A
cmds.text(width=100, height=20, label='Select GEO for Tile', backgroundColor=[0,255,0])

cmds.setParent('..')

cmds.rowColumnLayout(numberOfColumns=1)#Layout B
cmds.text(width=80, height=20, label='Rotate & Position the GEO on the Z axis',backgroundColor=[255,165,0])


cmds.rowColumnLayout(numberOfColumns=2, backgroundColor=[0,0,0])#Layout C
cmds.text(width=80, height=20, label='Row')
cmds.intSliderGrp(width=150, height=12.5, field=True,minValue=0, maxValue=999, value=1 )

cmds.setParent('..')

cmds.rowColumnLayout(numberOfColumns=2)#Layout D
cmds.text(width=80, height=20, label='Column')
cmds.intSliderGrp(width=150, height=12.5, field=True, minValue=0, maxValue=999, value=1)

cmds.setParent('..')

cmds.rowColumnLayout(numberOfColumns=2)#Layout E
cmds.text(width=80, height=20, label='Height Offset')
cmds.intSliderGrp(width=150, height=12.5, field=True, minValue=0, maxValue=4, value=1.5)

cmds.setParent('..')

cmds.rowColumnLayout(numberOfColumns=1)#Layout F
cmds.button(label='Create', width=80, height=15)

cmds.showWindow()
Reply


Messages In This Thread
Could someone help me finish this ASAP - by JimmyDricks - Dec-20-2021, 03:59 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  how to check if file path finish on .csv danlopek14q 4 11,201 Apr-04-2021, 09:50 AM
Last Post: danlopek14q
  Need help with this homework for a course ASAP...need solution for completion. SP04123 8 5,254 Jun-21-2020, 06:15 PM
Last Post: buran
  really need assistance with this assignment ASAP due tomorrow mohamedhadi02 8 3,773 Jun-21-2020, 09:16 AM
Last Post: mohamedhadi02
  Need help to finish the hat on the snowman in this Python drawing soowoosamuel 1 3,467 Apr-10-2019, 06:31 AM
Last Post: j.crater
  python homework help ASAP gk34332 1 3,060 Mar-13-2019, 07:27 PM
Last Post: ichabod801
  Temperature converter Help (ASAP) Edison_Weng 1 2,920 Apr-16-2018, 01:55 PM
Last Post: stranac
  Quiz Game Help (ASAP Please!) beginnercoder04 2 3,268 Apr-15-2018, 04:13 AM
Last Post: beginnercoder04
  Storm Hurricane Tracker (NEED HELP ASAP) zak1206 2 3,918 Nov-13-2017, 02:10 PM
Last Post: gruntfutuk
  Can Anyone Finish this off FeaRoNz 5 4,096 Mar-25-2017, 10:12 AM
Last Post: Larz60+

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020