SED – quick inline editor

EDIT .. re your comment.. Here is a new script which doesn’t concern itself about (eg.) William Smith. It temporarily obfuscates patterns which it keeps as Smith (unchanged).

sed -r ‘s/\<(John) (Smith)\>/\1\x01x\2/g;
s/\/John/g; s/\x01x/ /g’

If you are concerned about Mr. Mr Mrs… then this works.

sed -r ‘s/\<(John|((M(r|rs|s))\.?)) (Smith)\>/\1\x01x\5/g
s/\/John/g; s/\x01x/ /g’

You can cater for William by adding his name to the or list, eg.
sed -r ‘s/\<(William|John|... This is the orginal script sed -r 's/(^|[[:punct:]] |\<[a-z]+ )(Smith\>)/\1John/’

Google Sketchup – The Quick Reference

If you install this plugin you can export the faces of a sketcup model into a vector drawing (SVG). The website is here. Shortcuts:

  • k = xray
  • space = select
  • s = scale
  • p = pull/extrude

Component:  easily selectible, only do this when you have it completely built Websites Availble for more information:

Extensions:

Printable:  Select, right click, and pick entity info.  if you don’t see under volume, then it is not a manifold model and should be printable. Component:  when you change one, it will change all copies of it unless you said make unique How to cut up a model for printing multiple times:

  • make model into a component
  • Create a box line all the way around the component model this will let you draw on the component but not modify the component
  • Create a mid point bounding box, then a box to cut the model in the center
  • intersect with selection, explode the component, the do views to only grab the sections of the model you want to capture
  • From there copy/paste away into the sections, fix them so they will print individually, then print

Things to research:

  • how to create a negative for an object (put a screw into a piece, and have it create the hole for the screw)