Skip to content

Commit

Permalink
clean
Browse files Browse the repository at this point in the history
  • Loading branch information
devthejo committed Jan 30, 2018
1 parent cc7fbe7 commit 9371bdf
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 28 deletions.
14 changes: 0 additions & 14 deletions zome.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,6 @@ def self.generation func
def initialize func
eval("#{func}")
end
def seconds_2_dhms (secs) #from makefaces.rb 1.4 Smustard.com(tm) Ruby Script
seconds = secs % 60
time = secs.round
time /= 60
minutes = time % 60
time /= 60
hours = time % 24
days = time / 24
if (days > 0) then days = days.to_s<<" Day(s), " else days = " " end
if (hours > 0) then hours = hours.to_s<<" Hour(s), " else hours = " " end
if (minutes > 0) then minutes = minutes.to_s<< " Minute(s), " else minutes = " " end
seconds = seconds.to_s<< " Second(s)."
return (days<<hours<<minutes<<seconds).strip!
end
def start
$mo = Sketchup.active_model
Sketchup::set_status_text("Zome modelisation in progress...")
Expand Down
Binary file modified zome.rbz
Binary file not shown.
14 changes: 0 additions & 14 deletions zome_fr.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,6 @@ def self.generation func
def initialize func
eval("#{func}")
end
def seconds_2_dhms (secs) #from makefaces.rb 1.4 Smustard.com(tm) Ruby Script
seconds = secs % 60
time = secs.round
time /= 60
minutes = time % 60
time /= 60
hours = time % 24
days = time / 24
if (days > 0) then days = days.to_s<<" Jours(s), " else days = " " end
if (hours > 0) then hours = hours.to_s<<" Heures(s), " else hours = " " end
if (minutes > 0) then minutes = minutes.to_s<< " Minute(s), " else minutes = " " end
seconds = seconds.to_s<< " Seconde(s)."
return (days<<hours<<minutes<<seconds).strip!
end
def start
$mo = Sketchup.active_model
Sketchup::set_status_text("Modélisation du Zome en cours ...")
Expand Down
Binary file modified zome_fr.rbz
Binary file not shown.

0 comments on commit 9371bdf

Please sign in to comment.