-
Notifications
You must be signed in to change notification settings - Fork 19
/
notes.html
443 lines (399 loc) · 21.1 KB
/
notes.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
<pre>
<a href="tree.php">file tree</a>
NOTES
bezier spline plugin (dogbones)
http://sketchucation.com/forums/viewtopic.php?t=13563
gives you
dogbones
'convert to polyline' which will make several lines into one line when SU didn't do it automatically
loop.convex returns true if the loop is convex
SU7 code C:\Program Files\Google\Google SketchUp 7\Tools\Phlatboyz
extension warehouse <a href="http://extensions.sketchup.com/">http://extensions.sketchup.com/</a>
current code <a href="http://www.phlatforum.com/viewtopic.php?f=98&t=2297&start=50">http://www.phlatforum.com/viewtopic.php?f=98&t=2297&start=50</a>
API docs <A href="http://www.sketchup.com/intl/en/developer/">http://www.sketchup.com/intl/en/developer/</a>
</pre>
List of things to fix/add for next release, in no particular order
<table border=1 cellspacing=0 cellpadding=2>
<tr><th>Done?</th><th>Description</th><th>Notes</th></tr>
<tr><td>✔</td><td>Plunge Hole Depth 'per hole'</td><td>Released 17 May 2013</td></tr>
<tr><td>✔</td><td>Plunge rate used for all plunge moves</td><td>Released 17 May 2013</td></tr>
<tr><td>✔</td><td>Multipass prevent retract</td><td>from Yoram, released 17 may</td></tr>
<tr><td>✔</td><td>Plunge: Spiral hole drilling</td><td>See <a href="holeat.phps">holeat.php</a></td></tr>
<tr><td>✔</td><td>Plunge hole marking to denote depth setting, or size setting</td><td> </td></tr>
<tr><td>✔</td><td>3D code metricated</td><td>Released 17 May 2013</td></tr>
<tr><td>✔</td><td>Optimize cut start points</td><td>Just gcodeutil.rb released 21 MAy 2013</td></tr>
<tr><td>✔</td><td>Integrate Kowk's group order tool</td><td>in TRUEPLUNGE 3.2</td></tr>
<tr><td>✔</td><td>Sketchup Make/2013 installer</td><td>23 Aug, TRUEPLUNGE 3.2</td></tr>
<tr><td>✔</td><td>Dog bones for tenon slots</td><td> </td></tr>
<tr><td>✔</td><td>Sketchup 2013, toolbar not showing</td><td> </td></tr>
<tr><td>✔</td><td>Feedout option</td><td>on phlatprinter, feed stock so cut area is out front of the machine</td></tr>
<tr><td>✔</td><td>POCKET: enable option to draw just outline or just zigzag</td><td> </td></tr>
<tr><td>✔</td><td>POCKET: convert pocket to a phlattool</td><td> </td></tr>
<tr><td>✔</td><td>Sketchup 2013, toolbar not showing</td><td> </td></tr>
<tr><td>✔</td><td>Parameter dialog sizing</td><td> </td></tr>
</table>
1.1 released
<table border=1 cellspacing=0 cellpadding=2>
<tr><th>Done?</th><th width=30%>Description</th><th>Notes</th><th>more notes</th></tr>
<tr><td>✔</td><td>Retract prevent :optional</td>
<td><ul>
<li>prevent all
<li>none
<li>on only for centerlines and pockets<br>done a bunch of this on centerline/fold/pocket cuts, not sure options are needed</br>
</ul>
</td><td>pretty much sorted so optional makes no sense. closed</td></tr>
<tr><td>✔</td><td>Feedout option</td><td>on phlatprinter, feed stock so cut area is out front of the machine</td><td>1.1c-beta</td></tr>
<tr><td>✔</td><td>Profiles save/load</td><td>tool for saving and loading sets of cut parameters</td><td>1.1c-beta</td></tr>
<tr><td>✔</td><td>centerline multipass fix?</td><td>Phlatboyz.rar into 1_1b</td><td> </td></tr>
<tr><td>✔</td><td>Option for Z-0 on top of material, or on table top</td><td> </td><td> </td></tr>
<tr><td>✔</td><td>POCKET: Pocket in X or Y direction</td><td> </td><td> </td></tr>
<tr><td>✔</td><td>MyConstants.rb editor menu</td><td> </td><td> </td></tr>
<tr>
<td>✔</td>
<td>Z zero on material OR on table</td>
<td><pre>Table zero: ZL = material thickness(MT)
cut = ZL - (cutfactor * MT)
safe = ZL+SH {- safe height is safe margin above material
Mat Zero : ZL = 0
cut = ZL - (cf * MT)
safe = ZL + SH {- safeheight is mt + some safety margin</pre>
</td>
</tr>
<tr>
<td>✔</td>
<td>Advanced setup</td>
<td>Encapsulate MyConstants.rb setup into a menu<br>
<ol><li>read MyConstants.rb
<li>menu
<li>write - preserving comments
<li>reload
</ol>
May need to convert constants to globals to get the reload to work without error messages<br>
Help - needs button to display profiles folder 'file://%APPDATA%/Sketchup' to aid users in sharing profiles.
</td>
</tr>
</table>
1.2a released
<table border=1 cellspacing=0 cellpadding=2>
<tr><td> </td><td>POCKET: </td><td>Concave Pocketing - mesh or Minimum Convex Decomposition</td><td><A href="http://www.anderswallin.net/cam/">http://www.anderswallin.net/cam/</a> <br><a href="http://www.phlatforum.com/viewtopic.php?f=100&t=3447&start=0">http://www.phlatforum.com/viewtopic.php?f=100&t=3447&start=0</a></td><td> </td></tr>
<tr><td>✔</td><td>POCKET: </td><td>Use inside cut tools offset routine instead</td><td> </td><td> </td></tr>
<tr><td> </td><td>Auto tab placement</td><td> </td><td> </td></tr>
<tr><td> </td><td>3D with bullnose bits, proper depthing stuff</td><td> </td><td> </td></tr>
<tr><td> </td><td>Auto tab width on bit size change</td><td>optional</td><td> </td></tr>
<tr><td> </td><td>Wire cutter</td><td>tick box for generating wire cutter code</td><td> </td></tr>
<tr><td> </td>
<TD>USER REQUEST</td>
<td>
I was using the centerline tool and the perimeter cut tool on 1/4in acrylic sheet today.
I use the centerline tool at variable depths such as 50% usually. With a 1/8in diameter
bit I am always nervous about breaking it ($35 a piece!) so I tend to slow the travel
speed down to about 20in/m universally so when I do the full cut through the 1/4 I don't
risk breaking the bit. But on the 50% cuts I could be running 50in plus. Right now the
only way is to go into the gcode and try to find it and make manual changes.
<p>I can't control spindle speed on my router, but I was wondering if it would be a big additional
change to have two variables when you select any tool that can have a % depth to also have an
entry for travel speed. </p>
<p>
Thoughts: could provide for feed speed scaling between a 'speed at 100% depth' to 'speed at <100% depth' where
speed at 100% will be less than speed at some <100% depth.
</p>
</td>
</tr>
<tr><td> </td>
<td>Plasma</td>
<td>Plasma cutter code can be auto switching, G01 will turn the gun on automatically in the controller.
Others need M codes for gun on/off. Thus need to allow for optional preG01 and pre G00 codes.
<pre>
no Z movement<br>
only centerline cuts, maybe plunge holes<br>
no optimization, or only closest end<br>
options for M codes before and after G01 sections</pre></td>
</tr>
<tr>
<td> </td>
<td>4th axis awareness</td>
<td>
<dl>
<dt>2 options
<dd>allow user to set a 4th axis angle before outputting Gcode, so need to use a drawing for each face and joiner the code
<dd>translate X to A, so cut will be done arund a cylinder. scale X safe area to 360 degrees
</dl>
</td>
<td>right hand rule for tool movement, ie A moving + moves the tool CCW around the workpiece</td>
</tr>
<tr>
<td> </td>
<td>Image to height map</td>
<td> </td>
</tr>
<tr>
<td> </td>
<td>drag knife corners</td>
<td> </td>
</tr>
<tr>
<td>✔</td>
<td>Tool change</td>
<td><dl>
<dd>GRBL will need to fake it, spindle stop, move to a position, pause, set tool offset, move back, start spindle, resume
<dd>LinuxCNC will obey M06 for manual or auto changes
<dd>Mach3 ? probably happy with M06
</dl>
</td>
</tr>
</table>
<h2>1_1_c-beta</h2>
<ul>
<li>Setup Profiles
<pre>
Menu items Tools|Phlatboyz|Save Profile
Tools|Phlatboyz|Load Profile
Buttons on Parameters webdialog
Saves and loads the following variables
spindlespeed
feedrate
plungerate
cutfactor
bitdiameter
tabwidth
tabdepth
safetravel
usemultipass
multipassdepth
gen3d
stepover
materialthickness (optional - see MyConstants-example.rb)
After a load, the comment parameter will read "Loaded profile NAME" where
NAME is the name of the profile.
Profile names must not have spaces or punctuation in them, but can be as long as 250 characters.
</pre>
<li>CW/CWW choices for plunge holes and pockets
<pre>
Set one or more of
Use_pocket_CW = false
Use_plunge_CW = false
to true to get CW cuts on pockets and plunge holes respectively.
Normally these will cut CCW to use climb-milling but if the machine
is not stiff enough CW will give a better finish. The overhead gantry setting
will not affect this.
</pre>
<li>Phlatprinter outfeed option
<pre>
Set
Use_outfeed = false
to true to use the outfeed feature. This is ONLY for Phlatprinters.
Normally a Phlatprinter will go to 'home' at the end of a job, which means that
the material is sticking out the back of the machine.
Setting this option to true causes the material to be fed forward out of the machine
to 75% of the material 'safe length'. This should make it easier to remove at the end
of a job.
</pre>
<li>Options Summary
<pre>
Menu Tools|Phlatboyz|Options Summary
Shows a dialog box with a list of options settable in MyConstants.rb,
and their current values.
</pre>
<li>Pocket zigzag direction
<pre>
Default setting in MyConstants.rb
Press END key to toggle after selecting tool.
CTRL and SHIFT still select inner and outer as usual
</pre>
<li>Phlatbones
<pre>
Tool diameter tool:
Correctly detects inch/metric mode and uses appropriate units
Adds 0.01" to bit diameter and rounds result to 3 digits
</pre>
<Li> Help updated
<li> Parameters tool 'restore defaults' bug fixed
</ul>
1.1d 7 Mar 2014
<dl>
<dt>Group summary
<dd>Tools|Phlatboyz|Groups Summary
<dd>Gives a listing of groups in the order they will be cut
<dt>Sketchup Make 2014
<dd>This uses Ruby 2 which has some API changes.
<dd>Parameterstool.rb fixed to use .each_line instead of .each for strings.
<dd>attributes.rb: changed $f to f to prevent Make2014 moaning.
<dt>Parameters dialog for Mac
<dd>Fixes to the html to make it work on Mac, so
'Use_compatible_dialogs = false' should now work on Mac
(thanks to Krzysztof)
<dt>Phlatboyz.strings language handler
<dd>Changes to the language handler so it works across all versions of Sketchup.
Note that any translations you find on the web are probably out of date by now.
Feel free to update the translations and forward them to the dev team.
</dl>
<h2>1.1e May 2014</h2>
<dl>
<dt>profile file format was changed to ini format, extension .pri, as a way to test the iniparser library
<dt>fix for parameters tool on mac
<dt>phlatBones preferences file moved to profiles folder, solves write permissions issue on Win7/8
<dt>Pocketcut: improved undo so entire pocket cut will undo in one operation
<dt>arcs, tried optimizing to IJ format but some offset arcs are unfixable, reverted to R format with extra digit of precision
<dt>3D - removed full depth plunge at start of last multipass pass that may remove extra material.
<dt>beta5 - added Z-Zero option to parameters dialog
</dl>
<h2>1.2a Dec 2014</h2>
<dl>
<dt>holes form groups to avoid intersecting existing geometry
<dd>will still be affected by horizontals that overlay the color line
<dd>large and partial depth holes have names giving the sizes chosen
<dt>3D code
<dd>bug found in multipass that prevented G1 being written at start of each layer
<dd>multipass continues output after lowest feature has been cut, find minz to prevent this.
you will see a comment at the end of the Gcode if it was able to terminate early
<dd>to generate accurate code you must specify the material as thicker than it really is
for example, if using 20mm material, set it to 21 and set Z zero using a 1mm spacer on the material.
This will ensure that the top is not marked by anomolies, but it does mean that the entire
top surface will be 'cut', which takes time.
<dd> always preview 3D code before cutting!
<dt>Gcode Joiner
<dd> tool to join several gcode files together into one file, stripping headers and footers as needed
<dt>use_End_Position and end_x end_y -
<dd>send the gantry to this position after the cuts. Limited by material size.
</dl>
<h2> 1.3 release 1 MAy 2015</h2>
<dl>
<dt>polygons were output as circle segments.
<dd>used to be output as circles unless exploded, now correctly detected and output as line segments.
<dt>ramping
<dd> options for ramping into cuts instead of plunging, ramp on/off, and limit angle
<dd> defaults on the Options|Features menu
<dd> options on the parameters dialog
<dt>default parameters
<dd> 'Restore defaults' button on parameters dialog was not metric aware
<dt>Gcode comment format
<dd>Options|Machine|Comment option, true outputs () format comments, false outputs ; format comments for GRBL
<dt>Set Vtab ramping
<dd>a tools menu item to use the current ramp settings to calculate Vtab size to conform to the angle limit.
<h2>1.3a released, hash 97c2 on 1 jun 2015</h2>
<dl>
<dt>lance pointed out an arc error, some arcs are output with the wrong G code making the segments curve the wrong way.
<dd>this is because of the g3 = reverse ? !.g3? : g3 lines in milledges.
looks like a problem in the cut_face() routinein CutTool.rb where it checks for the center being inside or outside the face.
I don't think this is a sufficient test to determine direction, but what else is there?
<dt>pockets
<dd>pocket zigzags do not always end in the right place, fix it by using fuzzy stepover similar to the hole boring
<dd>if stepover = 50% then fuzzy is not used
<dd> if stepover < 50% then stepover is rounded down
<dd> if stepover > 50% then stepover is rounded up
<dt>'use fuzzy stepover' option on Features menu
<dt>fix to phlatbones to prevent face missing errors
<dt>upcase all axis words and change G1 to G01. G0 cannot be set to G00 in aMill at this time, but all specific G0 are not G00.
</dl>
<h2>1.4</h2>
<dl>
<dt>make the path to the gplot program a string in options so it is preserved between versions
<dt>multiselect pockets
<dd>if multiple faces are selected when the pocket tool is selected, all the faces will be pocketed
<dd>all selected entities will be UNselected after this process
<dd>if only one thing is selected, nothing is done, process is ignored
<dd> make sure you have the correct pocket parameters before doing the multiselect!
<dt>holes in a grid
<dd>select the plunge hole tool
<dd>hold down ALT and select the point for the bottom left hole
<dd>you will be prompted for the spacing and number of holes
<dd>grid of holes is created
<dd>You can hold SHIFT at the same time and give a size for the gridded holes
<dt>Simple ABC axis commands
<dd>Use the rotate menu to set values for A, B an C axes, values will be output before all other motion, and zeroed after homing
<dt>CounterSink tool
<dd>extension of the plunge tool, does counter sinks at thetop of holes
<dd> grids and size selection as for plunge tool
<dd>depth is always overcut% - hopefully always deeper than the bottom of the countersink
<dt>CounterBore tool
<dd>extension of the plunge tool, does a counter bore on top of a hole
<dd>grids and size selection as for plunge tool
<dd>depth is always overcut%
<dd>ramping is forced ON for the counterbore to prevent the unnecessary center drill op.
<dt>fix phlatten tool
<dd>since Make 2014 phlatten has failed to actually phlatten due to not liking the order
used for deleting faces. faces now deleted seperately from edge collection
<dt>fold/centerline/pocket tool depth
<dd>can now be set to floating point number, eg 10.6 or 34.15 etc
<dt>inputbox error checking
<dd> all input boxes use exception rescuing to detect errors in number formats and 'retry'
<dt>removed SHIFT for inverting cut edge in outside/inside cut.
<dt>rapid approach to surface for plunge moves, similar to ramping
</dl>
<h2>1.4a</h2>
<dl>
<Dt>help updated
<dt>move use_reduced_safe_height to the hole feature options menu where it belongs
<dt>Centerline cuts: prevent retract when possible
<dd> If doing multipass cuts, centerline cuts that form loops do not need to retract between passes since start and end point are equal.
<dd> This applies to all cuts based on centerline cuts, centerline, fold, and pockets.
<dt>Fast approach:
<dd> Approach the surface using G00 to within 0.5mm, then switch to G01 to begin cutting.
<dd> This reduces cut time greatly when the safe height is relatively high, and to a lesser extent for normal safe heights.
<dd> (This was already implemented for ramping cuts, and has now been added to non-ramping cuts).
<dt> Very small arcs converted to lines
<dd> Arc segments with radius <= 0.010" can cause problems with some simulators and controllers. Convert them to line segments. Note that drawing such a small arc is almost impossible in Sketchup, but they can result from scaling a drawing, or from importing a scanned DXF file.
<dt>Chamfer wizard
<dd>Tool to set cutter diam and depth for a chamfer cut
<dd>Tools|Phlatboyz|Set Chamfer parameters
<dd>Note: set the cutline AFTER using this tool, and delete and redo it if you change parameters. Generate Gcode directly after creating cut line.
<dt>Joiner
<dd>adds default extension if not user supplied
<dt>formatting
<dd>remove trailing 0's in plunge holes to shorten lines
<dt>plunge holes
<dd>streamlined G00 moves when 'use reduced safe height' is true
<dd>added @gforce processing for spirals
<dt>laser control
<dd> basic M03/M05 control with PWM settings.
</dl>
<h3>Things to do for 1.4b</h3>
<ul>
<li>help - links to videos?
<li>Video for chamfers
<li>video for two sided cuts
</ul>
<h3>1.4b</h3>
<ul>
<li>fix for laser tabs
<li>fix for compatibility menu
<li>fix for backtacking
</ul>
<h3>1.4c</h3>
<ul>
<li>arcmoveij() now always used for arc outputs
<li>old files with arcs that have no center property will be rejected, they have to be recoded
<li>errant G0 move with no code removed from plungebore in Marlin mode.
<li>Marlin mode streamlined
<li>solve failure to find profile path on Mac? due to Mac changing version string
<li>remove @menuItem from phlatcut.rb and everywhere else
<li>update translation file {- still need to add a lot of strings
<li>Pocketing - new zigzag method for complicated faces
</ul>
<h3>1.5</h3>
<ul>
<li>✔ Gplot upgrades - Lazarus etc <b>DONE</b>
<li>✔ multipass in laser mode, always use set power, without scaling <b>DONE</b>
<li>✔ add faces to plunge holes?
<li>✔ toolchange tweak to prevent errors on multi %s strings <b>DONE</b>
<li>✔ prevent gplot opening if gcode cancelled <b>DONE</b>
<li>✔ bug fix, if user sets offset to the center of a hole, gcode was not generated correctly <b>DONE</b>
<li>✔ display SFM and feed per tooth on the parameters dialog
<li>✔ limit length of ramps to multiple of diameter, constant at top of PhlatMill.rb<br>
only for straight segments, arcs remain at arc length which is normally short anyway
<li>✔ optimize prograss bar so it updates the screen only when needed
<li>✔ fix joiner to handle new start and end formats as well as old files
<li>✔ improved spiral bore retracts
<li>✔ prevent G53 Z moves in laser mode
<li>✔ Remove 'use plunge/pocket CW' options and make those cuts follow the overheadgantry setting.
<li>✔ Implement a tool to send Gcode to OpenBuildsCONTROL, for Make2014 and up
<li>plasma code from 'monkey'?
<li>video on using GPlot
<li>video on tool changes
<li>absolute depths
<li>more howto videos - inc replace the pocketing one
<li>redo images for ramping help
</ul>
<hr>
$Id: notes.html 98 2014-02-14 13:53:20Z swarfer $
</pre>