Official Course 26 · GstarCAD Mechanical

Course 26: Stepped Shaft Generator (AMSHAFT), Rolling Bearings, Gears & Keyway Automation

Design complete power-transmission shaft assemblies in GstarCAD Mechanical 2027 using AMSHAFT2D, ISO/DIN standard rolling bearings, involute gear profiles, and parallel keyways.

1. Engineering Architecture & Core Methodology

Manually drafting a multi-stepped gearbox transmission shaft—complete with thread relief undercuts (`DIN 76`), grinding relief grooves (`DIN 509`), retaining ring circlip grooves (`DIN 471`), parallel feather keys (`ISO 2491` / `DIN 6885`), and paired angular-contact ball bearings—takes hours in basic 2D CAD. In GstarCAD Mechanical 2027, the parametric **Shaft Generator (`AMSHAFT2D`)** constructs both the longitudinal front view and associative left/right cross-section views in minutes while automatically routing centerlines (`AM_7`), hidden contours (`AM_3`), and hatches (`AM_8`).

2. Step-by-Step Production Workflow & Command Modules

Module 1: Building Stepped Cylinders, Cones & Wrench Flats in AMSHAFT2D

Launch AMSHAFT2D, specify the shaft centerline start point and rotation angle, and add sequential segments (`Cylinder`, `Cone`, `Polygon/Wrench Flat`, `Thread`). As you enter each diameter and length (`Ø45 x 60`, `Ø50k6 x 85`, `Ø40h7 x 50`), GstarCAD Mechanical automatically draws vertical shoulder lines and updates the centerline overhang.

Module 2: Inserting Undercuts (DIN 509), Circlip Grooves & Keyways (DIN 6885)

Select the **Sub-Features** tab inside the Shaft Generator to attach standard DIN/ISO/ANSI shaft shoulder undercuts (`Form E` for cylindrical grinding or `Form F` for planar+cylindrical grinding), shaft end chamfers, internal blind tapped center holes (`DIN 332`), and parallel/Woodruff keyseats that automatically filter valid cross-sections based on the host shaft diameter.

Module 3: Mounting Associative Rolling Bearings, Seals & Spur/Bevel Gears

Run AMSTDPLIB (Standard Parts Library) → `Bearings → Rolling Bearings`, pick the `Ø50` shaft journal, and select a deep-groove (`ISO 15` / `6210`) or tapered roller bearing (`30210`). GstarCAD Mechanical automatically locks the inner bore `d = 50 mm`, applies `AM2DHIDE` foreground occlusion over the shaft, and registers the bearing part number into the BOM database.

3. Command, Variable & Standard Reference Matrix

Command / Parameter Scope / Target Engineering Behavior & Best Practice
AMSHAFT2D Parametric Shaft Engine Generates stepped shafts, internal bores, threads, and cross-section views.
DIN 509 (Form E / F) Grinding Relief Undercut Prevents grinding wheel corner interference at stepped bearing shoulders.
DIN 6885 / ISO 2491 Parallel Keyway Seat Sizes key width (b) and depth (t1/t2) automatically from shaft diameter.
AM2DHIDE Automatic Shaft Occlusion Hides underlying shaft contour lines when bearings or gears are mounted.

4. Automation Script & Reference Implementation (Shaft & Bearing ISO Fit Reference LISP)

(defun C:SHAFTFIT_REF ()
  (princ "\n=== ISO 286 Rolling Bearing Shaft & Housing Fit Quick Guide ===")
  (princ "\n  Rotating Inner Ring (Normal Load) : Shaft k5 / m5  | Housing H7")
  (princ "\n  Rotating Inner Ring (Heavy Shock) : Shaft m6 / n6  | Housing J7")
  (princ "\n  Stationary Inner Ring (Sliding)   : Shaft g6 / h6  | Housing M7 / N7")
  (princ "\n  Keyway Normal Fit (DIN 6885-1)    : Shaft N9       | Hub JS9")
  (princ)
)

