Automatic Sketch Horizontal/Vertical Relations (Line Entities)

修改於: 十一月 10,2025  
評價
下載: 6  
評論

規格

下載:6
描述:This macro analyzes the angle of each selected sketch line in a SolidWorks part document and automatically applies either a horizontal or vertical sketch relation. If a line's angle is close to 0 or π radians, a horizontal relation is added. If the angle is close to π/2 or 3π/2 radians, a vertical relation is added. Non-linear sketch entities are ignored. This helps enforce orthogonality in sketches for cleaner geometry and easier downstream modeling.
    前置條件: Select sketch entities
  後置條件: All lines will be horizontal/vertical based on how close they already are to that. Rounds roughly by 45° (similar to bold relations)
SOLIDWORKS 版本: Any
程式設計語言: SW_VBA

 


巨集可能包含病毒或其他安全性的威脅。SOLIDWORKS Corporation 尚未確認張貼在此網站上的巨集是安全的,或巨集是來自於可信任的來源。

下載 SOLIDWORKS 巨集。

 

(需要登入)  

提供者
來自此使用者所提供的其他項目

零件 & 組合件

 

 

 

巨集
Abraham Azar III

成為使用者的時間: 2009/5/29
標題: Engineer
 
技能:
Design, Modeling, Illustration, Analysis
興趣:
Manufacturing, Research & Development, Experiments
 
  報告不適當的使用者
報告不適當的評論