Version 1.1, 9 December 2011 CAD Extras

COMMENTS

This plugin adds some commonly requested CAD functions to CamBam and provides a test bed for routines in development. Many of these routines should eventually make their way into the main program.

This plugin will need at least CamBam 0.9.8L (latest stable release) to work.

This plugin does not work and is not needed with the latest 0.9.8N release.

The CAD Extras functions are now part of the standard CamBam features; available using the following menu items:

  • Edit - Transform - Mirror
  • Edit - Fillet
  • Draw - More... (for Tagents, Spirals, Trochoidals and Ellipse)
  • Edit - Surface (Edge detect and project lines to surface)

Download

download CADExtras-1.1.zip (25 KB)

Installation

To install the plugin, unzip CADExtras.dll into the CamBam plugins folder.

If the installation is successful, you should see a new entry: CAD Extras in the CamBam plugins menu.

CAD Extra examples

Usage

CAD Extras currently contains the following routines:

Draw - Tangent

Draws a single line segment that 'snaps' to circles and polylines. A triangle icon is displayed at the tangent points and the end points should 'snap' to these.

Draw - Flat Spiral Draw

Draws a flat spiral polyline (spiralling inside to out). Prompts for stepover (distance between each loop), and the spiral direction.

This may be of use to people experimenting with fast machining methods by using the spiral as a toolpath with an engraving operation.

Draw - Spiral Path Draw

Another flattened spiral polyline, but this time with constant radius moving along a path (specified by first selecting a shape for the spiral to follow).

Again this may be of use for high speed machining experiments or decorative finishes.

Draw - Trochoidal Path Draw

Similar to 'Spiral Path Draw', but implemented as slightly overlapping trochoidal C segments.

Intended for high speed machining experiments.

Draw - Ellipse

Draws an ellipse within a bounding rectangle.

The ellipse is comprised of small line segments. To convert to arcs, use the Edit - Polyline - Arc Fit command.

Edit - Fillet

Insert arc fillets of a specified radius into selected shapes.

Currently, fillets will only be inserted between adjacent straight (line) segments.

To create a fillet between distinct line segments, they must first be joined to form a single polyline.

Transform - Mirror

Creates a mirror copy of all selected drawing objects about a mirror line. The mirror line is specified by selecting two points along the line.

Surface - Edge Detect

Will dump edge lines detected from selected 3D meshes.

These are triangle faces edges that have no neighbours, or the neighbouring face forms an angle.

Surface - Project Lines to Surface

Selected drawing shapes will be projected onto any selected surface objects.

The routine prompts for a Projection Resolution. This is the distance along each drawing line at which the Z height is tested.

If a point along the line is outside any surfaces, the minimum depth of all selected surfaces is used.

Revision History

Version 1.1

  • Moved some functions to new Draw, Edit and Transform sub menus.
  • Added Draw - Ellipse.
  • Added Draw - Trochoidal Path Draw.
  • Added Edit - Fillet.
  • Added Transform - Mirror.
  • Added Surface - Project Lines to Surface.
  • Draw - Tangent - now also snaps to draw objects
  • Draw - Tangent - improved fixed point to tangent drawing
  • Surface - Edge Detect - short segments now joined to polylines

Version 1.0

download CADExtras-1.0.zip (15 KB)

  • Initial Release

Comments

<< 1 >> 
#  Marc Hall 03/04/2013 15:53:07
Good morning,

Can CamBam do extrusions? Draw / Design in solids?

I have a wood router CNC that has been built and am looking for a cad cam program to run it.

Would like to create some special cabinet molding that has not been available in over 30 years. I have the cross section but would like to extrude it to about 36 inches and create a surface tool path to cut the form.

Would appreciate any help. CamBam looks simple to use and would like to buy a copy of it if it can do the work i need.

Regards,
Marc Hall
Reply Quote   12  
#  anon 13/10/2017 22:44:56
have you tried sketchup???? you can extrude almost any profile with the "follow me" tool
Reply Quote   11  
#  Jack in TN 29/04/2013 13:04:33
Marc, I suggest asking questions in the forums so you questions are seen faster.

