Giter Site home page Giter Site logo

gittest's Introduction

Dogbone addin for fusion 360

Version 2.1.2

  • completed parametric Dogbones fix - 2.1.1 note has been corrected

Version 2.1.2

  • Fixed runtime error on parametric Dogbones - Note: dogbones will be created on corners that are not 90 degrees, but they will not be correct. Working to fix that though.

Version: 2.1

  • Added detection mode - now allows acute and obtuse angles to be generated
  • Changed internal mechanism to uniquely identify faces and edges
  • Simplified internal mechanism to identify which edges and faces have been selected/deselected
  • Updated dogbone generation mechanism - stopped using sketches as a basis. Now uses tempBrepManger - noticeably faster!

Next version should use F360's customFeatures - but at the moment, it's not ready for public consumption.

Version: 2.0

  • Windows users:

    • You can download a self extracting file here
  • Mac users:

    Note: RuntimeError: 2 : InternalValidationError : isExist

    A recent OS update has enforced case sensitive Folder and File names, and it has revealed an inconsistent capitalization of the folder named Resource. The easiest method of correcting the error is to change Resource to resource in the dogbone directory (generally found here: "/Users/<your username>/Library/Application Support/Autodesk/Autodesk Fusion 360/APl/Addlns/Dogbone")

    • If you installed F360 directly from AD - download self extracting file here

    • If you installed F360 from Apple App Store - download self extracting file here

    If you're having problems due to Apple Security, instead of clicking in the Downloads Dock icon Folder or Stack, click "Open in Finder" and then right-click the package and select "Open". You'll be able to install it then.

zip and tar files available (for both Mac and Windows) here


Description

Face selected and top face dogbones
dogbone_overview
Minimal dogbone Long side mortise dogbone Short side mortise dogbone
minimal overview longside mortise shortside mortise

This addin includes 3 dogbone styles (normal, minimal and mortise) and allows dogbones to be cut from either the topface or selected face. Both static and parametric options are available - however due to a number of bugs in F360, parametric will fail on mirrored components and some component copies. These bugs have been reported (see here), but as of writing AD has not addressed them.

The interface has been improved, and specifically allows any face orientation to be chosen on any component. The addin is based on the f360 primitive hole feature, and is as efficient as f360 single threaded engine allows. In Static mode it will create 70 dogbones in about 7 seconds. Parametric mode takes a little longer to calculate initially, but recalculation is very fast if you change your model parameters. Of course, speed also depends on the processing power of your computer.


Notes:

This version should work with all static dogbones. Parameterized dogbones mostly work, but there are definite issues with the Fusion360 API that may cause problems when trying to create dogbones. If that happens, you can create a logfile and post it here to let us know. If it turns out that it is a Fusion360 bug, please report it to Autodesk.


Dogbones has been completed revamped. Some of the original utilities have remained, as well as some original mathematical formulaes, but mostly everything else has changed.

The original add-in was based on creating sketches and extruding - Peter found using this approach to be very heavy on processing resources, so this version has been designed to create dogbones directly by using a hole tool.


This version should work with all static dogbones. Parameterized dogbones mostly work, but there are definite issues with the Fusion360 API that may cause problems when trying to create dogbones. If that happens, you can create a logfile and post it here to let us know. If it turns out that it is a Fusion360 bug, please report it to Autodesk.


WARNING: use at your own risk.

The code provided is provided "as is" and with all faults. We specifically disclaim any implied warranty of merchantability or fitness for a particular use. The operation of the code provided is not warranted to be uninterrupted or error free.


Installation

See How to install sample Add-Ins and Scripts

Instructions

Note that you can hover your cursor over any Dogbone dialog item and you will get an explanatory popup in Fusion360.

  1. Select the face(s) you want the dogbones to drop from. The add-in will only allow you to select appropriate and/or parallel faces for the body, once a primary face has been selected. The orientation of the primary face for unique components or bodies may be in any direction. FaceSelection
  2. All edges associated with the selected face will be automatically selected. You can select the "Dogbone Edges" selector in the Dogbone popup, and that will allow you to deselect or reselect only internal edges. Note that only internal edges belonging to a selected face can be selected or deselected. EdgeSelection
  3. Specify a tool diameter and a radial offset.
  4. Select the Mode - Static Dogbones or Parameterized Dogbones. Parameters are created for the second mode - dogbones will move with edge changes, and you can change diameter or offset from the normal "Change Parameters" dialog.
  5. Choose the type of dogbone - Normal, Minimal or Mortise. See http://fablab.ruc.dk/more-elegant-cnc-dogbones/ for a description of minimal dogbones. Mortise dogbones place the dogbones along the sides, so that they can be hidden by a connecting piece with a cut tenon. Minimal and Mortise dogbones have their own option lines become visible when selected. Note: In the minimal dogbone dialog, you can make the Percentage Reduction negative (eg -20), to inset the dogbone into the workpiece.
  6. Decide if you'd like dogbones to be cut to the top. (Useful if you have steps, but can't do two sided machining.) TopSelection1 TopSelection2
  7. You can expand Settings and specify if you'd like to see benchmark time or do any logging.
  8. Click ok.

The add-in will then create the specified dogbones. If you choose parameterized, the critical dimensions are maintained in the parameters - so you can change the dimensions as and when needed.

  • If you need dogbones in different orientations for the same body, you'll have to run the addin once for each direction.
  • The direction for egdes for a body is locked onve any face is selected. De-select all faces if you want to change edge selection direction.
  • Edges are selected down from a face. Generally, selecting a bottom face will not add any edges, but de-selecting one may remove some edges.

To do:

  1. Handle acute angles (<90 degrees) by generating a slot.
  2. Handle obtuse angles (>90 degrees)
  3. ... who knows

License

Samples are licensed under the terms of the MIT License. Please see the LICENSE file for full details.

Authors

Peter Ludikar (pludikar), Gary Singer (DVE2000), Casey Rogers (casycrogers)

gittest's People

Contributors

pludikar avatar caseycrogers avatar dve2000 avatar tapnair avatar tonfido avatar iceboundflame avatar threepe0 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.