Jump to content

matheusgcoppi

Member
  • Posts

    8
  • Joined

  • Last visited

Community Answers

  1. matheusgcoppi's post in How to use conditionals in printer.def.json was marked as the answer   
    I solved this question by trial and error and if someone is with the same question this is the solution. 1 is true and 0 is false so I did this 
    "prime_tower_position_y": { "value": "270 if prime_tower_enable >= 1 else 150" }, I was trying to use the True and False because when I print "prime_tower_enable" it give me back True and False and not 0 or 1. I know 0 and 1 is a way to represent True or False but I did not think on that.
×
×
  • Create New...