I think CAMBAM can do what you are asking. Draw the outline on the 'flat' surface of x/z plane rather than the normal x/y, then pull it out as long as desired along the y axis.

I haven't tired it, but it should be fairly easy to do. If you have undercuts there might be an issue, but for non-undercut moldings, and you have a small enough tool to get the detail you are looking for, you should be good as gold.
Reply Quote   11  
#  Thomas SMith 02/07/2013 17:35:12
These tools seem to not like my version of CamBam for some reason - using windows 8 64bit, when I try the tangent tool, or the spiral tool, I get the following error (I can send the full stack trace if neccessary):

************** Exception Text **************
System.MissingMethodException: Method not found: 'CamBam.Geom.Matrix4x4F CamBam.UI.ICADView.get_ViewTransform()'.
at CADExtras.EllipseDrawEditMode.OnPaint(ICADView iv, Display3D d3d)
at CamBam.UI.CADView.RenderEditMode()
at CamBam.UI.Display3D_OpenTK_330.OnPaint(PaintEventArgs e)
at CamBam.UI.Display3D_OpenTK_330.hGgWJ1Chr(Object , PaintEventArgs )
at System.Windows.Forms.Control.OnPaint(PaintEventArgs e)
at OpenTK.GLControl.OnPaint(PaintEventArgs e)


Do I need to install some 3rd party library or something like that to get these tools working? My version info is:

CamBam plus [0.9] Rel 8N
Copyright © 2013 HexRay Ltd

CamBam.CAD : 0.9.4878.23990
CamBam : 0.9.4878.23992
Build Date : 5/10/2013 2:19:40 PM
Framework Version : 2.0.50727.6400

Thanks!

Tom
Reply Quote   11  
#  anon 09/07/2013 11:20:19
The CADExtras version 1.1 plugin is no longer needed in CamBam 0.9.8N.

All the CADExtras functionality is now incorporated into the standard CamBam features.

For example,

Mirror is now in Edit - Transform - Mirror.
There is also
Edit - Fillet
Draw - More... (for Tagents, Spirals, Trochoidals and Ellipse)
Edit - Surface - Edge detect and project lines to surface.
Reply Quote   12  
#  Piotr
07/12/2013 15:05:16
I have the same problem as Thomas SMith. When use Plugin->CAD Extras->Draw->Tangent, Flat spiral itp. CamBam crash.

Windows 7 Home Premium 64 bit

CamBam plus [0.9] Rel 8N
Copyright © 2013 HexRay Ltd
CamBam.CAD : 0.9.4878.23990
CamBam : 0.9.4878.23992
Build Date : 2013-05-10 14:19:40
Framework Version : 2.0.50727.5472

************** Tekst wyjątku **************
System.MissingMethodException: Nie odnaleziono metody: 'CamBam.Geom.Matrix4x4F CamBam.UI.ICADView.get_ViewTransform()'.
w CADExtras.TangentEditMode.OnPaint(ICADView iv, Display3D d3d)
w CamBam.UI.CADView.RenderEditMode()
w CamBam.UI.Display3D_OpenTK_330.OnPaint(PaintEventArgs e)
w CamBam.UI.Display3D_OpenTK_330.hGgWJ1Chr(Object , PaintEventArgs )
w System.Windows.Forms.Control.OnPaint(PaintEventArgs e)
w OpenTK.GLControl.OnPaint(PaintEventArgs e)
w System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer, Boolean disposeEventArgs)
w System.Windows.Forms.Control.WmPaint(Message& m)
w System.Windows.Forms.Control.WndProc(Message& m)
w System.Windows.Forms.ScrollableControl.WndProc(Message& m)
w System.Windows.Forms.ContainerControl.WndProc(Message& m)
w System.Windows.Forms.UserControl.WndProc(Message& m)
w System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
w System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
w System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Reply Quote   10  

name: Rate this article

url:
e-mail:
Name, url and e-mail are optional. E-mail addresses will NOT be displayed, but please provide one if you would like a reply.
If your comment or url is not displayed immediately, it may be awaiting approval.
The following BBCode formatting codes are supported : [b], [i], [u], [code], [quote], [list], [*]
Your comments...


Submit Comment