+
+
+
New in V1.4d (Jan 2017)
+
+
+
+ Help updates
+ added MAC help section
+ arcmoveij() is INCREMENTAL mode.
+ the 'incremental' form of IJ is used so make sure you set your controller to incremental mode by issuing G91.1
+ you can add this code to the G-code via the Options menu
+ an option to output G91.1 as part of the Gcode header has been added to the Feature Options menu.
+ Solve failure to find profile path on Mac (for real this time)
+ Sketchup on MAC still has the old .openpanel bug that prevents the use of wildcards. Mac platform is now detected and wildcards avoided.
+ Note that the file select dialog allows selection of a flder, but the profiles folder will always be used no matter what you select.
+
+
+
+
New in V1.4c (Dec 2016)
@@ -144,6 +164,7 @@ New in V1.4c (Dec 2016)
added 3D section
arcmoveij() now always used for arc outputs
this improves arc accuracy and keeps Marlin happy
+ the 'incremental' form of IJ is used so make sure you set your controller to incremental mode by issuing G91.1
Old files with arcs that have no center property will be rejected, they have to be recoded
Early versions did not store the arc centers and they are needed for arcmoveij()
Errant G0 move with no code removed from plungebore in Marlin mode.
diff --git a/Plugins/Phlatboyz/html/howto_options.html b/Plugins/Phlatboyz/html/howto_options.html
index d16b460..d794802 100644
--- a/Plugins/Phlatboyz/html/howto_options.html
+++ b/Plugins/Phlatboyz/html/howto_options.html
@@ -219,7 +219,15 @@
very noticeable but anything over 200 starts to generate large radii so
that the momentum of the machine can be maintained.
Turn this off for GRBL and related controllers.
-
+
+ Use_Incremental_IJ (G91.1)
+ Set this to true to put a G91.1 in th eG-code header.
+ G91.1 sets the G2/G3 arc commands to incremental mode. Some controllers default to absolute mode but since our G-code uses incremental mode,
+ we have to change the controller mode to incremental mode by giving a G91.1 command.
+ Note that this is modal, your controller should remember it once you have set it so you probably do not need it in every G-code file.
+ You know you need this command if your controller displays very large circles instead of sort arc segments for curved sections of your drawing.
+ G-plot cannot display a file that contains this code. (yet)
+
Always_show_safearea
Set this to true, if you want the safe area to always show, when parameters are saved.
Otherwise the safe area will only show, if it's size has been changed.
diff --git a/Plugins/Phlatboyz/html/images/options-feature.png b/Plugins/Phlatboyz/html/images/options-feature.png
index e656fe0..7260c76 100644
Binary files a/Plugins/Phlatboyz/html/images/options-feature.png and b/Plugins/Phlatboyz/html/images/options-feature.png differ
diff --git a/Plugins/Phlatboyz/html/machelp.html b/Plugins/Phlatboyz/html/machelp.html
new file mode 100644
index 0000000..706aae0
--- /dev/null
+++ b/Plugins/Phlatboyz/html/machelp.html
@@ -0,0 +1,39 @@
+
+
+
+SketchUcam: HOWTO use Ramping
+
+
+
+
+
+
+
+
+
+
Phlatboyz SketchUcam(PhlatScripT)
+
+ SketchUcam Version 1.4d Jan 2017
+
+
+
+
+
Back to help index
+
Help for MAC users
+
+
Special keys:
+
Some Mac keyboards do not have the HOME and END keys (and ALT may not be labelled).
+
There are alternate combinations that simulate those keys:
+
+ HOME = "FN-LEFT ARROW"
+ END = "FN-RIGHT ARROW"
+ ALT = OPTION
+
+
Sometimes you may have to hit the FN-LEFT twice before the dialog comes up.
+
Thanks to OpenBuilds user andycbrklyn for help with this.
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Plugins/Phlatboyz/tools/HelpTool.rb b/Plugins/Phlatboyz/tools/HelpTool.rb
index f3124f9..e3ecf59 100644
--- a/Plugins/Phlatboyz/tools/HelpTool.rb
+++ b/Plugins/Phlatboyz/tools/HelpTool.rb
@@ -34,6 +34,7 @@ def select
" Use_compatible_dialogs = #{$phoptions.use_compatible_dialogs?}\n" +
" Use_vtab_speed_limit = #{$phoptions.use_vtab_speed_limit?}\n" +
" Use_exact_path = #{$phoptions.use_exact_path?}\n" +
+ " Use_incremental_ij = #{$phoptions.use_incremental_ij?}\n" +
" Always_show_safearea = #{$phoptions.always_show_safearea?}\n" +
" Use_reduced_safe_height = #{$phoptions.use_reduced_safe_height?}\n" +
" Use_pocket_CW = #{$phoptions.use_pocket_cw?}\n" +
diff --git a/Plugins/Phlatboyz/tools/PhOptions.rb b/Plugins/Phlatboyz/tools/PhOptions.rb
index f2455fb..b812800 100644
--- a/Plugins/Phlatboyz/tools/PhOptions.rb
+++ b/Plugins/Phlatboyz/tools/PhOptions.rb
@@ -60,6 +60,7 @@ def initialize(phoptions)
#features
@use_vtab_speed_limit = (phoptions.use_vtab_speed_limit? ? '1' : '0')
@use_exact_path = (phoptions.use_exact_path? ? '1' : '0')
+ @use_incremental_ij = (phoptions.use_incremental_ij? ? '1' : '0')
@always_show_safearea = (phoptions.always_show_safearea? ? '1' : '0')
@use_pocket_cw = (phoptions.use_pocket_cw? ? '1' : '0')
@use_plunge_cw = (phoptions.use_plunge_cw? ? '1' : '0')
@@ -130,6 +131,7 @@ def initialize
#features
@use_vtab_speed_limit = Use_vtab_speed_limit
@use_exact_path = Use_exact_path
+ @use_incremental_ij = false
@always_show_safearea = Always_show_safearea
@use_reduced_safe_height = Use_reduced_safe_height
@use_pocket_cw = Use_pocket_CW
@@ -261,6 +263,11 @@ def initialize
value = getvalue(optin['use_exact_path']) if (optin.has_key?('use_exact_path'))
@use_exact_path = value > 0 ? true : false if (value != -1)
+ # Use_incremental_ij = false
+ value = -1
+ value = getvalue(optin['use_incremental_ij']) if (optin.has_key?('use_incremental_ij'))
+ @use_incremental_ij = value > 0 ? true : false if (value != -1)
+
# Always_show_safearea = true
value = -1
value = getvalue(optin['always_show_safearea']) if (optin.has_key?('always_show_safearea'))
@@ -662,6 +669,14 @@ def use_exact_path=(newval)
@use_exact_path = newval
end
+ def use_incremental_ij?
+ @use_incremental_ij
+ end
+ def use_incremental_ij=(newval)
+ @use_incremental_ij = newval
+ end
+
+
def always_show_safearea?
@always_show_safearea
end
@@ -1182,6 +1197,7 @@ def select
# prompts
prompts=[
'Use_exact_path (G61) ',
+ 'Use_Incremental_IJ (G91.1)',
'Always_show_safearea ',
'Use_pocket_CW ',
'Use_plunge_CW ',
@@ -1200,6 +1216,7 @@ def select
];
defaults=[
@options.use_exact_path?.inspect(),
+ @options.use_incremental_ij?.inspect(),
@options.always_show_safearea?.inspect(),
@options.use_pocket_cw?.inspect(),
@options.use_plunge_cw?.inspect(),
@@ -1225,6 +1242,7 @@ def select
'true|false',
'true|false',
'true|false',
+ 'true|false',
'',
'true|false',
'',
@@ -1242,27 +1260,28 @@ def select
end # input is nil if user cancelled
if (input)
@options.use_exact_path = (input[0] == 'true')
- @options.always_show_safearea = (input[1] == 'true')
- @options.use_pocket_cw = (input[2] == 'true')
- @options.use_plunge_cw = (input[3] == 'true')
- @options.use_outfeed = (input[4] == 'true')
- @options.use_vtab_speed_limit = (input[5] == 'true')
- @options.profile_save_material_thickness = (input[6] == 'true')
- @options.use_home_height = (input[7] == 'true')
- @options.default_home_height = input[8] # length
-
- @options.use_end_position = (input[9] == 'true')
+ @options.use_incremental_ij = (input[1] == 'true')
+ @options.always_show_safearea = (input[2] == 'true')
+ @options.use_pocket_cw = (input[3] == 'true')
+ @options.use_plunge_cw = (input[4] == 'true')
+ @options.use_outfeed = (input[5] == 'true')
+ @options.use_vtab_speed_limit = (input[6] == 'true')
+ @options.profile_save_material_thickness = (input[7] == 'true')
+ @options.use_home_height = (input[8] == 'true')
+ @options.default_home_height = input[9] # length
+
+ @options.use_end_position = (input[10] == 'true')
if (@options.use_outfeed?) # only one of them
@options.use_end_position = false
end
- @options.end_x = input[10] #length
- @options.end_y = input[11] #length
+ @options.end_x = input[11] #length
+ @options.end_y = input[12] #length
- @options.use_fuzzy_pockets = (input[12] == 'true')
+ @options.use_fuzzy_pockets = (input[13] == 'true')
- @options.ramp_angle = input[13] #float
- @options.must_ramp = (input[14] == 'true')
- @options.gforce = (input[15] == 'true')
+ @options.ramp_angle = input[14] #float
+ @options.must_ramp = (input[15] == 'true')
+ @options.gforce = (input[16] == 'true')
#puts "saving must_ramp = #{@options.must_ramp?}"
@options.save