5. Production QA Verification & Competency Checklist

  • Always insert `DIN 509 Form E/F` grinding relief undercuts on bearing journals that require cylindrical grinding (`Ra <= 0.8 um`).
  • Generate associative cross-section cuts (`Section A-A`) directly from the `AMSHAFT2D` dialog so keyway depth dimensions remain linked to the main shaft.
  • Verify that mounted bearings and circlips appear automatically inside `AMPARTLIST` with accurate ISO/DIN designations.

Enterprise AC1032 Database Internals & Cross-Version Diagnostics

In multi-office engineering environments operating across GstarCAD 2027, GstarCAD Mechanical, GstarCAD Architecture, and legacy AutoCAD (2018–2027) seats, mastering Course 26: Stepped Shaft Generator (AMSHAFT), Rolling Bearings, Gears & Keyway Automation requires understanding how the underlying AC1032 DWG binary database serializes entity handles, symbol table records, and Named Object Dictionary (NOD) pointers.

1. DWG Header & Registry Persistence Scope

Variables and object properties fall into three persistence scopes: Drawing-Saved (DXF Header) variables that travel with the .dwg file to subcontractors, Registry-Saved (Profile .arg) settings that persist per Windows workstation user, and Session-Volatile states that reset on every launch unless locked inside acaddoc.lsp. Always verify persistence scope via SYSVDLG before issuing sheets to an ISO 19650 Common Data Environment (CDE).

2. Multi-Core Regeneration & Memory Hygiene

When processing large civil corridors, dense plant P&IDs, or 50-sheet architectural Xref trees, unpurged Registered Application IDs (REGAPP), orphaned DGN stroke dictionaries, and redundant annotation scales degrade spatial index (INDEXCTL = 3) lookup speed. Executing a pre-submittal AUDIT, command-line -PURGE → Regapps, and OVERKILL pass keeps file open times under 2 seconds on GstarCAD's multi-threaded graphics kernel.

3. Hybrid AutoCAD + GstarCAD Team Coexistence

Because GstarCAD reads and writes native AC1032 binary records without intermediate import/export translation, dynamic block grips, associative hatches, XData payloads (DXF groups 1000–1071), Paper Space viewport layer overrides (VPLAYER), and X.509 digital signatures round-trip losslessly between AutoCAD and GstarCAD seats on shared SMB/BIM cloud folders.

Production Field Verification Protocol (ISO 9001 / ISO 19650 Gate)

  1. Baseline Template Audit: Confirm that the active drawing inherits layer naming, linetype scales (PSLTSCALE = 1, MSLTSCALE = 1, LTSCALE = 1.0), and dimension styles from the enterprise .dwt / .dws standards file via CHECKSTANDARDS.
  2. Coordinate & Unit Integrity: Run -DWGUNITS or check INSUNITS, LUNITS, and MEASUREMENT to guarantee 1:1 metric (`mm`/`m`) or imperial (`in`/`ft`) block and Xref insertion scaling, with OSNAPZ = 1 preventing unintended 3D elevation drift.
  3. Submittal Packaging & Mobile Review: Lock all Paper Space viewports (`DisplayLocked = Yes`), bind or relative-path all external references via ETRANSMIT, and verify final plotted PDF/A lineweights (`ISO full bleed`) alongside DWG FastView mobile cloud markup links.

Related Engineering Guides, Courses & Troubleshooting FAQs

Continue building your CAD engineering mastery with these related GstarCAD Academy technical references:

Practice This Workflow in GstarCAD 2027 Professional

Engineered by Suzhou Gstarsoft Co., Ltd. (SSE: 688657), GstarCAD 2027 delivers 100% native AC1032 DWG compatibility, perpetual licensing, and zero-day AutoCAD parity.

Download Free 30-Day Evaluation → All Official Courses Take Skill Certification Quiz