Saving drawings as PDF is a common task in SolidWorks. Here we will create a macro and corresponding toolbar button to save an active SolidWorks drawing as a PDF for better productivity. This script saves the pdf to the current directory as the SolidWorks drawings and overwrites any pdf of
March 8, 2020
ANSYS Workbench and specifically the Mechanical application feature great meshing capabilities which can be used for OpenFoam simulations. Meshes created in Mechanical can be exported using the Fluent `.msh` format and imported into an OpenFoam case. In this post we will show how to translate a Workbench mesh of a
November 1, 2019
ANSYS ACT is the scripting API for various ANSYS products. It is available for Workbench, Mechanical, Fluent, and others. It uses Python 2 and in Mechanical it allows much of the standard click operations to be accessed programmatically.
September 7, 2019
There are many Python libraries available for working with PDF files. Here we will perform merging and watermarking operations with the Python library pdfrw. This package is bundled in the WinPython distribution.
It is assumed that your path has been set to find the correct Python interpreter such that pdfrw can be imported.
August 25, 2019
Some time ago (2016, actually), Microsoft released the Surface Studio accompanied by a great promo video. This product is an all-in-one computer featuring an adjustable display that maintains its position at any location set by the user. The hinge used with it - termed a "zero gravity" hinge - allows for this free positioning of the display and here we will attempt to analyze this type of design and determine how it works.
July 22, 2019
Fusion 360 has good support for parameters in CAD documents and the ability to drive designs using them. Here we will create a fully parametric design based on functional design parameters, using a table as an example.
May 6, 2019
Fusion 360 ships with integrated FEA for solving static, buckling, thermal, and modal problems, as well as others. As a first look into assessing its capability I will run a simple model in ANSYS and in Fusion 360 under the same loading conditions for comparison. The goal here is to analyze a part in a general manner and compare the calculated stress distributions and values rather than for a specific purpose or evaluation (e.g. fatigue).
May 2, 2019
Autodesk's Fusion 360 product is a unique CAD platform that I've been using for a few weeks. There are significant, fundamental differences compared to traditional CAD applications such as SolidWorks. After spending some time with it I will discuss some of my observations and comments on the product so far.
April 12, 2019
Oculus and Unity make it simple to get started with VR. Here we will connect a Unity scene to an Oculus Rift headset and touch controllers using the Oculus SDK. It is assumed that Unity3D and the Oculus desktop app are both installed. In this example I am using Unity
March 5, 2019
A vector is represented traditionally with respect to a coordinate system. More generally it is represented by a set of basis vectors - two vectors which are linearly independent and form a vector subspace. A vector is therefore a linear combination of these basis vectors. A vector can be represented in another coordinate system by changing its basis vectors.
February 15, 2019