Freecad Assembly4装配模型设计入门

一、基本信息

本文内容:学习Assembly4装配模型设计功能。

2024年3月7日

最新版Freecad 0.21.2

最新版 Assembly4 0.50.8  下载地址:stoneold/FreeCAD_Assembly4

最新版 Assembly4 示例教程 下载地址:FreeCAD_Examples: Freecad Assmbly4 的示例模型

This assembly workbench allows to assemble into a single assembly container other FreeCAD objects, and place them relative to the assembly and to each-other. The parts in the assembly can be in the same document as the assembly or in an external document. When parts are modified in their original document, they are instantly updated in the assembly.

Parts are placed relative to each-other by matching features inside them. Specifically, in Assembly4, these features are virtual objects called LCS (for Local Coordinate System, also called datum coordinate system) and are attached using FreeCAD's built-in Part::Attacher and ExpressionEngine. No geometry is used to place and constrain parts relative to each other, thus avoiding a lot of the topological naming problems.

An Assembly4 Assembly is a standard FreeCAD App::Part container, therefore it is compatible and can be manipulated with any FreeCAD tool handling App::Part objects. In particular, it can be inserted into another Assembly to create nested assemblies to any level. It can also contain solids, datum objects and sketches. A document can contain only 1 Assembly.

安装很简单:

下载后Assembly4,在freecad的Mod目录下,解压,重启Freecad即可。

Assembly4模块可实现多个几何体对象的装配功能。Assembly4装配功能的实现并不是借助于几何约束求解器,而是通过三维局部坐标系变换(也称作基准坐标系,Local Coordinate System, Datum Coordinate System)。

具体来说,Assembly4模块中使用一个App:Part类型的Model表示装配体,可以将多个几何体(App::Part、PartDesign::Body)以App::Link对象的形式添加到装配体Model中。在这过程中,可以通过Expression指定几何体与几何体、几何体与Model的局部坐标系变换关系。然后,Assembly4便可借助于Expresion Engine来完成这种局部坐标系变换,进而实现多个几何体的装配。

二、装配建模学习

参考资料:Assembly4 示例教程, Asm4_Tutorial2 (Freecad 0.19)

In this tutorial we'll assemble 3 parts inside a single FreeCAD document, and animate the movement using a master sketch:

  • the base is fixed and holds 2 axes

  • the disk rotates around one of the axes

  • the arm can wiggle around the base's other axis

  • the disk has a nipple that is prisoner in a slot in the arm

  • all 3 parts and the full assembly are in 1 single FreeCAD file

注意:由于Freecad和Assembly4插件已经升级,已经与教程有所差异。

效果如下:

需要此装配模型参考学习的,请加微信:23245175,备注:几何内核

 As usual in Assembly4, the assembly holds (App::Link) links to the (App::Part) parts, not the parts themselves, even though the parts are in the same document here. Thus, making assemblies with parts in the same document is identical to making assemblies with parts from external documents. Actually, it is possible to mix both methods at will.

The only difference is that, since a FreeCAD document can only contain one Assembly4 Model, only one level assemblies are possible if everything is in the same document. For large assemblies this is a severe limitation, therefore in order to make nested assemblies — assemblies of sub-assemblies and sub-sub-assemblies — it is mandatory to have several documents. See tutorial 1 for how to make assemblies from external parts.

三、装配框架

在Freecad选择Assembly4插件,创建一个Assembly。会生成Parts和Assembly两个目录。

创建三个Variable,后面零件设计和装配都要用到。

四、零件设计

Assembly4 示例教程, Asm4_Tutorial2 有详细的各个零件的尺寸标注,请用freecad打开asm_tuto2.FCStd文件,自行查找。

在Parts目录下,创建三个Part:base、disk、arm。

1、base零件

在base下创建三个body,分别创建Sketch。

选择Part Design插件,依次选定Sketch后,执行Pad操作。

2、disk零件

一个body,两个Sketch。

Pad操作

透明度设置

3、arm零件

草图设计

Pad操作

Chamfer

把所有edge都删除,然后选四个角上的竖边。

创建LCS_pivot

五、装配

1、创建Sketch_Master

2、创建LCS_disk、LCS_arm

注意:选点不好操作,可以手工输入:Sketch_master:Vertex1

 

3、Insert Part:base、disdk、arm

Inset Part操作

注意选择合适的LCS

base

disk

arm

六、装配动画

就能看到装配动画了。

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/news/728306.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

菜品上架与展示

菜品上架与展示 1、功能简介 1、实现菜品的上架 2、实现菜品的展示 2、代码展示 2.1 food类 package com.ham.pkg.ArryList;public class Food {private String name;private double price;private String desc;public Food(String name, double price, String desc) {this.…

CubeMX使用教程(3)——GPIO

在第二章我们完成了点灯仪式,这次我准备尝试把按键和灯结合起来,做一次GPIO的综合测试 实验任务为:按下按键1(B1),第1个灯(LD1)亮; 按下按键2(B2)…

Vue3.0 vue.js.devtools无法显示Pinia调试工具

之前的配置方式: app.use(createPinia()) app.mount(#app) 更新配置方式: app.use(createPinia()).mount("#app") 设置之后即可显示调试工具

25考研资料PDF汇总

资料V馊public号ZL研知己 V馊public号ZL研知己 25考研资料PDF汇总

PTA L2-015 互评成绩

学生互评作业的简单规则是这样定的:每个人的作业会被k个同学评审,得到k个成绩。系统需要去掉一个最高分和一个最低分,将剩下的分数取平均,就得到这个学生的最后成绩。本题就要求你编写这个互评系统的算分模块。 输入格式&#xf…

好物周刊#44:现代终端工具

https://github.com/cunyu1943 村雨遥的好物周刊,记录每周看到的有价值的信息,主要针对计算机领域,每周五发布。 一、项目 1. Github-Hosts 通过修改 Hosts 解决国内 Github 经常抽风访问不到,每日更新。 2. 餐饮点餐商城 针对…

unity Game视图看不到贴花,但是在Scene视图能看到

解决方法:找到URP的配置文件 ,修改Quality–RederScale为1,就可以了,这是unity 的bug,2022版本以后就没有这个问题了

阿珊带你深入理解 async/await 函数

🤍 前端开发工程师、技术日更博主、已过CET6 🍨 阿珊和她的猫_CSDN博客专家、23年度博客之星前端领域TOP1 🕠 牛客高级专题作者、打造专栏《前端面试必备》 、《2024面试高频手撕题》 🍚 蓝桥云课签约作者、上架课程《Vue.js 和 E…

Android Framework 通过脚本动态修改应用私有文件执行权限

你只活一次 要悦己 脚本配置 Android_source/device/sprd/***/test/test_chmod.rc service test_chmod /vendor/bin/test_chmod.shuser rootdisabledoneshoton property:sys.test_chmodtruestart test_chmodAndroid_source/device/sprd/***/test/test_chmod.sh #!/system/bin/…

Codeforces Round 932 (Div. 2)D. Exam in MAC 正难则反,容斥,对顺序求一些值

Problem - D - Codeforces 目录 题意: 思路: 总的对数: xyai: y-x ai: 两个都不符合: 参考代码: 题意: 给你一个n个数的集合a,和整数c 求0~c中有多少对x,y的组合可以使得xy与y-x都不出…

Mysql案例之GROUP_CONCAT函数详解

Hello,大家好,我是灰小猿,一个超会写bug的程序员! 今天这篇文章记录一个最近开发中遇到的mysql实战场景,觉得还挺典型的,就在此做一下记录。 先看一下举例场景: mysql中学生表与学科表通过关…

非线形优化 Matlab和Python (含01规划)

MATLAB:fmincon 在matlab中,一般使用fmincon来解决非线性优化问题 [x,fval,exitflag,output,lambda,grad,hessian]fmincon(fun,x0,A,b,Aeq,beq,lb,ub,nonlcon,options) 一般使用: [x,fval,exitflag]fmincon(fun,x0,A,b,Aeq,beq,lb,ub,non…

Python 和 Google Colab 从 Sentinel-3 图像下载并可视化地表温度和 NDVI

与 Sentinel-2 和 Landsat 等卫星的光学图像相比,下载和处理 Sentinel-3 图像,尤其是地表温度 (LST) 具有挑战性。这是由于存储数据的特定 NetCDF 格式造成的,并且 LST 值的正确投影需要一些额外的工作。在本教程中,我将在 Google Colab 环境中提供 Python 代码,以便于下载…

贪心算法详解与任务调度问题Demo

任务调度问题Demo 任务调度问题是一类常见的优化问题,其目标是在有限的时间内合理安排任务的执行顺序,以最大化任务的完成数量或满足其他优化目标。在这个Demo中,我们将考虑一个简化版的任务调度问题:有一系列任务,每个…

成为大佬之路--linux软件安装使用第000000032篇--linux docker安装文件系统

总体感受 能用,仅仅是能用,不太好用,ui略丑 安装 docker run -d --restart always -p 10018:8080 -v /Users/ascendking/sofewares/mikochi/data:/data -e DATA_DIR"/data" -e USERNAMEadmin -e PASSWORDadmin zer0tonin/mik…

Qt ini配置文件

ini文件用于保存用户的设置操作,下列以背景颜色设置为例子 暂时默认设置为白色背景 这段代码放置在主窗口的构造函数中,用于初始化读取ini文件 QString color;QSettings *set new QSettings("color.ini",QSettings::IniFormat);set->begi…

销售管理之反向与正向目标控制

在销售活动中,控制力是关键。但控制力其实分为两种:反向控制和正向控制。本文将深入探讨这两种控制方式,并阐述如何在销售活动中加以应用,以提升销售效果。 一、反向控制:以客户为中心,引导客户需求 反向控…

【智能家居入门1之环境信息监测】(STM32、ONENET云平台、微信小程序、HTTP协议)

作为入门本篇只实现微信小程序接收下位机上传的数据,之后会持续发布如下项目:①可以实现微信小程序控制下位机动作,真正意义上的智能家居;②将网络通讯协议换成MQTT协议再实现上述功能,此时的服务器也不再是ONENET&…

C++笔记(七)--- const

const关键字表示所修饰的变量或函数不可改变 C语言中const 1.const修饰的变量不可改变,故必须定义时初始化2.const修饰函数,表示函数返回值不可更改3.const修饰普通参数,表示参数不可修改4.const修饰的变量不可直接修改,但可以通…

浙大版《数据结构学习与实验指导(第2版)》符号配对

符号配对 题目链接 题目描述 请编写程序检查C语言程序中下列符号是否配对:/* 与 */,(与),[与],{与} 输入描述 输入为一个c语言程序的一部分。当读到某一行中只有一个句点“.”和一个回车时,标志着输入结束。程序中需要检查配对的符号不超过2000个。 输…