FreeCAD WebAssembly development snapshot
Some checks failed
FreeCAD master CI / Prepare (push) Has been cancelled
FreeCAD master CI / Pixi (push) Has been cancelled
FreeCAD master CI / Ubuntu (push) Has been cancelled
FreeCAD master CI / Windows (push) Has been cancelled
FreeCAD master CI / Lint (push) Has been cancelled
FreeCAD master CI / WrapUp (push) Has been cancelled
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
CodeQL Advanced / Analyze (python) (push) Has been cancelled
Scorecard supply-chain security / Scorecard analysis (push) Has been cancelled
Stale Issues / stale (push) Has been cancelled
137
src/Mod/.gitattributes
vendored
Normal file
@@ -0,0 +1,137 @@
|
||||
JtReader export-ignore
|
||||
|
||||
|
||||
# ****************************************************************************
|
||||
# line endings
|
||||
|
||||
# to suppress line ending changes in github, add ?w=1 at link end of a diff
|
||||
|
||||
# for more information see forum topic and a specific pull request
|
||||
# https://forum.freecad.org/viewtopic.php?f=17&t=41117
|
||||
# https://github.com/FreeCAD/FreeCAD/pull/2752
|
||||
|
||||
|
||||
# get all used file types
|
||||
|
||||
# in a directory in a bash use
|
||||
# find . -type f -name '*.*' | sed 's|.*\.||' | sort -u
|
||||
|
||||
# in Mod directory for normalized modules
|
||||
# find AddonManager Arch Complete Draft Fem Material OpenSCAD Show Tux -type f -name '*.*' | sed 's|.*\.||' | sort -u
|
||||
|
||||
# search for a specific file ending in normalized folders
|
||||
# find AddonManager Arch Complete Draft Fem Material OpenSCAD Show Tux -type f -name '*.emn'
|
||||
|
||||
|
||||
# normalize the line endings of the following files
|
||||
|
||||
# standard files
|
||||
*.bat text
|
||||
*.cpp text
|
||||
*.csv text
|
||||
*.dox text
|
||||
*.h text
|
||||
*.json text
|
||||
*.md text
|
||||
*.py text
|
||||
*.qrc text
|
||||
*.sh text
|
||||
*.ts text
|
||||
*.txt text
|
||||
*.ui text
|
||||
*.xml text
|
||||
*.yml text
|
||||
|
||||
# Fem specific files
|
||||
*.dat text
|
||||
*.frd text
|
||||
*.geo text
|
||||
*.inp text
|
||||
*.sif text
|
||||
*.unv text
|
||||
*.vtk text
|
||||
*.z88 text
|
||||
|
||||
# files which are human readable
|
||||
# but for which it is not sure if normalize is ok
|
||||
# emn
|
||||
# emp
|
||||
# igs
|
||||
# stp
|
||||
# svg
|
||||
|
||||
# binary files
|
||||
# FCMat
|
||||
# FCStd
|
||||
# ods
|
||||
# qm
|
||||
|
||||
|
||||
# line endings of the modules commented will be normalized
|
||||
|
||||
# AddonManager/** -text
|
||||
# Arch/** -text
|
||||
# Draft/** -text
|
||||
# Fem/** -text
|
||||
# Material/** -text
|
||||
# OpenSCAD/** -text
|
||||
# Path/** -text
|
||||
# Show/** -text
|
||||
# Tux/** -text
|
||||
|
||||
|
||||
# line endings of the modules NOT commented will NOT be normalized
|
||||
# Be carefully changes here could affect a lot of files automatically!
|
||||
|
||||
Cloud/** -text
|
||||
Drawing/** -text
|
||||
Import/** -text
|
||||
Inspection/** -text
|
||||
JtReader/** -text
|
||||
Measure/** -text
|
||||
Mesh/** -text
|
||||
MeshPart/** -text
|
||||
Part/** -text
|
||||
PartDesign/** -text
|
||||
Plot/** -text
|
||||
Points/** -text
|
||||
ReverseEngineering/** -text
|
||||
Robot/** -text
|
||||
Sandbox/** -text
|
||||
Sketcher/** -text
|
||||
Spreadsheet/** -text
|
||||
Start/** -text
|
||||
Surface/** -text
|
||||
TechDraw/** -text
|
||||
TemplatePyMod/** -text
|
||||
Test/** -text
|
||||
Web/** -text
|
||||
|
||||
|
||||
# this would let git manage the file endings automatically
|
||||
# to be save this will be commented
|
||||
# * text=auto
|
||||
# if used it has to be at beginning of all line ending commands in this file
|
||||
# furthermore if used it is very important to set the file types
|
||||
# which should not be normalized manually (like svg, jpg, etc)
|
||||
# they should be set to binary
|
||||
|
||||
# These files should be ignored as it pertains to line-endings
|
||||
# because they are binary or should be treated as binary
|
||||
# Since auto normalize is deactivated all these could be commented too.
|
||||
# needed if * text=auto is used
|
||||
# *.FCStd binary
|
||||
# *.jpg binary
|
||||
# *.png binary
|
||||
# *.pyc binary
|
||||
# *.qm binary
|
||||
# *.svg binary
|
||||
|
||||
|
||||
# These files will always be checked out with CRLF, i.e. windows-style line endings. This
|
||||
# really should not be needed...
|
||||
# *.SomeWindowsFileExtensionThatReallyRequiresCRLFEvenInLinux eol=crlf
|
||||
|
||||
|
||||
# use git to manually correct the file endings
|
||||
# git add --renormalize .
|
||||
1
src/Mod/AddonManager
Submodule
74
src/Mod/Assembly/App/AppAssembly.cpp
Normal file
@@ -0,0 +1,74 @@
|
||||
// SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
/****************************************************************************
|
||||
* *
|
||||
* Copyright (c) 2023 Ondsel <development@ondsel.com> *
|
||||
* *
|
||||
* This file is part of FreeCAD. *
|
||||
* *
|
||||
* FreeCAD is free software: you can redistribute it and/or modify it *
|
||||
* under the terms of the GNU Lesser General Public License as *
|
||||
* published by the Free Software Foundation, either version 2.1 of the *
|
||||
* License, or (at your option) any later version. *
|
||||
* *
|
||||
* FreeCAD is distributed in the hope that it will be useful, but *
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
|
||||
* Lesser General Public License for more details. *
|
||||
* *
|
||||
* You should have received a copy of the GNU Lesser General Public *
|
||||
* License along with FreeCAD. If not, see *
|
||||
* <https://www.gnu.org/licenses/>. *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#include <Base/Console.h>
|
||||
#include <Base/Interpreter.h>
|
||||
#include <Base/PyObjectBase.h>
|
||||
|
||||
#include "AssemblyObject.h"
|
||||
#include "AssemblyLink.h"
|
||||
#include "BomObject.h"
|
||||
#include "BomGroup.h"
|
||||
#include "JointGroup.h"
|
||||
#include "ViewGroup.h"
|
||||
#include "SimulationGroup.h"
|
||||
|
||||
|
||||
namespace Assembly
|
||||
{
|
||||
extern PyObject* initModule();
|
||||
}
|
||||
|
||||
/* Python entry */
|
||||
PyMOD_INIT_FUNC(AssemblyApp)
|
||||
{
|
||||
// load dependent module
|
||||
try {
|
||||
Base::Interpreter().runString("import Part");
|
||||
Base::Interpreter().runString("import Spreadsheet");
|
||||
}
|
||||
catch (const Base::Exception& e) {
|
||||
PyErr_SetString(PyExc_ImportError, e.what());
|
||||
PyMOD_Return(nullptr);
|
||||
}
|
||||
|
||||
PyObject* mod = Assembly::initModule();
|
||||
Base::Console().log("Loading Assembly module... done\n");
|
||||
|
||||
|
||||
// NOTE: To finish the initialization of our own type objects we must
|
||||
// call PyType_Ready, otherwise we run into a segmentation fault, later on.
|
||||
// This function is responsible for adding inherited slots from a type's base class.
|
||||
|
||||
Assembly::AssemblyObject ::init();
|
||||
Assembly::AssemblyLink ::init();
|
||||
Assembly::BomObject ::init();
|
||||
|
||||
Assembly::BomGroup ::init();
|
||||
Assembly::JointGroup ::init();
|
||||
Assembly::ViewGroup ::init();
|
||||
Assembly::SimulationGroup ::init();
|
||||
|
||||
PyMOD_Return(mod);
|
||||
}
|
||||
46
src/Mod/Assembly/App/AppAssemblyPy.cpp
Normal file
@@ -0,0 +1,46 @@
|
||||
// SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
/****************************************************************************
|
||||
* *
|
||||
* Copyright (c) 2023 Ondsel <development@ondsel.com> *
|
||||
* *
|
||||
* This file is part of FreeCAD. *
|
||||
* *
|
||||
* FreeCAD is free software: you can redistribute it and/or modify it *
|
||||
* under the terms of the GNU Lesser General Public License as *
|
||||
* published by the Free Software Foundation, either version 2.1 of the *
|
||||
* License, or (at your option) any later version. *
|
||||
* *
|
||||
* FreeCAD is distributed in the hope that it will be useful, but *
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
|
||||
* Lesser General Public License for more details. *
|
||||
* *
|
||||
* You should have received a copy of the GNU Lesser General Public *
|
||||
* License along with FreeCAD. If not, see *
|
||||
* <https://www.gnu.org/licenses/>. *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#include <Base/Interpreter.h>
|
||||
#include <Base/Tools.h>
|
||||
|
||||
|
||||
namespace Assembly
|
||||
{
|
||||
class Module: public Py::ExtensionModule<Module>
|
||||
{
|
||||
public:
|
||||
Module()
|
||||
: Py::ExtensionModule<Module>("AssemblyApp")
|
||||
{
|
||||
initialize("This module is the Assembly module."); // register with Python
|
||||
}
|
||||
};
|
||||
|
||||
PyObject* initModule()
|
||||
{
|
||||
return Base::Interpreter().addModule(new Module);
|
||||
}
|
||||
|
||||
} // namespace Assembly
|
||||
771
src/Mod/Assembly/App/AssemblyLink.cpp
Normal file
@@ -0,0 +1,771 @@
|
||||
// SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
/****************************************************************************
|
||||
* *
|
||||
* Copyright (c) 2024 Ondsel <development@ondsel.com> *
|
||||
* *
|
||||
* This file is part of FreeCAD. *
|
||||
* *
|
||||
* FreeCAD is free software: you can redistribute it and/or modify it *
|
||||
* under the terms of the GNU Lesser General Public License as *
|
||||
* published by the Free Software Foundation, either version 2.1 of the *
|
||||
* License, or (at your option) any later version. *
|
||||
* *
|
||||
* FreeCAD is distributed in the hope that it will be useful, but *
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
|
||||
* Lesser General Public License for more details. *
|
||||
* *
|
||||
* You should have received a copy of the GNU Lesser General Public *
|
||||
* License along with FreeCAD. If not, see *
|
||||
* <https://www.gnu.org/licenses/>. *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
#include <cmath>
|
||||
#include <vector>
|
||||
|
||||
|
||||
#include <App/Application.h>
|
||||
#include <App/Document.h>
|
||||
#include <App/DocumentObjectGroup.h>
|
||||
#include <App/FeaturePythonPyImp.h>
|
||||
#include <App/Link.h>
|
||||
#include <App/PropertyPythonObject.h>
|
||||
#include <Base/Console.h>
|
||||
#include <Base/Placement.h>
|
||||
#include <Base/Rotation.h>
|
||||
#include <Base/Tools.h>
|
||||
#include <Base/Interpreter.h>
|
||||
|
||||
#include <Mod/Part/App/PartFeature.h>
|
||||
#include <Mod/Part/App/TopoShape.h>
|
||||
#include <Mod/PartDesign/App/Body.h>
|
||||
#include <Mod/Part/App/DatumFeature.h>
|
||||
|
||||
#include "AssemblyObject.h"
|
||||
#include "AssemblyUtils.h"
|
||||
#include "JointGroup.h"
|
||||
|
||||
#include "AssemblyLink.h"
|
||||
#include "AssemblyLinkPy.h"
|
||||
|
||||
namespace PartApp = Part;
|
||||
|
||||
using namespace Assembly;
|
||||
|
||||
// ================================ Assembly Object ============================
|
||||
|
||||
PROPERTY_SOURCE(Assembly::AssemblyLink, App::Part)
|
||||
|
||||
AssemblyLink::AssemblyLink()
|
||||
{
|
||||
ADD_PROPERTY_TYPE(
|
||||
Rigid,
|
||||
(true),
|
||||
"General",
|
||||
(App::PropertyType)(App::Prop_None),
|
||||
"If the sub-assembly is set to Rigid, it will act "
|
||||
"as a rigid body. Else its joints will be taken into account."
|
||||
);
|
||||
|
||||
ADD_PROPERTY_TYPE(
|
||||
LinkedObject,
|
||||
(nullptr),
|
||||
"General",
|
||||
(App::PropertyType)(App::Prop_None),
|
||||
"The linked assembly."
|
||||
);
|
||||
}
|
||||
|
||||
AssemblyLink::~AssemblyLink() = default;
|
||||
|
||||
PyObject* AssemblyLink::getPyObject()
|
||||
{
|
||||
if (PythonObject.is(Py::_None())) {
|
||||
// ref counter is set to 1
|
||||
PythonObject = Py::Object(new AssemblyLinkPy(this), true);
|
||||
}
|
||||
return Py::new_reference_to(PythonObject);
|
||||
}
|
||||
|
||||
App::DocumentObjectExecReturn* AssemblyLink::execute()
|
||||
{
|
||||
updateContents();
|
||||
|
||||
return App::Part::execute();
|
||||
}
|
||||
|
||||
void AssemblyLink::onChanged(const App::Property* prop)
|
||||
{
|
||||
if (App::GetApplication().isRestoring()) {
|
||||
App::Part::onChanged(prop);
|
||||
return;
|
||||
}
|
||||
|
||||
if (prop == &Rigid) {
|
||||
Base::Placement movePlc;
|
||||
|
||||
// A flexible sub-assembly cannot be grounded.
|
||||
// If a rigid sub-assembly has an object that is grounded, we also remove it.
|
||||
auto groundedJoints = getParentAssembly()->getGroundedJoints();
|
||||
for (auto* joint : groundedJoints) {
|
||||
auto* propObj = dynamic_cast<App::PropertyLink*>(
|
||||
joint->getPropertyByName("ObjectToGround")
|
||||
);
|
||||
if (!propObj) {
|
||||
continue;
|
||||
}
|
||||
auto* groundedObj = propObj->getValue();
|
||||
if (auto* linkElt = dynamic_cast<App::LinkElement*>(groundedObj)) {
|
||||
// hasObject does not handle link groups so we must handle it manually.
|
||||
groundedObj = linkElt->getLinkGroup();
|
||||
}
|
||||
|
||||
if (Rigid.getValue() ? hasObject(groundedObj) : groundedObj == this) {
|
||||
getDocument()->removeObject(joint->getNameInDocument());
|
||||
}
|
||||
}
|
||||
|
||||
if (Rigid.getValue()) {
|
||||
// movePlc needs to be computed before updateContents.
|
||||
App::DocumentObject* firstLink = nullptr;
|
||||
for (auto* obj : Group.getValues()) {
|
||||
if (obj && (obj->isDerivedFrom<App::Link>() || obj->isDerivedFrom<AssemblyLink>())) {
|
||||
firstLink = obj;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if (firstLink) {
|
||||
App::DocumentObject* sourceObj = nullptr;
|
||||
if (auto* link = dynamic_cast<App::Link*>(firstLink)) {
|
||||
sourceObj = link->getLinkedObject(false); // Get non-recursive linked object
|
||||
}
|
||||
else if (auto* asmLink = dynamic_cast<AssemblyLink*>(firstLink)) {
|
||||
sourceObj = asmLink->getLinkedAssembly();
|
||||
}
|
||||
|
||||
if (sourceObj) {
|
||||
auto* propSource = dynamic_cast<App::PropertyPlacement*>(
|
||||
sourceObj->getPropertyByName("Placement")
|
||||
);
|
||||
auto* propLink = dynamic_cast<App::PropertyPlacement*>(
|
||||
firstLink->getPropertyByName("Placement")
|
||||
);
|
||||
|
||||
if (propSource && propLink) {
|
||||
movePlc = propLink->getValue() * propSource->getValue().inverse();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
updateContents();
|
||||
|
||||
auto* propPlc = dynamic_cast<App::PropertyPlacement*>(getPropertyByName("Placement"));
|
||||
if (!propPlc) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (!Rigid.getValue()) {
|
||||
// when the assemblyLink becomes flexible, we need to make sure its placement is
|
||||
// identity or it's going to mess up moving parts placement within.
|
||||
Base::Placement plc = propPlc->getValue();
|
||||
if (!plc.isIdentity()) {
|
||||
propPlc->setValue(Base::Placement());
|
||||
|
||||
// We need to apply the placement of the assembly link to the children or they will
|
||||
// move.
|
||||
std::vector<App::DocumentObject*> group = Group.getValues();
|
||||
for (auto* obj : group) {
|
||||
if (!obj->isDerivedFrom<App::Part>() && !obj->isDerivedFrom<PartApp::Feature>()
|
||||
&& !obj->isDerivedFrom<App::Link>()) {
|
||||
continue;
|
||||
}
|
||||
|
||||
if (obj->isLinkGroup()) {
|
||||
auto* srcLink = static_cast<App::Link*>(obj);
|
||||
const std::vector<App::DocumentObject*> srcElements
|
||||
= srcLink->ElementList.getValues();
|
||||
|
||||
for (auto elt : srcElements) {
|
||||
if (!elt) {
|
||||
continue;
|
||||
}
|
||||
|
||||
auto* prop = dynamic_cast<App::PropertyPlacement*>(
|
||||
elt->getPropertyByName("Placement")
|
||||
);
|
||||
if (prop) {
|
||||
prop->setValue(plc * prop->getValue());
|
||||
}
|
||||
}
|
||||
}
|
||||
else {
|
||||
auto* prop = dynamic_cast<App::PropertyPlacement*>(
|
||||
obj->getPropertyByName("Placement")
|
||||
);
|
||||
if (prop) {
|
||||
prop->setValue(plc * prop->getValue());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
AssemblyObject::redrawJointPlacements(getJoints());
|
||||
}
|
||||
}
|
||||
else {
|
||||
// For the assemblylink not to move to origin, we need to update its placement.
|
||||
if (!movePlc.isIdentity()) {
|
||||
propPlc->setValue(movePlc);
|
||||
}
|
||||
}
|
||||
return;
|
||||
}
|
||||
App::Part::onChanged(prop);
|
||||
}
|
||||
|
||||
void AssemblyLink::updateParentJoints()
|
||||
{
|
||||
AssemblyObject* parent = getParentAssembly();
|
||||
if (!parent) {
|
||||
return;
|
||||
}
|
||||
|
||||
bool rigid = Rigid.getValue();
|
||||
// Iterate joints in the immediate parent assembly only (recursive=false)
|
||||
for (auto* joint : parent->getJoints(false, false, false)) {
|
||||
for (const char* refName : {"Reference1", "Reference2"}) {
|
||||
auto* prop = dynamic_cast<App::PropertyXLinkSub*>(joint->getPropertyByName(refName));
|
||||
if (!prop) {
|
||||
continue;
|
||||
}
|
||||
App::DocumentObject* refObj = prop->getValue();
|
||||
if (!refObj) {
|
||||
continue;
|
||||
}
|
||||
|
||||
if (rigid) { // Flexible -> Rigid
|
||||
if (hasObject(refObj)) {
|
||||
// The joint currently points to a child (refObj) inside this AssemblyLink.
|
||||
// We must repoint it to 'this' and prepend the child's name to the sub-elements.
|
||||
std::vector<std::string> subs = prop->getSubValues();
|
||||
std::vector<std::string> newSubs;
|
||||
std::string prefix = refObj->getNameInDocument();
|
||||
prefix += ".";
|
||||
for (const auto& s : subs) {
|
||||
newSubs.push_back(prefix + s);
|
||||
}
|
||||
prop->setValue(this);
|
||||
prop->setSubValues(std::move(newSubs));
|
||||
}
|
||||
}
|
||||
else { // Rigid -> Flexible
|
||||
if (refObj == this) {
|
||||
// The joint currently points to 'this'.
|
||||
// We must extract the child's name from the sub-element, point to the child,
|
||||
// and strip the prefix.
|
||||
std::vector<std::string> subs = prop->getSubValues();
|
||||
if (subs.empty()) {
|
||||
continue;
|
||||
}
|
||||
std::vector<std::string> parts = Base::Tools::splitSubName(subs[0]);
|
||||
if (parts.empty()) {
|
||||
continue;
|
||||
}
|
||||
std::string childName = parts[0];
|
||||
App::DocumentObject* child = getDocument()->getObject(childName.c_str());
|
||||
if (child && hasObject(child)) {
|
||||
std::vector<std::string> newSubs;
|
||||
size_t prefixLen = childName.length() + 1; // "Name."
|
||||
for (const auto& s : subs) {
|
||||
if (s.length() >= prefixLen) {
|
||||
newSubs.push_back(s.substr(prefixLen));
|
||||
}
|
||||
else {
|
||||
newSubs.push_back(s);
|
||||
}
|
||||
}
|
||||
prop->setValue(child);
|
||||
prop->setSubValues(std::move(newSubs));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if (joint->isTouched()) {
|
||||
joint->recomputeFeature();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void AssemblyLink::updateContents()
|
||||
{
|
||||
synchronizeComponents();
|
||||
|
||||
if (isRigid()) {
|
||||
ensureNoJointGroup();
|
||||
}
|
||||
else {
|
||||
synchronizeJoints();
|
||||
}
|
||||
purgeTouched();
|
||||
}
|
||||
|
||||
void AssemblyLink::synchronizeComponents()
|
||||
{
|
||||
App::Document* doc = getDocument();
|
||||
|
||||
AssemblyObject* assembly = getLinkedAssembly();
|
||||
if (!assembly) {
|
||||
return;
|
||||
}
|
||||
|
||||
objLinkMap.clear();
|
||||
|
||||
std::vector<App::DocumentObject*> assemblyGroup = assembly->Group.getValues();
|
||||
std::vector<App::DocumentObject*> assemblyLinkGroup = Group.getValues();
|
||||
|
||||
// Filter out child objects from Part-workbench features to get only top-level components.
|
||||
// An object is considered a child if it's referenced by another object's 'Base', 'Tool',
|
||||
// or 'Shapes' property within the same group.
|
||||
std::set<App::DocumentObject*> children;
|
||||
for (auto* obj : assemblyGroup) {
|
||||
if (auto* partFeat = dynamic_cast<PartApp::Feature*>(obj)) {
|
||||
if (auto* prop = dynamic_cast<App::PropertyLink*>(partFeat->getPropertyByName("Base"))) {
|
||||
if (prop->getValue()) {
|
||||
children.insert(prop->getValue());
|
||||
}
|
||||
}
|
||||
if (auto* prop = dynamic_cast<App::PropertyLink*>(partFeat->getPropertyByName("Tool"))) {
|
||||
if (prop->getValue()) {
|
||||
children.insert(prop->getValue());
|
||||
}
|
||||
}
|
||||
if (auto* prop
|
||||
= dynamic_cast<App::PropertyLinkList*>(partFeat->getPropertyByName("Shapes"))) {
|
||||
for (auto* shapeObj : prop->getValues()) {
|
||||
children.insert(shapeObj);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
std::vector<App::DocumentObject*> topLevelComponents;
|
||||
std::copy_if(
|
||||
assemblyGroup.begin(),
|
||||
assemblyGroup.end(),
|
||||
std::back_inserter(topLevelComponents),
|
||||
[&children](App::DocumentObject* obj) { return children.find(obj) == children.end(); }
|
||||
);
|
||||
|
||||
// We check if a component needs to be added to the AssemblyLink
|
||||
for (auto* obj : topLevelComponents) {
|
||||
if (!obj->isDerivedFrom<App::Part>() && !obj->isDerivedFrom<PartApp::Feature>()
|
||||
&& !obj->isDerivedFrom<App::Link>()) {
|
||||
continue;
|
||||
}
|
||||
|
||||
// Note, the user can have nested sub-assemblies.
|
||||
// In which case we need to add an AssemblyLink and not a Link.
|
||||
App::DocumentObject* link = nullptr;
|
||||
bool found = false;
|
||||
std::set<App::Link*> linkGroupsAdded;
|
||||
|
||||
for (auto* obj2 : assemblyLinkGroup) {
|
||||
App::DocumentObject* linkedObj;
|
||||
|
||||
auto* subAsmLink = freecad_cast<AssemblyLink*>(obj2);
|
||||
auto* link2 = dynamic_cast<App::Link*>(obj2);
|
||||
|
||||
if (subAsmLink) {
|
||||
linkedObj = subAsmLink->getLinkedObject2(false); // not recursive
|
||||
}
|
||||
else if (link2) {
|
||||
if (obj->isLinkGroup() && link2->isLinkGroup()) {
|
||||
auto* srcLink = static_cast<App::Link*>(obj);
|
||||
if ((srcLink->getTrueLinkedObject(false) == link2->getTrueLinkedObject(false))
|
||||
&& link2->ElementCount.getValue() == srcLink->ElementCount.getValue()
|
||||
&& linkGroupsAdded.find(srcLink) == linkGroupsAdded.end()) {
|
||||
found = true;
|
||||
link = obj2;
|
||||
// In case where there are more than 2 link groups with the
|
||||
// same number of elements.
|
||||
linkGroupsAdded.insert(srcLink);
|
||||
|
||||
const std::vector<App::DocumentObject*> srcElements
|
||||
= srcLink->ElementList.getValues();
|
||||
const std::vector<App::DocumentObject*> newElements
|
||||
= link2->ElementList.getValues();
|
||||
for (size_t i = 0; i < srcElements.size(); ++i) {
|
||||
objLinkMap[srcElements[i]] = newElements[i];
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
else if (obj->isLinkGroup() && !link2->isLinkGroup()) {
|
||||
continue; // make sure we migrate sub assemblies that had link to linkgroups
|
||||
}
|
||||
linkedObj = link2->getLinkedObject(false); // not recursive
|
||||
}
|
||||
else {
|
||||
// We consider only Links and AssemblyLinks
|
||||
continue;
|
||||
}
|
||||
|
||||
if (linkedObj == obj) {
|
||||
found = true;
|
||||
link = obj2;
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (!found) {
|
||||
// Add a link or a AssemblyLink to it in the AssemblyLink.
|
||||
if (obj->isDerivedFrom<AssemblyLink>()) {
|
||||
auto* asmLink = static_cast<AssemblyLink*>(obj);
|
||||
|
||||
App::DocumentObject* newObj
|
||||
= doc->addObject("Assembly::AssemblyLink", obj->getNameInDocument());
|
||||
auto* subAsmLink = static_cast<AssemblyLink*>(newObj);
|
||||
subAsmLink->LinkedObject.setValue(obj);
|
||||
subAsmLink->Rigid.setValue(asmLink->Rigid.getValue());
|
||||
subAsmLink->Label.setValue(obj->Label.getValue());
|
||||
addObject(subAsmLink);
|
||||
link = subAsmLink;
|
||||
}
|
||||
else if (obj->isDerivedFrom<App::Link>() && obj->isLinkGroup()) {
|
||||
auto* srcLink = static_cast<App::Link*>(obj);
|
||||
|
||||
auto* newLink = static_cast<App::Link*>(
|
||||
doc->addObject("App::Link", obj->getNameInDocument())
|
||||
);
|
||||
newLink->LinkedObject.setValue(srcLink->getTrueLinkedObject(false));
|
||||
|
||||
newLink->Label.setValue(obj->Label.getValue());
|
||||
addObject(newLink);
|
||||
|
||||
newLink->ElementCount.setValue(srcLink->ElementCount.getValue());
|
||||
const std::vector<App::DocumentObject*> srcElements = srcLink->ElementList.getValues();
|
||||
const std::vector<App::DocumentObject*> newElements = newLink->ElementList.getValues();
|
||||
for (size_t i = 0; i < srcElements.size(); ++i) {
|
||||
auto* newObj = newElements[i];
|
||||
auto* srcObj = srcElements[i];
|
||||
if (newObj && srcObj) {
|
||||
syncPlacements(srcObj, newObj);
|
||||
}
|
||||
objLinkMap[srcObj] = newObj;
|
||||
}
|
||||
|
||||
link = newLink;
|
||||
}
|
||||
else {
|
||||
App::DocumentObject* newObj = doc->addObject("App::Link", obj->getNameInDocument());
|
||||
auto* newLink = static_cast<App::Link*>(newObj);
|
||||
newLink->LinkedObject.setValue(obj);
|
||||
newLink->Label.setValue(obj->Label.getValue());
|
||||
addObject(newLink);
|
||||
link = newLink;
|
||||
}
|
||||
}
|
||||
|
||||
objLinkMap[obj] = link;
|
||||
}
|
||||
|
||||
// If the assemblyLink is rigid, then we keep all placements synchronized.
|
||||
if (isRigid()) {
|
||||
for (const auto& [sourceObj, linkObj] : objLinkMap) {
|
||||
syncPlacements(sourceObj, linkObj);
|
||||
}
|
||||
}
|
||||
|
||||
// We check if a component needs to be removed from the AssemblyLink
|
||||
// NOTE: this is not being executed when a src link is deleted, because the link
|
||||
// is then in error, and so AssemblyLink::execute() does not get called.
|
||||
std::set<App::DocumentObject*> validLinks;
|
||||
for (const auto& pair : objLinkMap) {
|
||||
validLinks.insert(pair.second);
|
||||
}
|
||||
for (auto* obj : assemblyLinkGroup) {
|
||||
// We don't need to update assemblyLinkGroup after the addition since we're not removing
|
||||
// something we just added.
|
||||
if (!obj->isDerivedFrom<App::Part>() && !obj->isDerivedFrom<PartApp::Feature>()
|
||||
&& !obj->isDerivedFrom<App::Link>()) {
|
||||
continue;
|
||||
}
|
||||
if (validLinks.find(obj) == validLinks.end()) {
|
||||
doc->removeObject(obj->getNameInDocument());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
namespace
|
||||
{
|
||||
template<typename T>
|
||||
void copyPropertyIfDifferent(
|
||||
App::DocumentObject* source,
|
||||
App::DocumentObject* target,
|
||||
const char* propertyName
|
||||
)
|
||||
{
|
||||
auto sourceProp = freecad_cast<T*>(source->getPropertyByName(propertyName));
|
||||
auto targetProp = freecad_cast<T*>(target->getPropertyByName(propertyName));
|
||||
if (sourceProp && targetProp && sourceProp->getValue() != targetProp->getValue()) {
|
||||
targetProp->setValue(sourceProp->getValue());
|
||||
}
|
||||
}
|
||||
|
||||
std::string removeUpToName(const std::string& sub, const std::string& name)
|
||||
{
|
||||
size_t pos = sub.find(name);
|
||||
if (pos != std::string::npos) {
|
||||
// Move the position to the character after the found substring and the following '.'
|
||||
pos += name.length() + 1;
|
||||
if (pos < sub.length()) {
|
||||
return sub.substr(pos);
|
||||
}
|
||||
}
|
||||
// If s2 is not found in s1, return the original string
|
||||
return sub;
|
||||
}
|
||||
|
||||
std::string replaceLastOccurrence(
|
||||
const std::string& str,
|
||||
const std::string& oldStr,
|
||||
const std::string& newStr
|
||||
)
|
||||
{
|
||||
size_t pos = str.rfind(oldStr);
|
||||
if (pos != std::string::npos) {
|
||||
std::string result = str;
|
||||
result.replace(pos, oldStr.length(), newStr);
|
||||
return result;
|
||||
}
|
||||
return str;
|
||||
}
|
||||
}; // namespace
|
||||
|
||||
void AssemblyLink::synchronizeJoints()
|
||||
{
|
||||
App::Document* doc = getDocument();
|
||||
AssemblyObject* assembly = getLinkedAssembly();
|
||||
if (!assembly) {
|
||||
return;
|
||||
}
|
||||
|
||||
JointGroup* jGroup = ensureJointGroup();
|
||||
|
||||
std::vector<App::DocumentObject*> assemblyJoints
|
||||
= assembly->getJoints(assembly->isTouched(), false, false);
|
||||
std::vector<App::DocumentObject*> assemblyLinkJoints = getJoints();
|
||||
|
||||
// We delete the excess of joints if any
|
||||
for (size_t i = assemblyJoints.size(); i < assemblyLinkJoints.size(); ++i) {
|
||||
doc->removeObject(assemblyLinkJoints[i]->getNameInDocument());
|
||||
}
|
||||
|
||||
// We make sure the joints match.
|
||||
for (size_t i = 0; i < assemblyJoints.size(); ++i) {
|
||||
App::DocumentObject* joint = assemblyJoints[i];
|
||||
App::DocumentObject* lJoint;
|
||||
if (i < assemblyLinkJoints.size()) {
|
||||
lJoint = assemblyLinkJoints[i];
|
||||
}
|
||||
else {
|
||||
auto ret = doc->copyObject({joint});
|
||||
if (ret.size() != 1) {
|
||||
continue;
|
||||
}
|
||||
lJoint = ret[0];
|
||||
jGroup->addObject(lJoint);
|
||||
}
|
||||
|
||||
// Then we have to check the properties one by one.
|
||||
copyPropertyIfDifferent<App::PropertyBool>(joint, lJoint, "Suppressed");
|
||||
copyPropertyIfDifferent<App::PropertyFloat>(joint, lJoint, "Distance");
|
||||
copyPropertyIfDifferent<App::PropertyFloat>(joint, lJoint, "Distance2");
|
||||
copyPropertyIfDifferent<App::PropertyEnumeration>(joint, lJoint, "JointType");
|
||||
copyPropertyIfDifferent<App::PropertyPlacement>(joint, lJoint, "Offset1");
|
||||
copyPropertyIfDifferent<App::PropertyPlacement>(joint, lJoint, "Offset2");
|
||||
|
||||
copyPropertyIfDifferent<App::PropertyBool>(joint, lJoint, "Detach1");
|
||||
copyPropertyIfDifferent<App::PropertyBool>(joint, lJoint, "Detach2");
|
||||
|
||||
copyPropertyIfDifferent<App::PropertyFloat>(joint, lJoint, "AngleMax");
|
||||
copyPropertyIfDifferent<App::PropertyFloat>(joint, lJoint, "AngleMin");
|
||||
copyPropertyIfDifferent<App::PropertyFloat>(joint, lJoint, "LengthMax");
|
||||
copyPropertyIfDifferent<App::PropertyFloat>(joint, lJoint, "LengthMin");
|
||||
copyPropertyIfDifferent<App::PropertyBool>(joint, lJoint, "EnableAngleMax");
|
||||
copyPropertyIfDifferent<App::PropertyBool>(joint, lJoint, "EnableAngleMin");
|
||||
copyPropertyIfDifferent<App::PropertyBool>(joint, lJoint, "EnableLengthMax");
|
||||
copyPropertyIfDifferent<App::PropertyBool>(joint, lJoint, "EnableLengthMin");
|
||||
|
||||
// The reference needs to be handled specifically
|
||||
handleJointReference(joint, lJoint, "Reference1");
|
||||
handleJointReference(joint, lJoint, "Reference2");
|
||||
}
|
||||
|
||||
assemblyLinkJoints = getJoints();
|
||||
|
||||
for (auto* joint : assemblyLinkJoints) {
|
||||
joint->purgeTouched();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
void AssemblyLink::handleJointReference(
|
||||
App::DocumentObject* joint,
|
||||
App::DocumentObject* lJoint,
|
||||
const char* refName
|
||||
)
|
||||
{
|
||||
auto prop1 = dynamic_cast<App::PropertyXLinkSub*>(joint->getPropertyByName(refName));
|
||||
auto prop2 = dynamic_cast<App::PropertyXLinkSub*>(lJoint->getPropertyByName(refName));
|
||||
if (!prop1 || !prop2) {
|
||||
return;
|
||||
}
|
||||
|
||||
// 1. Get the external component prop1 is [ExternalPart, "Sub"]
|
||||
App::DocumentObject* externalComponent = prop1->getValue();
|
||||
if (!externalComponent) {
|
||||
return;
|
||||
}
|
||||
|
||||
// 2. Map to local link
|
||||
auto it = objLinkMap.find(externalComponent);
|
||||
if (it == objLinkMap.end()) {
|
||||
Base::Console().warning(
|
||||
"AssemblyLink: Could not map external component %s to a local link for joint %s\n",
|
||||
externalComponent->getNameInDocument(),
|
||||
joint->getNameInDocument()
|
||||
);
|
||||
return;
|
||||
}
|
||||
App::DocumentObject* localLink = it->second;
|
||||
|
||||
// 3. Set the new reference
|
||||
// The local joint now points to the local link [LocalLink, "Sub"]
|
||||
if (prop2->getValue() != localLink) {
|
||||
prop2->setValue(localLink);
|
||||
}
|
||||
|
||||
// 4. Sync sub-elements
|
||||
// The sub-elements (e.g. "Body.Face1") are relative to the component.
|
||||
// Since the LocalLink points to the ExternalPart, the relative path is identical.
|
||||
std::vector<std::string> subs1 = prop1->getSubValues();
|
||||
std::vector<std::string> subs2 = prop2->getSubValues();
|
||||
|
||||
bool changed = false;
|
||||
if (subs1.size() != subs2.size()) {
|
||||
changed = true;
|
||||
}
|
||||
else {
|
||||
for (size_t i = 0; i < subs1.size(); ++i) {
|
||||
if (subs1[i] != subs2[i]) {
|
||||
changed = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (changed) {
|
||||
prop2->setSubValues(std::move(subs1));
|
||||
}
|
||||
}
|
||||
|
||||
void AssemblyLink::ensureNoJointGroup()
|
||||
{
|
||||
// Make sure there is no joint group
|
||||
JointGroup* jGroup = getJointGroup(this);
|
||||
if (jGroup) {
|
||||
// If there is a joint group, we delete it and its content.
|
||||
jGroup->removeObjectsFromDocument();
|
||||
getDocument()->removeObject(jGroup->getNameInDocument());
|
||||
}
|
||||
}
|
||||
JointGroup* AssemblyLink::ensureJointGroup()
|
||||
{
|
||||
// Make sure there is a jointGroup
|
||||
JointGroup* jGroup = getJointGroup(this);
|
||||
if (!jGroup) {
|
||||
jGroup = new JointGroup();
|
||||
getDocument()->addObject(jGroup, tr("Joints").toStdString().c_str());
|
||||
|
||||
std::vector<DocumentObject*> grp = Group.getValues();
|
||||
grp.insert(grp.begin(), jGroup);
|
||||
Group.setValues(grp);
|
||||
}
|
||||
return jGroup;
|
||||
}
|
||||
|
||||
App::DocumentObject* AssemblyLink::getLinkedObject2(bool recursive) const
|
||||
{
|
||||
auto* obj = LinkedObject.getValue();
|
||||
auto* assembly = freecad_cast<AssemblyObject*>(obj);
|
||||
if (assembly) {
|
||||
return assembly;
|
||||
}
|
||||
else {
|
||||
auto* assemblyLink = freecad_cast<AssemblyLink*>(obj);
|
||||
if (assemblyLink) {
|
||||
if (recursive) {
|
||||
return assemblyLink->getLinkedObject2(recursive);
|
||||
}
|
||||
else {
|
||||
return assemblyLink;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
AssemblyObject* AssemblyLink::getLinkedAssembly() const
|
||||
{
|
||||
return freecad_cast<AssemblyObject*>(getLinkedObject2());
|
||||
}
|
||||
|
||||
AssemblyObject* AssemblyLink::getParentAssembly() const
|
||||
{
|
||||
std::vector<App::DocumentObject*> inList = getInList();
|
||||
for (auto* obj : inList) {
|
||||
auto* assembly = freecad_cast<AssemblyObject*>(obj);
|
||||
if (assembly) {
|
||||
return assembly;
|
||||
}
|
||||
}
|
||||
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
bool AssemblyLink::isRigid() const
|
||||
{
|
||||
auto* prop = dynamic_cast<App::PropertyBool*>(getPropertyByName("Rigid"));
|
||||
if (!prop) {
|
||||
return true;
|
||||
}
|
||||
return prop->getValue();
|
||||
}
|
||||
|
||||
std::vector<App::DocumentObject*> AssemblyLink::getJoints()
|
||||
{
|
||||
JointGroup* jointGroup = getJointGroup(this);
|
||||
|
||||
if (!jointGroup) {
|
||||
return {};
|
||||
}
|
||||
return jointGroup->getJoints();
|
||||
}
|
||||
|
||||
bool AssemblyLink::allowDuplicateLabel() const
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
int AssemblyLink::numberOfComponents() const
|
||||
{
|
||||
return isRigid() ? 1 : getLinkedAssembly()->numberOfComponents();
|
||||
}
|
||||
|
||||
bool AssemblyLink::isEmpty() const
|
||||
{
|
||||
return numberOfComponents() == 0;
|
||||
}
|
||||
103
src/Mod/Assembly/App/AssemblyLink.h
Normal file
@@ -0,0 +1,103 @@
|
||||
// SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
/****************************************************************************
|
||||
* *
|
||||
* Copyright (c) 2024 Ondsel <development@ondsel.com> *
|
||||
* *
|
||||
* This file is part of FreeCAD. *
|
||||
* *
|
||||
* FreeCAD is free software: you can redistribute it and/or modify it *
|
||||
* under the terms of the GNU Lesser General Public License as *
|
||||
* published by the Free Software Foundation, either version 2.1 of the *
|
||||
* License, or (at your option) any later version. *
|
||||
* *
|
||||
* FreeCAD is distributed in the hope that it will be useful, but *
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
|
||||
* Lesser General Public License for more details. *
|
||||
* *
|
||||
* You should have received a copy of the GNU Lesser General Public *
|
||||
* License along with FreeCAD. If not, see *
|
||||
* <https://www.gnu.org/licenses/>. *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <unordered_map>
|
||||
|
||||
#include <Mod/Assembly/AssemblyGlobal.h>
|
||||
|
||||
#include <App/FeaturePython.h>
|
||||
#include <App/Part.h>
|
||||
#include <App/PropertyLinks.h>
|
||||
|
||||
|
||||
namespace Assembly
|
||||
{
|
||||
class AssemblyObject;
|
||||
class JointGroup;
|
||||
|
||||
class AssemblyExport AssemblyLink: public App::Part
|
||||
{
|
||||
PROPERTY_HEADER_WITH_OVERRIDE(Assembly::AssemblyLink);
|
||||
|
||||
public:
|
||||
AssemblyLink();
|
||||
~AssemblyLink() override;
|
||||
|
||||
PyObject* getPyObject() override;
|
||||
|
||||
/// returns the type name of the ViewProvider
|
||||
const char* getViewProviderName() const override
|
||||
{
|
||||
return "AssemblyGui::ViewProviderAssemblyLink";
|
||||
}
|
||||
|
||||
App::DocumentObjectExecReturn* execute() override;
|
||||
|
||||
// The linked assembly is the AssemblyObject that this AssemblyLink pseudo-links to recursively.
|
||||
AssemblyObject* getLinkedAssembly() const;
|
||||
// The parent assembly is the main assembly in which the linked assembly is contained
|
||||
AssemblyObject* getParentAssembly() const;
|
||||
|
||||
// Overriding DocumentObject::getLinkedObject is giving bugs
|
||||
// This function returns the linked object, either an AssemblyObject or an AssemblyLink
|
||||
App::DocumentObject* getLinkedObject2(bool recurse = true) const;
|
||||
|
||||
bool isRigid() const;
|
||||
|
||||
/**
|
||||
* Update all of the components and joints from the Assembly
|
||||
*/
|
||||
void updateContents();
|
||||
void updateParentJoints();
|
||||
|
||||
void synchronizeComponents();
|
||||
void synchronizeJoints();
|
||||
void handleJointReference(
|
||||
App::DocumentObject* joint,
|
||||
App::DocumentObject* lJoint,
|
||||
const char* refName
|
||||
);
|
||||
void ensureNoJointGroup();
|
||||
JointGroup* ensureJointGroup();
|
||||
std::vector<App::DocumentObject*> getJoints();
|
||||
|
||||
bool allowDuplicateLabel() const override;
|
||||
|
||||
bool isEmpty() const;
|
||||
int numberOfComponents() const;
|
||||
|
||||
App::PropertyXLink LinkedObject;
|
||||
App::PropertyBool Rigid;
|
||||
|
||||
std::unordered_map<App::DocumentObject*, App::DocumentObject*> objLinkMap;
|
||||
|
||||
protected:
|
||||
/// get called by the container whenever a property has been changed
|
||||
void onChanged(const App::Property* prop) override;
|
||||
};
|
||||
|
||||
|
||||
} // namespace Assembly
|
||||
24
src/Mod/Assembly/App/AssemblyLink.pyi
Normal file
@@ -0,0 +1,24 @@
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from typing import Final
|
||||
|
||||
from Base.Metadata import export
|
||||
|
||||
from App.Part import Part
|
||||
|
||||
@export(
|
||||
Include="Mod/Assembly/App/AssemblyLink.h",
|
||||
Namespace="Assembly",
|
||||
)
|
||||
class AssemblyLink(Part):
|
||||
"""
|
||||
This class handles document objects in Assembly
|
||||
|
||||
Author: Ondsel (development@ondsel.com)
|
||||
License: LGPL-2.1-or-later
|
||||
"""
|
||||
|
||||
Joints: Final[list]
|
||||
"""A list of all joints this assembly link has."""
|
||||
57
src/Mod/Assembly/App/AssemblyLinkPyImp.cpp
Normal file
@@ -0,0 +1,57 @@
|
||||
// SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
/****************************************************************************
|
||||
* *
|
||||
* Copyright (c) 2024 Ondsel <development@ondsel.com> *
|
||||
* *
|
||||
* This file is part of FreeCAD. *
|
||||
* *
|
||||
* FreeCAD is free software: you can redistribute it and/or modify it *
|
||||
* under the terms of the GNU Lesser General Public License as *
|
||||
* published by the Free Software Foundation, either version 2.1 of the *
|
||||
* License, or (at your option) any later version. *
|
||||
* *
|
||||
* FreeCAD is distributed in the hope that it will be useful, but *
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
|
||||
* Lesser General Public License for more details. *
|
||||
* *
|
||||
* You should have received a copy of the GNU Lesser General Public *
|
||||
* License along with FreeCAD. If not, see *
|
||||
* <https://www.gnu.org/licenses/>. *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
// inclusion of the generated files (generated out of AssemblyLink.xml)
|
||||
#include "AssemblyLinkPy.h"
|
||||
#include "AssemblyLinkPy.cpp"
|
||||
|
||||
using namespace Assembly;
|
||||
|
||||
// returns a string which represents the object e.g. when printed in python
|
||||
std::string AssemblyLinkPy::representation() const
|
||||
{
|
||||
return {"<Assembly link>"};
|
||||
}
|
||||
|
||||
PyObject* AssemblyLinkPy::getCustomAttributes(const char* /*attr*/) const
|
||||
{
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
int AssemblyLinkPy::setCustomAttributes(const char* /*attr*/, PyObject* /*obj*/)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
Py::List AssemblyLinkPy::getJoints() const
|
||||
{
|
||||
Py::List ret;
|
||||
std::vector<App::DocumentObject*> list = getAssemblyLinkPtr()->getJoints();
|
||||
|
||||
for (auto It : list) {
|
||||
ret.append(Py::Object(It->getPyObject(), true));
|
||||
}
|
||||
|
||||
return ret;
|
||||
}
|
||||
2083
src/Mod/Assembly/App/AssemblyObject.cpp
Normal file
285
src/Mod/Assembly/App/AssemblyObject.h
Normal file
@@ -0,0 +1,285 @@
|
||||
// SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
/****************************************************************************
|
||||
* *
|
||||
* Copyright (c) 2023 Ondsel <development@ondsel.com> *
|
||||
* *
|
||||
* This file is part of FreeCAD. *
|
||||
* *
|
||||
* FreeCAD is free software: you can redistribute it and/or modify it *
|
||||
* under the terms of the GNU Lesser General Public License as *
|
||||
* published by the Free Software Foundation, either version 2.1 of the *
|
||||
* License, or (at your option) any later version. *
|
||||
* *
|
||||
* FreeCAD is distributed in the hope that it will be useful, but *
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
|
||||
* Lesser General Public License for more details. *
|
||||
* *
|
||||
* You should have received a copy of the GNU Lesser General Public *
|
||||
* License along with FreeCAD. If not, see *
|
||||
* <https://www.gnu.org/licenses/>. *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <boost/signals2.hpp>
|
||||
|
||||
#include <Mod/Assembly/AssemblyGlobal.h>
|
||||
|
||||
#include <App/FeaturePython.h>
|
||||
#include <App/Part.h>
|
||||
#include <App/PropertyLinks.h>
|
||||
|
||||
#include <OndselSolver/enum.h>
|
||||
|
||||
namespace MbD
|
||||
{
|
||||
class ASMTPart;
|
||||
class ASMTAssembly;
|
||||
class ASMTJoint;
|
||||
class ASMTMarker;
|
||||
class ASMTPart;
|
||||
} // namespace MbD
|
||||
|
||||
namespace App
|
||||
{
|
||||
class PropertyXLinkSub;
|
||||
} // namespace App
|
||||
|
||||
namespace Base
|
||||
{
|
||||
class Placement;
|
||||
class Rotation;
|
||||
} // namespace Base
|
||||
|
||||
|
||||
namespace Assembly
|
||||
{
|
||||
|
||||
class AssemblyLink;
|
||||
class JointGroup;
|
||||
class ViewGroup;
|
||||
enum class JointType;
|
||||
|
||||
|
||||
struct ObjRef
|
||||
{
|
||||
App::DocumentObject* obj;
|
||||
App::PropertyXLinkSub* ref;
|
||||
};
|
||||
|
||||
class AssemblyExport AssemblyObject: public App::Part
|
||||
{
|
||||
PROPERTY_HEADER_WITH_OVERRIDE(Assembly::AssemblyObject);
|
||||
|
||||
public:
|
||||
AssemblyObject();
|
||||
~AssemblyObject() override;
|
||||
|
||||
PyObject* getPyObject() override;
|
||||
|
||||
/// returns the type name of the ViewProvider
|
||||
const char* getViewProviderName() const override
|
||||
{
|
||||
return "AssemblyGui::ViewProviderAssembly";
|
||||
}
|
||||
|
||||
App::DocumentObjectExecReturn* execute() override;
|
||||
void onChanged(const App::Property* prop) override;
|
||||
/* Solve the assembly. It will update first the joints, solve, update placements of the parts
|
||||
and redraw the joints Args : enableRedo : This store initial positions to enable undo while
|
||||
being in an active transaction (joint creation).*/
|
||||
int solve(bool enableRedo = false, bool updateJCS = true);
|
||||
int generateSimulation(App::DocumentObject* sim);
|
||||
int updateForFrame(size_t index, bool updateJCS = true);
|
||||
size_t numberOfFrames();
|
||||
void preDrag(std::vector<App::DocumentObject*> dragParts);
|
||||
void doDragStep();
|
||||
void postDrag();
|
||||
void savePlacementsForUndo();
|
||||
void undoSolve();
|
||||
void clearUndo();
|
||||
|
||||
void exportAsASMT(std::string fileName);
|
||||
|
||||
Base::Placement getMbdPlacement(std::shared_ptr<MbD::ASMTPart> mbdPart);
|
||||
bool validateNewPlacements();
|
||||
void setNewPlacements();
|
||||
static void redrawJointPlacements(std::vector<App::DocumentObject*> joints);
|
||||
static void redrawJointPlacement(App::DocumentObject* joint);
|
||||
|
||||
// This makes sure that LinkGroups or sub-assemblies have identity placements.
|
||||
void ensureIdentityPlacements();
|
||||
|
||||
// Ondsel Solver interface
|
||||
std::shared_ptr<MbD::ASMTAssembly> makeMbdAssembly();
|
||||
void create_mbdSimulationParameters(App::DocumentObject* sim);
|
||||
std::shared_ptr<MbD::ASMTPart> makeMbdPart(
|
||||
std::string& name,
|
||||
Base::Placement plc = Base::Placement(),
|
||||
double mass = 1.0
|
||||
);
|
||||
std::shared_ptr<MbD::ASMTPart> getMbDPart(App::DocumentObject* obj);
|
||||
// To help the solver, during dragging, we are bundling parts connected by a fixed joint.
|
||||
// So several assembly components are bundled in a single ASMTPart.
|
||||
// So we need to store the plc of each bundled object relative to the bundle origin (first obj
|
||||
// of objectPartMap).
|
||||
struct MbDPartData
|
||||
{
|
||||
std::shared_ptr<MbD::ASMTPart> part;
|
||||
Base::Placement offsetPlc; // This is the offset within the bundled parts
|
||||
};
|
||||
MbDPartData getMbDData(App::DocumentObject* part);
|
||||
std::shared_ptr<MbD::ASMTMarker> makeMbdMarker(std::string& name, Base::Placement& plc);
|
||||
std::vector<std::shared_ptr<MbD::ASMTJoint>> makeMbdJoint(App::DocumentObject* joint);
|
||||
std::shared_ptr<MbD::ASMTJoint> makeMbdJointOfType(App::DocumentObject* joint, JointType jointType);
|
||||
std::shared_ptr<MbD::ASMTJoint> makeMbdJointDistance(App::DocumentObject* joint);
|
||||
std::string handleOneSideOfJoint(
|
||||
App::DocumentObject* joint,
|
||||
const char* propRefName,
|
||||
const char* propPlcName
|
||||
);
|
||||
void getRackPinionMarkers(
|
||||
App::DocumentObject* joint,
|
||||
std::string& markerNameI,
|
||||
std::string& markerNameJ
|
||||
);
|
||||
int slidingPartIndex(App::DocumentObject* joint);
|
||||
|
||||
void jointParts(std::vector<App::DocumentObject*> joints);
|
||||
JointGroup* getJointGroup() const;
|
||||
ViewGroup* getExplodedViewGroup() const;
|
||||
template<typename T>
|
||||
T* getGroup();
|
||||
|
||||
std::vector<App::DocumentObject*> getJoints(
|
||||
bool updateJCS = true,
|
||||
bool delBadJoints = false,
|
||||
bool subJoints = true
|
||||
);
|
||||
std::vector<App::DocumentObject*> getGroundedJoints();
|
||||
std::vector<App::DocumentObject*> getJointsOfObj(App::DocumentObject* obj);
|
||||
std::vector<App::DocumentObject*> getJointsOfPart(App::DocumentObject* part);
|
||||
App::DocumentObject* getJointOfPartConnectingToGround(
|
||||
App::DocumentObject* part,
|
||||
std::string& name,
|
||||
const std::vector<App::DocumentObject*>& excludeJoints = {}
|
||||
);
|
||||
std::unordered_set<App::DocumentObject*> getGroundedParts();
|
||||
std::unordered_set<App::DocumentObject*> fixGroundedParts();
|
||||
void fixGroundedPart(App::DocumentObject* obj, Base::Placement& plc, std::string& jointName);
|
||||
|
||||
bool isJointConnectingPartToGround(App::DocumentObject* joint, const char* partPropName);
|
||||
bool isJointTypeConnecting(App::DocumentObject* joint);
|
||||
|
||||
bool isObjInSetOfObjRefs(App::DocumentObject* obj, const std::vector<ObjRef>& pairs);
|
||||
void removeUnconnectedJoints(
|
||||
std::vector<App::DocumentObject*>& joints,
|
||||
std::unordered_set<App::DocumentObject*> groundedObjs
|
||||
);
|
||||
void traverseAndMarkConnectedParts(
|
||||
App::DocumentObject* currentPart,
|
||||
std::vector<ObjRef>& connectedParts,
|
||||
const std::vector<App::DocumentObject*>& joints
|
||||
);
|
||||
std::vector<ObjRef> getConnectedParts(
|
||||
App::DocumentObject* part,
|
||||
const std::vector<App::DocumentObject*>& joints
|
||||
);
|
||||
bool isPartGrounded(App::DocumentObject* part);
|
||||
bool isPartConnected(App::DocumentObject* part);
|
||||
|
||||
std::vector<ObjRef> getDownstreamParts(
|
||||
App::DocumentObject* part,
|
||||
App::DocumentObject* joint = nullptr
|
||||
);
|
||||
App::DocumentObject* getUpstreamMovingPart(
|
||||
App::DocumentObject* part,
|
||||
App::DocumentObject*& joint,
|
||||
std::string& name,
|
||||
std::vector<App::DocumentObject*> excludeJoints = {}
|
||||
);
|
||||
|
||||
double getObjMass(App::DocumentObject* obj);
|
||||
void setObjMasses(std::vector<std::pair<App::DocumentObject*, double>> objectMasses);
|
||||
|
||||
std::vector<AssemblyLink*> getSubAssemblies();
|
||||
|
||||
std::vector<App::DocumentObject*> getMotionsFromSimulation(App::DocumentObject* sim);
|
||||
|
||||
bool isMbDJointValid(App::DocumentObject* joint);
|
||||
|
||||
bool isEmpty() const;
|
||||
int numberOfComponents() const;
|
||||
|
||||
void updateSolveStatus();
|
||||
inline int getLastDoF() const
|
||||
{
|
||||
return lastDoF;
|
||||
}
|
||||
inline bool getLastHasConflicts() const
|
||||
{
|
||||
return lastHasConflict;
|
||||
}
|
||||
inline bool getLastHasRedundancies() const
|
||||
{
|
||||
return lastHasRedundancies;
|
||||
}
|
||||
inline bool getLastHasPartialRedundancies() const
|
||||
{
|
||||
return lastHasPartialRedundancies;
|
||||
}
|
||||
inline bool getLastHasMalformedConstraints() const
|
||||
{
|
||||
return lastHasMalformedConstraints;
|
||||
}
|
||||
inline int getLastSolverStatus() const
|
||||
{
|
||||
return lastSolverStatus;
|
||||
}
|
||||
inline const std::vector<std::string>& getLastConflicting() const
|
||||
{
|
||||
return lastConflictingJoints;
|
||||
}
|
||||
inline const std::vector<std::string>& getLastRedundant() const
|
||||
{
|
||||
return lastRedundantJoints;
|
||||
}
|
||||
inline const std::vector<std::string>& getLastPartiallyRedundant() const
|
||||
{
|
||||
return lastPartialRedundantJoints;
|
||||
}
|
||||
inline const std::vector<std::string>& getLastMalformed() const
|
||||
{
|
||||
return lastMalformedJoints;
|
||||
}
|
||||
fastsignals::signal<void()> signalSolverUpdate;
|
||||
|
||||
private:
|
||||
std::shared_ptr<MbD::ASMTAssembly> mbdAssembly;
|
||||
|
||||
std::unordered_map<App::DocumentObject*, MbDPartData> objectPartMap;
|
||||
std::vector<std::pair<App::DocumentObject*, double>> objMasses;
|
||||
std::vector<App::DocumentObject*> draggedParts;
|
||||
std::vector<App::DocumentObject*> motions;
|
||||
|
||||
std::vector<std::pair<App::DocumentObject*, Base::Placement>> previousPositions;
|
||||
|
||||
bool bundleFixed;
|
||||
|
||||
int lastDoF;
|
||||
bool lastHasConflict;
|
||||
bool lastHasRedundancies;
|
||||
bool lastHasPartialRedundancies;
|
||||
bool lastHasMalformedConstraints;
|
||||
int lastSolverStatus;
|
||||
|
||||
std::vector<std::string> lastRedundantJoints;
|
||||
std::vector<std::string> lastConflictingJoints;
|
||||
std::vector<std::string> lastPartialRedundantJoints;
|
||||
std::vector<std::string> lastMalformedJoints;
|
||||
};
|
||||
|
||||
} // namespace Assembly
|
||||
177
src/Mod/Assembly/App/AssemblyObject.pyi
Normal file
@@ -0,0 +1,177 @@
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from typing import Any, Final
|
||||
|
||||
from Base.Metadata import constmethod, export
|
||||
|
||||
from App.Part import Part
|
||||
from App.DocumentObject import DocumentObject
|
||||
|
||||
@export(Include="Mod/Assembly/App/AssemblyObject.h", Namespace="Assembly")
|
||||
class AssemblyObject(Part):
|
||||
"""
|
||||
This class handles document objects in Assembly
|
||||
|
||||
Author: Ondsel (development@ondsel.com)
|
||||
License: LGPL-2.1-or-later
|
||||
"""
|
||||
|
||||
@constmethod
|
||||
def solve(self, enableUndo: bool = False, /) -> int:
|
||||
"""
|
||||
Solve the assembly and update part placements.
|
||||
|
||||
Args:
|
||||
enableRedo: Whether the solve save the initial position of parts
|
||||
to enable undoing it even without a transaction.
|
||||
Defaults to `False` ie the solve cannot be undone if called
|
||||
outside of a transaction.
|
||||
|
||||
Returns:
|
||||
0 in case of success, otherwise the following codes in this order of
|
||||
priority:
|
||||
-6 if no parts are fixed.
|
||||
-4 if over-constrained,
|
||||
-3 if conflicting constraints,
|
||||
-5 if malformed constraints
|
||||
-1 if solver error,
|
||||
-2 if redundant constraints.
|
||||
"""
|
||||
...
|
||||
|
||||
@constmethod
|
||||
def generateSimulation(self, simulationObject: DocumentObject, /) -> int:
|
||||
"""
|
||||
Generate the simulation.
|
||||
|
||||
Args:
|
||||
simulationObject: The simulation Object.
|
||||
|
||||
Returns:
|
||||
0 in case of success, otherwise the following codes in this order of
|
||||
priority:
|
||||
-6 if no parts are fixed.
|
||||
-4 if over-constrained,
|
||||
-3 if conflicting constraints,
|
||||
-5 if malformed constraints
|
||||
-1 if solver error,
|
||||
-2 if redundant constraints.
|
||||
"""
|
||||
...
|
||||
|
||||
@constmethod
|
||||
def updateForFrame(self, index: int, /) -> None:
|
||||
"""
|
||||
Update entire assembly to frame number specified.
|
||||
|
||||
Args:
|
||||
index: index of frame.
|
||||
|
||||
Returns: None
|
||||
"""
|
||||
...
|
||||
|
||||
@constmethod
|
||||
def numberOfFrames(self) -> int:
|
||||
"""Return Number of frames"""
|
||||
...
|
||||
|
||||
@constmethod
|
||||
def updateSolveStatus(self) -> Any:
|
||||
"""updateSolveStatus()
|
||||
|
||||
Args: None
|
||||
|
||||
Returns: None"""
|
||||
...
|
||||
|
||||
@constmethod
|
||||
def undoSolve(self) -> Any:
|
||||
"""Undo the last solve of the assembly and return part placements to their initial position.
|
||||
|
||||
undoSolve()
|
||||
|
||||
Returns: None"""
|
||||
...
|
||||
|
||||
@constmethod
|
||||
def ensureIdentityPlacements(self) -> None:
|
||||
"""
|
||||
Makes sure that LinkGroups or sub-assemblies have identity placements.
|
||||
"""
|
||||
...
|
||||
|
||||
@constmethod
|
||||
def clearUndo(self) -> None:
|
||||
"""
|
||||
Clear the registered undo positions.
|
||||
"""
|
||||
...
|
||||
|
||||
@constmethod
|
||||
def isPartConnected(self, obj: DocumentObject, /) -> bool:
|
||||
"""
|
||||
Check if a part is connected to the ground through joints.
|
||||
Returns: True if part is connected to ground.
|
||||
"""
|
||||
...
|
||||
|
||||
@constmethod
|
||||
def isJointConnectingPartToGround(self, joint: DocumentObject, prop_name: str, /) -> Any:
|
||||
"""
|
||||
Check if a joint is connecting a part to the ground.
|
||||
|
||||
Args:
|
||||
- joint: document object of the joint to check.
|
||||
- prop_name: string 'Part1' or 'Part2' of the joint.
|
||||
|
||||
Returns: True if part is connected to ground.
|
||||
"""
|
||||
...
|
||||
|
||||
@constmethod
|
||||
def isPartGrounded(self, obj: DocumentObject, /) -> Any:
|
||||
"""
|
||||
Check if a part has a grounded joint.
|
||||
|
||||
Args:
|
||||
- obj: document object of the part to check.
|
||||
|
||||
Returns: True if part has grounded joint.
|
||||
"""
|
||||
...
|
||||
|
||||
@constmethod
|
||||
def exportAsASMT(self, file_name: str, /) -> None:
|
||||
"""
|
||||
Export the assembly in a text format called ASMT.
|
||||
|
||||
Args:
|
||||
- fileName: The name of the file where the ASMT will be exported.
|
||||
"""
|
||||
...
|
||||
|
||||
@constmethod
|
||||
def getDownstreamParts(
|
||||
self, start_part: DocumentObject, joint_to_ignore: DocumentObject, /
|
||||
) -> list[DocumentObject]:
|
||||
"""
|
||||
Finds all parts connected to a start_part that are not connected to ground
|
||||
when a specific joint is ignored.
|
||||
|
||||
This is used to find the entire rigid group of unconstrained components that
|
||||
should be moved together during a pre-solve operation or a drag.
|
||||
|
||||
Args:
|
||||
start_part: The App.DocumentObject to begin the search from.
|
||||
joint_to_ignore: The App.DocumentObject (a joint) to temporarily
|
||||
suppress during the connectivity check.
|
||||
|
||||
Returns:
|
||||
A list of App.DocumentObject instances representing the downstream parts.
|
||||
"""
|
||||
...
|
||||
Joints: Final[list]
|
||||
"""A list of all joints this assembly has."""
|
||||
245
src/Mod/Assembly/App/AssemblyObjectPyImp.cpp
Normal file
@@ -0,0 +1,245 @@
|
||||
// SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
/****************************************************************************
|
||||
* *
|
||||
* Copyright (c) 2024 Ondsel <development@ondsel.com> *
|
||||
* *
|
||||
* This file is part of FreeCAD. *
|
||||
* *
|
||||
* FreeCAD is free software: you can redistribute it and/or modify it *
|
||||
* under the terms of the GNU Lesser General Public License as *
|
||||
* published by the Free Software Foundation, either version 2.1 of the *
|
||||
* License, or (at your option) any later version. *
|
||||
* *
|
||||
* FreeCAD is distributed in the hope that it will be useful, but *
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
|
||||
* Lesser General Public License for more details. *
|
||||
* *
|
||||
* You should have received a copy of the GNU Lesser General Public *
|
||||
* License along with FreeCAD. If not, see *
|
||||
* <https://www.gnu.org/licenses/>. *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
// inclusion of the generated files (generated out of AssemblyObject.xml)
|
||||
#include "AssemblyObjectPy.h"
|
||||
#include "AssemblyObjectPy.cpp"
|
||||
|
||||
using namespace Assembly;
|
||||
|
||||
// returns a string which represents the object e.g. when printed in python
|
||||
std::string AssemblyObjectPy::representation() const
|
||||
{
|
||||
return {"<Assembly object>"};
|
||||
}
|
||||
|
||||
PyObject* AssemblyObjectPy::getCustomAttributes(const char* /*attr*/) const
|
||||
{
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
int AssemblyObjectPy::setCustomAttributes(const char* /*attr*/, PyObject* /*obj*/)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
PyObject* AssemblyObjectPy::solve(PyObject* args) const
|
||||
{
|
||||
PyObject* enableUndoPy;
|
||||
bool enableUndo;
|
||||
|
||||
if (!PyArg_ParseTuple(args, "O!", &PyBool_Type, &enableUndoPy)) {
|
||||
PyErr_Clear();
|
||||
if (!PyArg_ParseTuple(args, "")) {
|
||||
return nullptr;
|
||||
}
|
||||
else {
|
||||
enableUndo = false;
|
||||
}
|
||||
}
|
||||
else {
|
||||
enableUndo = Base::asBoolean(enableUndoPy);
|
||||
}
|
||||
|
||||
int ret = this->getAssemblyObjectPtr()->solve(enableUndo);
|
||||
return Py_BuildValue("i", ret);
|
||||
}
|
||||
|
||||
PyObject* AssemblyObjectPy::generateSimulation(PyObject* args) const
|
||||
{
|
||||
PyObject* pyobj;
|
||||
|
||||
if (!PyArg_ParseTuple(args, "O", &pyobj)) {
|
||||
return nullptr;
|
||||
}
|
||||
auto* obj = static_cast<App::DocumentObjectPy*>(pyobj)->getDocumentObjectPtr();
|
||||
int ret = this->getAssemblyObjectPtr()->generateSimulation(obj);
|
||||
return Py_BuildValue("i", ret);
|
||||
}
|
||||
|
||||
PyObject* AssemblyObjectPy::ensureIdentityPlacements(PyObject* args) const
|
||||
{
|
||||
if (!PyArg_ParseTuple(args, "")) {
|
||||
return nullptr;
|
||||
}
|
||||
this->getAssemblyObjectPtr()->ensureIdentityPlacements();
|
||||
Py_Return;
|
||||
}
|
||||
|
||||
PyObject* AssemblyObjectPy::updateForFrame(PyObject* args) const
|
||||
{
|
||||
unsigned long index {};
|
||||
|
||||
if (!PyArg_ParseTuple(args, "k", &index)) {
|
||||
throw Py::RuntimeError("updateForFrame requires an integer index");
|
||||
}
|
||||
PY_TRY
|
||||
{
|
||||
this->getAssemblyObjectPtr()->updateForFrame(index);
|
||||
}
|
||||
PY_CATCH;
|
||||
|
||||
Py_Return;
|
||||
}
|
||||
|
||||
PyObject* AssemblyObjectPy::numberOfFrames(PyObject* args) const
|
||||
{
|
||||
if (!PyArg_ParseTuple(args, "")) {
|
||||
return nullptr;
|
||||
}
|
||||
size_t ret = this->getAssemblyObjectPtr()->numberOfFrames();
|
||||
return Py_BuildValue("k", ret);
|
||||
}
|
||||
|
||||
PyObject* AssemblyObjectPy::updateSolveStatus(PyObject* args) const
|
||||
{
|
||||
if (!PyArg_ParseTuple(args, "")) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
this->getAssemblyObjectPtr()->updateSolveStatus();
|
||||
Py_Return;
|
||||
}
|
||||
|
||||
PyObject* AssemblyObjectPy::undoSolve(PyObject* args) const
|
||||
{
|
||||
if (!PyArg_ParseTuple(args, "")) {
|
||||
return nullptr;
|
||||
}
|
||||
this->getAssemblyObjectPtr()->undoSolve();
|
||||
Py_Return;
|
||||
}
|
||||
|
||||
PyObject* AssemblyObjectPy::clearUndo(PyObject* args) const
|
||||
{
|
||||
if (!PyArg_ParseTuple(args, "")) {
|
||||
return nullptr;
|
||||
}
|
||||
this->getAssemblyObjectPtr()->clearUndo();
|
||||
Py_Return;
|
||||
}
|
||||
|
||||
PyObject* AssemblyObjectPy::isPartConnected(PyObject* args) const
|
||||
{
|
||||
PyObject* pyobj;
|
||||
|
||||
if (!PyArg_ParseTuple(args, "O!", &(App::DocumentObjectPy::Type), &pyobj)) {
|
||||
return nullptr;
|
||||
}
|
||||
auto* obj = static_cast<App::DocumentObjectPy*>(pyobj)->getDocumentObjectPtr();
|
||||
bool ok = this->getAssemblyObjectPtr()->isPartConnected(obj);
|
||||
return Py_BuildValue("O", (ok ? Py_True : Py_False));
|
||||
}
|
||||
|
||||
PyObject* AssemblyObjectPy::isPartGrounded(PyObject* args) const
|
||||
{
|
||||
PyObject* pyobj;
|
||||
|
||||
if (!PyArg_ParseTuple(args, "O!", &(App::DocumentObjectPy::Type), &pyobj)) {
|
||||
return nullptr;
|
||||
}
|
||||
auto* obj = static_cast<App::DocumentObjectPy*>(pyobj)->getDocumentObjectPtr();
|
||||
bool ok = this->getAssemblyObjectPtr()->isPartGrounded(obj);
|
||||
return Py_BuildValue("O", (ok ? Py_True : Py_False));
|
||||
}
|
||||
|
||||
PyObject* AssemblyObjectPy::isJointConnectingPartToGround(PyObject* args) const
|
||||
{
|
||||
PyObject* pyobj;
|
||||
char* pname;
|
||||
|
||||
if (!PyArg_ParseTuple(args, "O!s", &(App::DocumentObjectPy::Type), &pyobj, &pname)) {
|
||||
return nullptr;
|
||||
}
|
||||
auto* obj = static_cast<App::DocumentObjectPy*>(pyobj)->getDocumentObjectPtr();
|
||||
bool ok = this->getAssemblyObjectPtr()->isJointConnectingPartToGround(obj, pname);
|
||||
return Py_BuildValue("O", (ok ? Py_True : Py_False));
|
||||
}
|
||||
|
||||
PyObject* AssemblyObjectPy::exportAsASMT(PyObject* args) const
|
||||
{
|
||||
char* utf8Name;
|
||||
if (!PyArg_ParseTuple(args, "et", "utf-8", &utf8Name)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
std::string fileName = utf8Name;
|
||||
PyMem_Free(utf8Name);
|
||||
|
||||
if (fileName.empty()) {
|
||||
PyErr_SetString(PyExc_ValueError, "Passed string is empty");
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
this->getAssemblyObjectPtr()->exportAsASMT(fileName);
|
||||
|
||||
Py_Return;
|
||||
}
|
||||
|
||||
Py::List AssemblyObjectPy::getJoints() const
|
||||
{
|
||||
Py::List ret;
|
||||
std::vector<App::DocumentObject*> list = getAssemblyObjectPtr()->getJoints(false);
|
||||
|
||||
for (auto It : list) {
|
||||
ret.append(Py::Object(It->getPyObject(), true));
|
||||
}
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
PyObject* AssemblyObjectPy::getDownstreamParts(PyObject* args) const
|
||||
{
|
||||
PyObject* pyPart;
|
||||
PyObject* pyJoint;
|
||||
|
||||
// Parse the two arguments: a part object and a joint object
|
||||
if (!PyArg_ParseTuple(
|
||||
args,
|
||||
"O!O!",
|
||||
&(App::DocumentObjectPy::Type),
|
||||
&pyPart,
|
||||
&(App::DocumentObjectPy::Type),
|
||||
&pyJoint
|
||||
)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
auto* part = static_cast<App::DocumentObjectPy*>(pyPart)->getDocumentObjectPtr();
|
||||
auto* joint = static_cast<App::DocumentObjectPy*>(pyJoint)->getDocumentObjectPtr();
|
||||
|
||||
// Call the C++ method
|
||||
std::vector<Assembly::ObjRef> downstreamParts
|
||||
= this->getAssemblyObjectPtr()->getDownstreamParts(part, joint);
|
||||
|
||||
// Convert the result into a Python list of DocumentObjects
|
||||
Py::List ret;
|
||||
for (const auto& objRef : downstreamParts) {
|
||||
if (objRef.obj) {
|
||||
ret.append(Py::Object(objRef.obj->getPyObject(), true));
|
||||
}
|
||||
}
|
||||
|
||||
return Py::new_reference_to(ret);
|
||||
}
|
||||
811
src/Mod/Assembly/App/AssemblyUtils.cpp
Normal file
@@ -0,0 +1,811 @@
|
||||
// SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
/****************************************************************************
|
||||
* *
|
||||
* Copyright (c) 2023 Ondsel <development@ondsel.com> *
|
||||
* *
|
||||
* This file is part of FreeCAD. *
|
||||
* *
|
||||
* FreeCAD is free software: you can redistribute it and/or modify it *
|
||||
* under the terms of the GNU Lesser General Public License as *
|
||||
* published by the Free Software Foundation, either version 2.1 of the *
|
||||
* License, or (at your option) any later version. *
|
||||
* *
|
||||
* FreeCAD is distributed in the hope that it will be useful, but *
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
|
||||
* Lesser General Public License for more details. *
|
||||
* *
|
||||
* You should have received a copy of the GNU Lesser General Public *
|
||||
* License along with FreeCAD. If not, see *
|
||||
* <https://www.gnu.org/licenses/>. *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
#include <BRepAdaptor_Curve.hxx>
|
||||
#include <BRepAdaptor_Surface.hxx>
|
||||
#include <TopoDS.hxx>
|
||||
#include <TopoDS_Face.hxx>
|
||||
#include <gp_Circ.hxx>
|
||||
#include <gp_Cylinder.hxx>
|
||||
#include <gp_Sphere.hxx>
|
||||
|
||||
|
||||
#include <App/Application.h>
|
||||
#include <App/Datums.h>
|
||||
#include <App/Document.h>
|
||||
#include <App/DocumentObject.h>
|
||||
#include <App/PropertyStandard.h>
|
||||
#include <App/Link.h>
|
||||
|
||||
#include <Base/Placement.h>
|
||||
#include <Base/Tools.h>
|
||||
#include <Base/Interpreter.h>
|
||||
|
||||
#include <Mod/Part/App/DatumFeature.h>
|
||||
#include <Mod/Part/App/PartFeature.h>
|
||||
#include <Mod/PartDesign/App/Body.h>
|
||||
|
||||
#include "AssemblyUtils.h"
|
||||
#include "AssemblyObject.h"
|
||||
#include "AssemblyLink.h"
|
||||
|
||||
#include "JointGroup.h"
|
||||
|
||||
|
||||
namespace PartApp = Part;
|
||||
|
||||
// ======================================= Utils ======================================
|
||||
namespace Assembly
|
||||
{
|
||||
|
||||
void swapJCS(const App::DocumentObject* joint)
|
||||
{
|
||||
if (!joint) {
|
||||
return;
|
||||
}
|
||||
|
||||
auto pPlc1 = joint->getPropertyByName<App::PropertyPlacement>("Placement1");
|
||||
auto pPlc2 = joint->getPropertyByName<App::PropertyPlacement>("Placement2");
|
||||
if (pPlc1 && pPlc2) {
|
||||
const auto temp = pPlc1->getValue();
|
||||
pPlc1->setValue(pPlc2->getValue());
|
||||
pPlc2->setValue(temp);
|
||||
}
|
||||
auto pRef1 = joint->getPropertyByName<App::PropertyXLinkSub>("Reference1");
|
||||
auto pRef2 = joint->getPropertyByName<App::PropertyXLinkSub>("Reference2");
|
||||
if (pRef1 && pRef2) {
|
||||
auto temp = pRef1->getValue();
|
||||
auto subs1 = pRef1->getSubValues();
|
||||
auto subs2 = pRef2->getSubValues();
|
||||
pRef1->setValue(pRef2->getValue());
|
||||
pRef1->setSubValues(std::move(subs2));
|
||||
pRef2->setValue(temp);
|
||||
pRef2->setSubValues(std::move(subs1));
|
||||
}
|
||||
}
|
||||
|
||||
bool isEdgeType(const App::DocumentObject* obj, const std::string& elName, const GeomAbs_CurveType type)
|
||||
{
|
||||
auto* base = dynamic_cast<const PartApp::Feature*>(obj);
|
||||
if (!base) {
|
||||
return false;
|
||||
}
|
||||
|
||||
const auto& TopShape = base->Shape.getShape();
|
||||
|
||||
// Check for valid face types
|
||||
const auto edge = TopoDS::Edge(TopShape.getSubShape(elName.c_str()));
|
||||
BRepAdaptor_Curve sf(edge);
|
||||
|
||||
return sf.GetType() == type;
|
||||
}
|
||||
|
||||
bool isFaceType(const App::DocumentObject* obj, const std::string& elName, const GeomAbs_SurfaceType type)
|
||||
{
|
||||
auto* base = dynamic_cast<const PartApp::Feature*>(obj);
|
||||
if (!base) {
|
||||
return false;
|
||||
}
|
||||
|
||||
const auto TopShape = base->Shape.getShape();
|
||||
|
||||
// Check for valid face types
|
||||
const auto face = TopoDS::Face(TopShape.getSubShape(elName.c_str()));
|
||||
BRepAdaptor_Surface sf(face);
|
||||
|
||||
return sf.GetType() == type;
|
||||
}
|
||||
|
||||
double getFaceRadius(const App::DocumentObject* obj, const std::string& elt)
|
||||
{
|
||||
auto* base = dynamic_cast<const PartApp::Feature*>(obj);
|
||||
if (!base) {
|
||||
return 0.0;
|
||||
}
|
||||
|
||||
const PartApp::TopoShape& TopShape = base->Shape.getShape();
|
||||
|
||||
// Check for valid face types
|
||||
TopoDS_Face face = TopoDS::Face(TopShape.getSubShape(elt.c_str()));
|
||||
BRepAdaptor_Surface sf(face);
|
||||
|
||||
const auto type = sf.GetType();
|
||||
return type == GeomAbs_Cylinder ? sf.Cylinder().Radius()
|
||||
: type == GeomAbs_Sphere ? sf.Sphere().Radius()
|
||||
: 0.0;
|
||||
}
|
||||
|
||||
double getEdgeRadius(const App::DocumentObject* obj, const std::string& elt)
|
||||
{
|
||||
auto* base = dynamic_cast<const PartApp::Feature*>(obj);
|
||||
if (!base) {
|
||||
return 0.0;
|
||||
}
|
||||
|
||||
const auto& TopShape = base->Shape.getShape();
|
||||
|
||||
// Check for valid face types
|
||||
const auto edge = TopoDS::Edge(TopShape.getSubShape(elt.c_str()));
|
||||
BRepAdaptor_Curve sf(edge);
|
||||
|
||||
return sf.GetType() == GeomAbs_Circle ? sf.Circle().Radius() : 0.0;
|
||||
}
|
||||
|
||||
DistanceType getDistanceType(App::DocumentObject* joint)
|
||||
{
|
||||
if (!joint) {
|
||||
return DistanceType::Other;
|
||||
}
|
||||
|
||||
const auto type1 = getElementTypeFromProp(joint, "Reference1");
|
||||
const auto type2 = getElementTypeFromProp(joint, "Reference2");
|
||||
auto elt1 = getElementFromProp(joint, "Reference1");
|
||||
auto elt2 = getElementFromProp(joint, "Reference2");
|
||||
auto* obj1 = getLinkedObjFromRef(joint, "Reference1");
|
||||
auto* obj2 = getLinkedObjFromRef(joint, "Reference2");
|
||||
|
||||
if (type1 == "Vertex" && type2 == "Vertex") {
|
||||
return DistanceType::PointPoint;
|
||||
}
|
||||
else if (type1 == "Edge" && type2 == "Edge") {
|
||||
if (isEdgeType(obj1, elt1, GeomAbs_Line) || isEdgeType(obj2, elt2, GeomAbs_Line)) {
|
||||
if (!isEdgeType(obj1, elt1, GeomAbs_Line)) {
|
||||
swapJCS(joint); // make sure that line is first if not 2 lines.
|
||||
std::swap(elt1, elt2);
|
||||
std::swap(obj1, obj2);
|
||||
}
|
||||
|
||||
if (isEdgeType(obj2, elt2, GeomAbs_Line)) {
|
||||
return DistanceType::LineLine;
|
||||
}
|
||||
else if (isEdgeType(obj2, elt2, GeomAbs_Circle)) {
|
||||
return DistanceType::LineCircle;
|
||||
}
|
||||
// TODO : other cases Ellipse, parabola, hyperbola...
|
||||
}
|
||||
|
||||
else if (isEdgeType(obj1, elt1, GeomAbs_Circle) || isEdgeType(obj2, elt2, GeomAbs_Circle)) {
|
||||
if (!isEdgeType(obj1, elt1, GeomAbs_Circle)) {
|
||||
swapJCS(joint); // make sure that circle is first if not 2 lines.
|
||||
std::swap(elt1, elt2);
|
||||
std::swap(obj1, obj2);
|
||||
}
|
||||
|
||||
if (isEdgeType(obj2, elt2, GeomAbs_Circle)) {
|
||||
return DistanceType::CircleCircle;
|
||||
}
|
||||
// TODO : other cases Ellipse, parabola, hyperbola...
|
||||
}
|
||||
}
|
||||
else if (type1 == "Face" && type2 == "Face") {
|
||||
if (isFaceType(obj1, elt1, GeomAbs_Plane) || isFaceType(obj2, elt2, GeomAbs_Plane)) {
|
||||
if (!isFaceType(obj1, elt1, GeomAbs_Plane)) {
|
||||
swapJCS(joint); // make sure plane is first if its not 2 planes.
|
||||
std::swap(elt1, elt2);
|
||||
std::swap(obj1, obj2);
|
||||
}
|
||||
|
||||
if (isFaceType(obj2, elt2, GeomAbs_Plane)) {
|
||||
return DistanceType::PlanePlane;
|
||||
}
|
||||
else if (isFaceType(obj2, elt2, GeomAbs_Cylinder)) {
|
||||
return DistanceType::PlaneCylinder;
|
||||
}
|
||||
else if (isFaceType(obj2, elt2, GeomAbs_Sphere)) {
|
||||
return DistanceType::PlaneSphere;
|
||||
}
|
||||
else if (isFaceType(obj2, elt2, GeomAbs_Cone)) {
|
||||
return DistanceType::PlaneCone;
|
||||
}
|
||||
else if (isFaceType(obj2, elt2, GeomAbs_Torus)) {
|
||||
return DistanceType::PlaneTorus;
|
||||
}
|
||||
}
|
||||
|
||||
else if (isFaceType(obj1, elt1, GeomAbs_Cylinder)
|
||||
|| isFaceType(obj2, elt2, GeomAbs_Cylinder)) {
|
||||
if (!isFaceType(obj1, elt1, GeomAbs_Cylinder)) {
|
||||
swapJCS(joint); // make sure cylinder is first if its not 2 cylinders.
|
||||
std::swap(elt1, elt2);
|
||||
std::swap(obj1, obj2);
|
||||
}
|
||||
|
||||
if (isFaceType(obj2, elt2, GeomAbs_Cylinder)) {
|
||||
return DistanceType::CylinderCylinder;
|
||||
}
|
||||
else if (isFaceType(obj2, elt2, GeomAbs_Sphere)) {
|
||||
return DistanceType::CylinderSphere;
|
||||
}
|
||||
else if (isFaceType(obj2, elt2, GeomAbs_Cone)) {
|
||||
return DistanceType::CylinderCone;
|
||||
}
|
||||
else if (isFaceType(obj2, elt2, GeomAbs_Torus)) {
|
||||
return DistanceType::CylinderTorus;
|
||||
}
|
||||
}
|
||||
|
||||
else if (isFaceType(obj1, elt1, GeomAbs_Cone) || isFaceType(obj2, elt2, GeomAbs_Cone)) {
|
||||
if (!isFaceType(obj1, elt1, GeomAbs_Cone)) {
|
||||
swapJCS(joint); // make sure cone is first if its not 2 cones.
|
||||
std::swap(elt1, elt2);
|
||||
std::swap(obj1, obj2);
|
||||
}
|
||||
|
||||
if (isFaceType(obj2, elt2, GeomAbs_Cone)) {
|
||||
return DistanceType::ConeCone;
|
||||
}
|
||||
else if (isFaceType(obj2, elt2, GeomAbs_Torus)) {
|
||||
return DistanceType::ConeTorus;
|
||||
}
|
||||
else if (isFaceType(obj2, elt2, GeomAbs_Sphere)) {
|
||||
return DistanceType::ConeSphere;
|
||||
}
|
||||
}
|
||||
|
||||
else if (isFaceType(obj1, elt1, GeomAbs_Torus) || isFaceType(obj2, elt2, GeomAbs_Torus)) {
|
||||
if (!isFaceType(obj1, elt1, GeomAbs_Torus)) {
|
||||
swapJCS(joint); // make sure torus is first if its not 2 torus.
|
||||
std::swap(elt1, elt2);
|
||||
std::swap(obj1, obj2);
|
||||
}
|
||||
|
||||
if (isFaceType(obj2, elt2, GeomAbs_Torus)) {
|
||||
return DistanceType::TorusTorus;
|
||||
}
|
||||
else if (isFaceType(obj2, elt2, GeomAbs_Sphere)) {
|
||||
return DistanceType::TorusSphere;
|
||||
}
|
||||
}
|
||||
|
||||
else if (isFaceType(obj1, elt1, GeomAbs_Sphere) || isFaceType(obj2, elt2, GeomAbs_Sphere)) {
|
||||
if (!isFaceType(obj1, elt1, GeomAbs_Sphere)) {
|
||||
swapJCS(joint); // make sure sphere is first if its not 2 spheres.
|
||||
std::swap(elt1, elt2);
|
||||
std::swap(obj1, obj2);
|
||||
}
|
||||
|
||||
if (isFaceType(obj2, elt2, GeomAbs_Sphere)) {
|
||||
return DistanceType::SphereSphere;
|
||||
}
|
||||
}
|
||||
}
|
||||
else if ((type1 == "Vertex" && type2 == "Face") || (type1 == "Face" && type2 == "Vertex")) {
|
||||
if (type1 == "Vertex") { // Make sure face is the first.
|
||||
swapJCS(joint);
|
||||
std::swap(elt1, elt2);
|
||||
std::swap(obj1, obj2);
|
||||
}
|
||||
if (isFaceType(obj1, elt1, GeomAbs_Plane)) {
|
||||
return DistanceType::PointPlane;
|
||||
}
|
||||
else if (isFaceType(obj1, elt1, GeomAbs_Cylinder)) {
|
||||
return DistanceType::PointCylinder;
|
||||
}
|
||||
else if (isFaceType(obj1, elt1, GeomAbs_Sphere)) {
|
||||
return DistanceType::PointSphere;
|
||||
}
|
||||
else if (isFaceType(obj1, elt1, GeomAbs_Cone)) {
|
||||
return DistanceType::PointCone;
|
||||
}
|
||||
else if (isFaceType(obj1, elt1, GeomAbs_Torus)) {
|
||||
return DistanceType::PointTorus;
|
||||
}
|
||||
}
|
||||
else if ((type1 == "Edge" && type2 == "Face") || (type1 == "Face" && type2 == "Edge")) {
|
||||
if (type1 == "Edge") { // Make sure face is the first.
|
||||
swapJCS(joint);
|
||||
std::swap(elt1, elt2);
|
||||
std::swap(obj1, obj2);
|
||||
}
|
||||
if (isEdgeType(obj2, elt2, GeomAbs_Line)) {
|
||||
if (isFaceType(obj1, elt1, GeomAbs_Plane)) {
|
||||
return DistanceType::LinePlane;
|
||||
}
|
||||
else if (isFaceType(obj1, elt1, GeomAbs_Cylinder)) {
|
||||
return DistanceType::LineCylinder;
|
||||
}
|
||||
else if (isFaceType(obj1, elt1, GeomAbs_Sphere)) {
|
||||
return DistanceType::LineSphere;
|
||||
}
|
||||
else if (isFaceType(obj1, elt1, GeomAbs_Cone)) {
|
||||
return DistanceType::LineCone;
|
||||
}
|
||||
else if (isFaceType(obj1, elt1, GeomAbs_Torus)) {
|
||||
return DistanceType::LineTorus;
|
||||
}
|
||||
}
|
||||
else {
|
||||
// For other curves we consider them as planes for now. Can be refined later.
|
||||
if (isFaceType(obj1, elt1, GeomAbs_Plane)) {
|
||||
return DistanceType::CurvePlane;
|
||||
}
|
||||
else if (isFaceType(obj1, elt1, GeomAbs_Cylinder)) {
|
||||
return DistanceType::CurveCylinder;
|
||||
}
|
||||
else if (isFaceType(obj1, elt1, GeomAbs_Sphere)) {
|
||||
return DistanceType::CurveSphere;
|
||||
}
|
||||
else if (isFaceType(obj1, elt1, GeomAbs_Cone)) {
|
||||
return DistanceType::CurveCone;
|
||||
}
|
||||
else if (isFaceType(obj1, elt1, GeomAbs_Torus)) {
|
||||
return DistanceType::CurveTorus;
|
||||
}
|
||||
}
|
||||
}
|
||||
else if ((type1 == "Vertex" && type2 == "Edge") || (type1 == "Edge" && type2 == "Vertex")) {
|
||||
if (type1 == "Vertex") { // Make sure edge is the first.
|
||||
swapJCS(joint);
|
||||
std::swap(elt1, elt2);
|
||||
std::swap(obj1, obj2);
|
||||
}
|
||||
if (isEdgeType(obj1, elt1, GeomAbs_Line)) { // Point on line joint.
|
||||
return DistanceType::PointLine;
|
||||
}
|
||||
else {
|
||||
// For other curves we do a point in plane-of-the-curve.
|
||||
// Maybe it would be best tangent / distance to the conic? For arcs and
|
||||
// circles we could use ASMTRevSphJoint. But is it better than pointInPlane?
|
||||
return DistanceType::PointCurve;
|
||||
}
|
||||
}
|
||||
return DistanceType::Other;
|
||||
}
|
||||
|
||||
JointGroup* getJointGroup(const App::Part* part)
|
||||
{
|
||||
if (!part) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
const auto* doc = part->getDocument();
|
||||
|
||||
const auto jointGroups = doc->getObjectsOfType(JointGroup::getClassTypeId());
|
||||
if (jointGroups.empty()) {
|
||||
return nullptr;
|
||||
}
|
||||
for (auto jointGroup : jointGroups) {
|
||||
if (part->hasObject(jointGroup)) {
|
||||
return freecad_cast<JointGroup*>(jointGroup);
|
||||
}
|
||||
}
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
void setJointActivated(const App::DocumentObject* joint, bool val)
|
||||
{
|
||||
if (!joint) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (auto propSuppressed = joint->getPropertyByName<App::PropertyBool>("Suppressed")) {
|
||||
propSuppressed->setValue(!val);
|
||||
}
|
||||
}
|
||||
|
||||
bool getJointActivated(const App::DocumentObject* joint)
|
||||
{
|
||||
if (!joint) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (const auto propActivated = joint->getPropertyByName<App::PropertyBool>("Suppressed")) {
|
||||
return !propActivated->getValue();
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
double getJointDistance(const App::DocumentObject* joint, const char* propertyName)
|
||||
{
|
||||
if (!joint) {
|
||||
return 0.0;
|
||||
}
|
||||
|
||||
const auto* prop = joint->getPropertyByName<App::PropertyFloat>(propertyName);
|
||||
if (!prop) {
|
||||
return 0.0;
|
||||
}
|
||||
|
||||
return prop->getValue();
|
||||
}
|
||||
|
||||
double getJointAngle(const App::DocumentObject* joint)
|
||||
{
|
||||
return getJointDistance(joint, "Angle");
|
||||
}
|
||||
|
||||
double getJointDistance(const App::DocumentObject* joint)
|
||||
{
|
||||
return getJointDistance(joint, "Distance");
|
||||
}
|
||||
|
||||
double getJointDistance2(const App::DocumentObject* joint)
|
||||
{
|
||||
return getJointDistance(joint, "Distance2");
|
||||
}
|
||||
|
||||
JointType getJointType(const App::DocumentObject* joint)
|
||||
{
|
||||
if (!joint) {
|
||||
return JointType::Fixed;
|
||||
}
|
||||
|
||||
const auto* prop = joint->getPropertyByName<App::PropertyEnumeration>("JointType");
|
||||
if (!prop) {
|
||||
return JointType::Fixed;
|
||||
}
|
||||
|
||||
return static_cast<JointType>(prop->getValue());
|
||||
}
|
||||
|
||||
std::vector<std::string> getSubAsList(const App::PropertyXLinkSub* prop)
|
||||
{
|
||||
if (!prop) {
|
||||
return {};
|
||||
}
|
||||
|
||||
const auto subs = prop->getSubValues();
|
||||
if (subs.empty()) {
|
||||
return {};
|
||||
}
|
||||
|
||||
return Base::Tools::splitSubName(subs[0]);
|
||||
}
|
||||
|
||||
std::vector<std::string> getSubAsList(const App::DocumentObject* obj, const char* pName)
|
||||
{
|
||||
if (!obj) {
|
||||
return {};
|
||||
}
|
||||
return getSubAsList(obj->getPropertyByName<App::PropertyXLinkSub>(pName));
|
||||
}
|
||||
|
||||
std::string getElementFromProp(const App::DocumentObject* obj, const char* pName)
|
||||
{
|
||||
if (!obj) {
|
||||
return "";
|
||||
}
|
||||
|
||||
const auto names = getSubAsList(obj, pName);
|
||||
if (names.empty()) {
|
||||
return "";
|
||||
}
|
||||
|
||||
return names.back();
|
||||
}
|
||||
|
||||
std::string getElementTypeFromProp(const App::DocumentObject* obj, const char* propName)
|
||||
{
|
||||
// The prop is going to be something like 'Edge14' or 'Face7'. We need 'Edge' or 'Face'
|
||||
std::string elementType;
|
||||
for (const char ch : getElementFromProp(obj, propName)) {
|
||||
if (std::isalpha(ch)) {
|
||||
elementType += ch;
|
||||
}
|
||||
}
|
||||
return elementType;
|
||||
}
|
||||
|
||||
App::DocumentObject* getObjFromProp(const App::DocumentObject* joint, const char* pName)
|
||||
{
|
||||
if (!joint) {
|
||||
return {};
|
||||
}
|
||||
|
||||
const auto* propObj = joint->getPropertyByName<App::PropertyLink>(pName);
|
||||
if (!propObj) {
|
||||
return {};
|
||||
}
|
||||
|
||||
return propObj->getValue();
|
||||
}
|
||||
|
||||
App::DocumentObject* getObjFromRef(App::DocumentObject* comp, const std::string& sub)
|
||||
{
|
||||
if (!comp) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
const auto* doc = comp->getDocument();
|
||||
auto names = Base::Tools::splitSubName(sub);
|
||||
names.insert(names.begin(), comp->getNameInDocument());
|
||||
|
||||
if (names.size() <= 2) {
|
||||
return comp;
|
||||
}
|
||||
|
||||
// Lambda function to check if the typeId is a BodySubObject
|
||||
const auto isBodySubObject = [](App::DocumentObject* obj) -> bool {
|
||||
// PartDesign::Point + Line + Plane + CoordinateSystem
|
||||
// getViewProviderName instead of isDerivedFrom to avoid dependency on sketcher
|
||||
const auto isDerivedFromVpSketch
|
||||
= strcmp(obj->getViewProviderName(), "SketcherGui::ViewProviderSketch") == 0;
|
||||
return isDerivedFromVpSketch || obj->isDerivedFrom<PartApp::Datum>()
|
||||
|| obj->isDerivedFrom<App::DatumElement>()
|
||||
|| obj->isDerivedFrom<App::LocalCoordinateSystem>();
|
||||
};
|
||||
|
||||
// Helper function to handle PartDesign::Body objects
|
||||
const auto handlePartDesignBody =
|
||||
[&](App::DocumentObject* obj,
|
||||
std::vector<std::string>::const_iterator it) -> App::DocumentObject* {
|
||||
auto nextIt = std::next(it);
|
||||
if (nextIt != names.end()) {
|
||||
for (auto* obji : obj->getOutList()) {
|
||||
if (*nextIt == obji->getNameInDocument() && isBodySubObject(obji)) {
|
||||
// if obji is a LCS then perhaps we need to resolve one more level
|
||||
if (auto* lcs = freecad_cast<App::LocalCoordinateSystem*>(obji)) {
|
||||
nextIt = std::next(nextIt);
|
||||
if (nextIt != names.end()) {
|
||||
for (auto* objj : lcs->baseObjects()) {
|
||||
if (*nextIt == objj->getNameInDocument()
|
||||
&& objj->isDerivedFrom<App::DatumElement>()) {
|
||||
return objj;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
return obji;
|
||||
}
|
||||
}
|
||||
}
|
||||
return obj;
|
||||
};
|
||||
|
||||
|
||||
for (auto it = names.begin(); it != names.end(); ++it) {
|
||||
App::DocumentObject* obj = doc->getObject(it->c_str());
|
||||
if (!obj) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
if (obj->isDerivedFrom<App::DocumentObjectGroup>()) {
|
||||
continue;
|
||||
}
|
||||
|
||||
// The last but one name should be the selected
|
||||
if (std::next(it) == std::prev(names.end())) {
|
||||
return obj;
|
||||
}
|
||||
|
||||
if (obj->isDerivedFrom<App::Part>() || obj->isLinkGroup()) {
|
||||
continue;
|
||||
}
|
||||
else if (obj->isDerivedFrom<PartDesign::Body>()) {
|
||||
return handlePartDesignBody(obj, it);
|
||||
}
|
||||
else if (obj->isDerivedFrom<PartApp::Feature>()) {
|
||||
// Primitive, fastener, gear, etc.
|
||||
return obj;
|
||||
}
|
||||
else if (obj->isLink()) {
|
||||
App::DocumentObject* linked_obj = obj->getLinkedObject();
|
||||
if (linked_obj->isDerivedFrom<PartDesign::Body>()) {
|
||||
auto* retObj = handlePartDesignBody(linked_obj, it);
|
||||
return retObj == linked_obj ? obj : retObj;
|
||||
}
|
||||
else if (linked_obj->isDerivedFrom<PartApp::Feature>()) {
|
||||
return obj;
|
||||
}
|
||||
else {
|
||||
doc = linked_obj->getDocument();
|
||||
continue;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
App::DocumentObject* getObjFromRef(const App::PropertyXLinkSub* prop)
|
||||
{
|
||||
if (!prop) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
App::DocumentObject* obj = prop->getValue();
|
||||
if (!obj) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
const std::vector<std::string> subs = prop->getSubValues();
|
||||
if (subs.empty()) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
return getObjFromRef(obj, subs[0]);
|
||||
}
|
||||
|
||||
App::DocumentObject* getObjFromJointRef(const App::DocumentObject* joint, const char* pName)
|
||||
{
|
||||
if (!joint) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
const auto* prop = joint->getPropertyByName<App::PropertyXLinkSub>(pName);
|
||||
return getObjFromRef(prop);
|
||||
}
|
||||
|
||||
App::DocumentObject* getLinkedObjFromRef(const App::DocumentObject* joint, const char* pObj)
|
||||
{
|
||||
if (!joint) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
if (const auto* obj = getObjFromJointRef(joint, pObj)) {
|
||||
return obj->getLinkedObject(true);
|
||||
}
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
App::DocumentObject* getMovingPartFromSel(
|
||||
const AssemblyObject* assemblyObject,
|
||||
App::DocumentObject* obj,
|
||||
const std::string& sub
|
||||
)
|
||||
{
|
||||
if (!obj) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
auto* doc = obj->getDocument();
|
||||
|
||||
auto names = Base::Tools::splitSubName(sub);
|
||||
names.insert(names.begin(), obj->getNameInDocument());
|
||||
|
||||
bool assemblyPassed = false;
|
||||
|
||||
for (const auto& objName : names) {
|
||||
obj = doc->getObject(objName.c_str());
|
||||
if (!obj) {
|
||||
continue;
|
||||
}
|
||||
|
||||
if (obj->isLink()) { // update the document if necessary for next object
|
||||
doc = obj->getLinkedObject()->getDocument();
|
||||
}
|
||||
|
||||
if (obj == assemblyObject) {
|
||||
// We make sure we pass the assembly for cases like part.assembly.part.body
|
||||
assemblyPassed = true;
|
||||
continue;
|
||||
}
|
||||
if (!assemblyPassed) {
|
||||
continue;
|
||||
}
|
||||
|
||||
if (obj->isDerivedFrom<App::DocumentObjectGroup>()) {
|
||||
continue; // we ignore groups.
|
||||
}
|
||||
|
||||
if (obj->isLinkGroup()) {
|
||||
continue;
|
||||
}
|
||||
|
||||
// We ignore dynamic sub-assemblies.
|
||||
if (obj->isDerivedFrom<Assembly::AssemblyLink>()) {
|
||||
const auto* pRigid = obj->getPropertyByName<App::PropertyBool>("Rigid");
|
||||
if (pRigid && !pRigid->getValue()) {
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
||||
return obj;
|
||||
}
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
App::DocumentObject* getMovingPartFromRef(App::PropertyXLinkSub* prop)
|
||||
{
|
||||
if (!prop) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
return prop->getValue();
|
||||
}
|
||||
|
||||
App::DocumentObject* getMovingPartFromRef(App::DocumentObject* joint, const char* pName)
|
||||
{
|
||||
if (!joint) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
auto* prop = joint->getPropertyByName<App::PropertyXLinkSub>(pName);
|
||||
return getMovingPartFromRef(prop);
|
||||
}
|
||||
|
||||
void syncPlacements(App::DocumentObject* src, App::DocumentObject* to)
|
||||
{
|
||||
auto* plcPropSource = dynamic_cast<App::PropertyPlacement*>(src->getPropertyByName("Placement"));
|
||||
auto* plcPropLink = dynamic_cast<App::PropertyPlacement*>(to->getPropertyByName("Placement"));
|
||||
|
||||
if (plcPropSource && plcPropLink) {
|
||||
if (!plcPropSource->getValue().isSame(plcPropLink->getValue())) {
|
||||
plcPropLink->setValue(plcPropSource->getValue());
|
||||
}
|
||||
}
|
||||
}
|
||||
namespace
|
||||
{
|
||||
// Helper function to perform the recursive traversal. Kept in an anonymous
|
||||
// namespace as it's an implementation detail of getAssemblyComponents.
|
||||
void collectComponentsRecursively(
|
||||
const std::vector<App::DocumentObject*>& objects,
|
||||
std::vector<App::DocumentObject*>& results
|
||||
)
|
||||
{
|
||||
for (auto* obj : objects) {
|
||||
if (!obj) {
|
||||
continue;
|
||||
}
|
||||
|
||||
if (auto* asmLink = freecad_cast<Assembly::AssemblyLink*>(obj)) {
|
||||
// If the sub-assembly is rigid, treat it as a single movable part.
|
||||
// If it's flexible, we need to check its individual components.
|
||||
if (asmLink->isRigid()) {
|
||||
results.push_back(asmLink);
|
||||
}
|
||||
else {
|
||||
collectComponentsRecursively(asmLink->Group.getValues(), results);
|
||||
}
|
||||
continue;
|
||||
}
|
||||
else if (obj->isLinkGroup()) {
|
||||
auto* linkGroup = static_cast<App::Link*>(obj);
|
||||
for (auto* elt : linkGroup->ElementList.getValues()) {
|
||||
results.push_back(elt);
|
||||
}
|
||||
continue;
|
||||
}
|
||||
else if (auto* group = freecad_cast<App::DocumentObjectGroup*>(obj)) {
|
||||
collectComponentsRecursively(group->Group.getValues(), results);
|
||||
continue;
|
||||
}
|
||||
else if (auto* link = freecad_cast<App::Link*>(obj)) {
|
||||
obj = link->getLinkedObject();
|
||||
if (obj->isDerivedFrom<App::GeoFeature>()
|
||||
&& !obj->isDerivedFrom<App::LocalCoordinateSystem>()) {
|
||||
results.push_back(link);
|
||||
}
|
||||
}
|
||||
|
||||
else if (obj->isDerivedFrom<App::GeoFeature>()
|
||||
&& !obj->isDerivedFrom<App::LocalCoordinateSystem>()) {
|
||||
results.push_back(obj);
|
||||
}
|
||||
}
|
||||
}
|
||||
} // namespace
|
||||
|
||||
std::vector<App::DocumentObject*> getAssemblyComponents(const AssemblyObject* assembly)
|
||||
{
|
||||
if (!assembly) {
|
||||
return {};
|
||||
}
|
||||
|
||||
std::vector<App::DocumentObject*> components;
|
||||
collectComponentsRecursively(assembly->Group.getValues(), components);
|
||||
return components;
|
||||
}
|
||||
|
||||
} // namespace Assembly
|
||||
192
src/Mod/Assembly/App/AssemblyUtils.h
Normal file
@@ -0,0 +1,192 @@
|
||||
// SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
/****************************************************************************
|
||||
* *
|
||||
* Copyright (c) 2023 Ondsel <development@ondsel.com> *
|
||||
* *
|
||||
* This file is part of FreeCAD. *
|
||||
* *
|
||||
* FreeCAD is free software: you can redistribute it and/or modify it *
|
||||
* under the terms of the GNU Lesser General Public License as *
|
||||
* published by the Free Software Foundation, either version 2.1 of the *
|
||||
* License, or (at your option) any later version. *
|
||||
* *
|
||||
* FreeCAD is distributed in the hope that it will be useful, but *
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
|
||||
* Lesser General Public License for more details. *
|
||||
* *
|
||||
* You should have received a copy of the GNU Lesser General Public *
|
||||
* License along with FreeCAD. If not, see *
|
||||
* <https://www.gnu.org/licenses/>. *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <GeomAbs_CurveType.hxx>
|
||||
#include <GeomAbs_SurfaceType.hxx>
|
||||
|
||||
#include <Mod/Assembly/AssemblyGlobal.h>
|
||||
|
||||
#include <App/FeaturePython.h>
|
||||
#include <App/Part.h>
|
||||
|
||||
namespace App
|
||||
{
|
||||
class DocumentObject;
|
||||
} // namespace App
|
||||
|
||||
namespace Base
|
||||
{
|
||||
class Placement;
|
||||
} // namespace Base
|
||||
|
||||
namespace Assembly
|
||||
{
|
||||
|
||||
// This enum has to be the same as the one in JointObject.py
|
||||
enum class JointType
|
||||
{
|
||||
Fixed,
|
||||
Revolute,
|
||||
Cylindrical,
|
||||
Slider,
|
||||
Ball,
|
||||
Distance,
|
||||
Parallel,
|
||||
Perpendicular,
|
||||
Angle,
|
||||
RackPinion,
|
||||
Screw,
|
||||
Gears,
|
||||
Belt,
|
||||
};
|
||||
|
||||
enum class GeometryType
|
||||
{
|
||||
Point = 0,
|
||||
|
||||
// Edges
|
||||
Line = 1,
|
||||
Curve = 2,
|
||||
Circle = 3,
|
||||
|
||||
// Faces
|
||||
Place = 4,
|
||||
Cylinder = 5,
|
||||
Sphere = 6,
|
||||
Cone = 7,
|
||||
Torus = 8,
|
||||
};
|
||||
|
||||
enum class DistanceType
|
||||
{
|
||||
PointPoint,
|
||||
|
||||
LineLine,
|
||||
LineCircle,
|
||||
CircleCircle,
|
||||
|
||||
PlanePlane,
|
||||
PlaneCylinder,
|
||||
PlaneSphere,
|
||||
PlaneCone,
|
||||
PlaneTorus,
|
||||
CylinderCylinder,
|
||||
CylinderSphere,
|
||||
CylinderCone,
|
||||
CylinderTorus,
|
||||
ConeCone,
|
||||
ConeTorus,
|
||||
ConeSphere,
|
||||
TorusTorus,
|
||||
TorusSphere,
|
||||
SphereSphere,
|
||||
|
||||
PointPlane,
|
||||
PointCylinder,
|
||||
PointSphere,
|
||||
PointCone,
|
||||
PointTorus,
|
||||
|
||||
LinePlane,
|
||||
LineCylinder,
|
||||
LineSphere,
|
||||
LineCone,
|
||||
LineTorus,
|
||||
|
||||
CurvePlane,
|
||||
CurveCylinder,
|
||||
CurveSphere,
|
||||
CurveCone,
|
||||
CurveTorus,
|
||||
|
||||
PointLine,
|
||||
PointCurve,
|
||||
|
||||
Other,
|
||||
};
|
||||
|
||||
class AssemblyObject;
|
||||
class JointGroup;
|
||||
|
||||
AssemblyExport void swapJCS(const App::DocumentObject* joint);
|
||||
|
||||
AssemblyExport bool isEdgeType(
|
||||
const App::DocumentObject* obj,
|
||||
const std::string& elName,
|
||||
const GeomAbs_CurveType type
|
||||
);
|
||||
AssemblyExport bool isFaceType(
|
||||
const App::DocumentObject* obj,
|
||||
const std::string& elName,
|
||||
const GeomAbs_SurfaceType type
|
||||
);
|
||||
AssemblyExport double getFaceRadius(const App::DocumentObject* obj, const std::string& elName);
|
||||
AssemblyExport double getEdgeRadius(const App::DocumentObject* obj, const std::string& elName);
|
||||
|
||||
AssemblyExport DistanceType getDistanceType(App::DocumentObject* joint);
|
||||
AssemblyExport JointGroup* getJointGroup(const App::Part* part);
|
||||
|
||||
AssemblyExport std::vector<App::DocumentObject*> getAssemblyComponents(const AssemblyObject* assembly);
|
||||
|
||||
// getters to get from properties
|
||||
AssemblyExport void setJointActivated(const App::DocumentObject* joint, bool val);
|
||||
AssemblyExport bool getJointActivated(const App::DocumentObject* joint);
|
||||
AssemblyExport double getJointAngle(const App::DocumentObject* joint);
|
||||
AssemblyExport double getJointDistance(const App::DocumentObject* joint);
|
||||
AssemblyExport double getJointDistance2(const App::DocumentObject* joint);
|
||||
AssemblyExport JointType getJointType(const App::DocumentObject* joint);
|
||||
AssemblyExport std::string getElementFromProp(const App::DocumentObject* obj, const char* propName);
|
||||
AssemblyExport std::string getElementTypeFromProp(const App::DocumentObject* obj, const char* propName);
|
||||
AssemblyExport App::DocumentObject* getObjFromProp(
|
||||
const App::DocumentObject* joint,
|
||||
const char* propName
|
||||
);
|
||||
AssemblyExport App::DocumentObject* getObjFromRef(App::DocumentObject* obj, const std::string& sub);
|
||||
AssemblyExport App::DocumentObject* getObjFromRef(const App::PropertyXLinkSub* prop);
|
||||
AssemblyExport App::DocumentObject* getObjFromJointRef(
|
||||
const App::DocumentObject* joint,
|
||||
const char* propName
|
||||
);
|
||||
AssemblyExport App::DocumentObject* getLinkedObjFromRef(
|
||||
const App::DocumentObject* joint,
|
||||
const char* propName
|
||||
);
|
||||
// Get the moving part from a selection, which has the full path.
|
||||
AssemblyExport App::DocumentObject* getMovingPartFromSel(
|
||||
const AssemblyObject* assemblyObject,
|
||||
App::DocumentObject* obj,
|
||||
const std::string& sub
|
||||
);
|
||||
AssemblyExport App::DocumentObject* getMovingPartFromRef(const App::PropertyXLinkSub* prop);
|
||||
AssemblyExport App::DocumentObject* getMovingPartFromRef(App::DocumentObject* joint, const char* pName);
|
||||
AssemblyExport std::vector<std::string> getSubAsList(const App::PropertyXLinkSub* prop);
|
||||
AssemblyExport std::vector<std::string> getSubAsList(
|
||||
const App::DocumentObject* joint,
|
||||
const char* propName
|
||||
);
|
||||
AssemblyExport void syncPlacements(App::DocumentObject* src, App::DocumentObject* to);
|
||||
|
||||
} // namespace Assembly
|
||||
51
src/Mod/Assembly/App/BomGroup.cpp
Normal file
@@ -0,0 +1,51 @@
|
||||
// SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
/****************************************************************************
|
||||
* *
|
||||
* Copyright (c) 2023 Ondsel <development@ondsel.com> *
|
||||
* *
|
||||
* This file is part of FreeCAD. *
|
||||
* *
|
||||
* FreeCAD is free software: you can redistribute it and/or modify it *
|
||||
* under the terms of the GNU Lesser General Public License as *
|
||||
* published by the Free Software Foundation, either version 2.1 of the *
|
||||
* License, or (at your option) any later version. *
|
||||
* *
|
||||
* FreeCAD is distributed in the hope that it will be useful, but *
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
|
||||
* Lesser General Public License for more details. *
|
||||
* *
|
||||
* You should have received a copy of the GNU Lesser General Public *
|
||||
* License along with FreeCAD. If not, see *
|
||||
* <https://www.gnu.org/licenses/>. *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
#include <App/Application.h>
|
||||
#include <App/Document.h>
|
||||
#include <App/FeaturePythonPyImp.h>
|
||||
#include <App/PropertyPythonObject.h>
|
||||
#include <Base/Console.h>
|
||||
#include <Base/Tools.h>
|
||||
|
||||
#include "BomGroup.h"
|
||||
#include "BomGroupPy.h"
|
||||
|
||||
using namespace Assembly;
|
||||
|
||||
|
||||
PROPERTY_SOURCE(Assembly::BomGroup, App::DocumentObjectGroup)
|
||||
|
||||
BomGroup::BomGroup()
|
||||
{}
|
||||
|
||||
BomGroup::~BomGroup() = default;
|
||||
|
||||
PyObject* BomGroup::getPyObject()
|
||||
{
|
||||
if (PythonObject.is(Py::_None())) {
|
||||
// ref counter is set to 1
|
||||
PythonObject = Py::Object(new BomGroupPy(this), true);
|
||||
}
|
||||
return Py::new_reference_to(PythonObject);
|
||||
}
|
||||
54
src/Mod/Assembly/App/BomGroup.h
Normal file
@@ -0,0 +1,54 @@
|
||||
// SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
/****************************************************************************
|
||||
* *
|
||||
* Copyright (c) 2023 Ondsel <development@ondsel.com> *
|
||||
* *
|
||||
* This file is part of FreeCAD. *
|
||||
* *
|
||||
* FreeCAD is free software: you can redistribute it and/or modify it *
|
||||
* under the terms of the GNU Lesser General Public License as *
|
||||
* published by the Free Software Foundation, either version 2.1 of the *
|
||||
* License, or (at your option) any later version. *
|
||||
* *
|
||||
* FreeCAD is distributed in the hope that it will be useful, but *
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
|
||||
* Lesser General Public License for more details. *
|
||||
* *
|
||||
* You should have received a copy of the GNU Lesser General Public *
|
||||
* License along with FreeCAD. If not, see *
|
||||
* <https://www.gnu.org/licenses/>. *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <Mod/Assembly/AssemblyGlobal.h>
|
||||
|
||||
#include <App/DocumentObjectGroup.h>
|
||||
#include <App/PropertyLinks.h>
|
||||
|
||||
|
||||
namespace Assembly
|
||||
{
|
||||
|
||||
class AssemblyExport BomGroup: public App::DocumentObjectGroup
|
||||
{
|
||||
PROPERTY_HEADER_WITH_OVERRIDE(Assembly::BomGroup);
|
||||
|
||||
public:
|
||||
BomGroup();
|
||||
~BomGroup() override;
|
||||
|
||||
PyObject* getPyObject() override;
|
||||
|
||||
/// returns the type name of the ViewProvider
|
||||
const char* getViewProviderName() const override
|
||||
{
|
||||
return "AssemblyGui::ViewProviderBomGroup";
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
} // namespace Assembly
|
||||
16
src/Mod/Assembly/App/BomGroup.pyi
Normal file
@@ -0,0 +1,16 @@
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from Base.Metadata import export
|
||||
|
||||
from App.DocumentObjectGroup import DocumentObjectGroup
|
||||
|
||||
@export(Include="Mod/Assembly/App/BomGroup.h", Namespace="Assembly")
|
||||
class BomGroup(DocumentObjectGroup):
|
||||
"""
|
||||
This class is a group subclass for boms.
|
||||
|
||||
Author: Ondsel (development@ondsel.com)
|
||||
License: LGPL-2.1-or-later
|
||||
"""
|
||||
46
src/Mod/Assembly/App/BomGroupPyImp.cpp
Normal file
@@ -0,0 +1,46 @@
|
||||
// SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
/***************************************************************************
|
||||
* Copyright (c) 2014 Jürgen Riegel <juergen.riegel@web.de> *
|
||||
* *
|
||||
* This file is part of the FreeCAD CAx development system. *
|
||||
* *
|
||||
* This library is free software; you can redistribute it and/or *
|
||||
* modify it under the terms of the GNU Library General Public *
|
||||
* License as published by the Free Software Foundation; either *
|
||||
* version 2 of the License, or (at your option) any later version. *
|
||||
* *
|
||||
* This library is distributed in the hope that it will be useful, *
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
||||
* GNU Library General Public License for more details. *
|
||||
* *
|
||||
* You should have received a copy of the GNU Library General Public *
|
||||
* License along with this library; see the file COPYING.LIB. If not, *
|
||||
* write to the Free Software Foundation, Inc., 59 Temple Place, *
|
||||
* Suite 330, Boston, MA 02111-1307, USA *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
// inclusion of the generated files (generated out of BomGroup.xml)
|
||||
#include "BomGroupPy.h"
|
||||
#include "BomGroupPy.cpp"
|
||||
|
||||
using namespace Assembly;
|
||||
|
||||
// returns a string which represents the object e.g. when printed in python
|
||||
std::string BomGroupPy::representation() const
|
||||
{
|
||||
return {"<Bom Group>"};
|
||||
}
|
||||
|
||||
PyObject* BomGroupPy::getCustomAttributes(const char* /*attr*/) const
|
||||
{
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
int BomGroupPy::setCustomAttributes(const char* /*attr*/, PyObject* /*obj*/)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
402
src/Mod/Assembly/App/BomObject.cpp
Normal file
@@ -0,0 +1,402 @@
|
||||
// SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
/****************************************************************************
|
||||
* *
|
||||
* Copyright (c) 2023 Ondsel <development@ondsel.com> *
|
||||
* *
|
||||
* This file is part of FreeCAD. *
|
||||
* *
|
||||
* FreeCAD is free software: you can redistribute it and/or modify it *
|
||||
* under the terms of the GNU Lesser General Public License as *
|
||||
* published by the Free Software Foundation, either version 2.1 of the *
|
||||
* License, or (at your option) any later version. *
|
||||
* *
|
||||
* FreeCAD is distributed in the hope that it will be useful, but *
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
|
||||
* Lesser General Public License for more details. *
|
||||
* *
|
||||
* You should have received a copy of the GNU Lesser General Public *
|
||||
* License along with FreeCAD. If not, see *
|
||||
* <https://www.gnu.org/licenses/>. *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
#include <cmath>
|
||||
#include <vector>
|
||||
|
||||
#include <App/Application.h>
|
||||
#include <App/Document.h>
|
||||
#include <App/DocumentObjectGroup.h>
|
||||
#include <App/FeaturePythonPyImp.h>
|
||||
#include <App/Link.h>
|
||||
#include <App/PropertyPythonObject.h>
|
||||
#include <App/Range.h>
|
||||
#include <Base/Console.h>
|
||||
#include <Base/Parameter.h>
|
||||
#include <Base/Placement.h>
|
||||
#include <Base/Rotation.h>
|
||||
#include <Base/Tools.h>
|
||||
#include <Base/Interpreter.h>
|
||||
#include <QObject>
|
||||
|
||||
#include <Mod/Part/App/PartFeature.h>
|
||||
#include <Mod/PartDesign/App/Body.h>
|
||||
#include <Mod/Spreadsheet/App/Cell.h>
|
||||
|
||||
#include "AssemblyObject.h"
|
||||
#include "AssemblyLink.h"
|
||||
#include "BomObject.h"
|
||||
#include "BomObjectPy.h"
|
||||
|
||||
|
||||
using namespace Assembly;
|
||||
|
||||
// ================================ Assembly Object ============================
|
||||
|
||||
PROPERTY_SOURCE(Assembly::BomObject, Spreadsheet::Sheet)
|
||||
|
||||
BomObject::BomObject()
|
||||
: Spreadsheet::Sheet()
|
||||
{
|
||||
ADD_PROPERTY_TYPE(
|
||||
columnsNames,
|
||||
("Index"),
|
||||
"Bom",
|
||||
(App::PropertyType)(App::Prop_None),
|
||||
"List of the columns of the Bill of Materials."
|
||||
);
|
||||
|
||||
ADD_PROPERTY_TYPE(
|
||||
detailSubAssemblies,
|
||||
(true),
|
||||
"Bom",
|
||||
(App::PropertyType)(App::Prop_None),
|
||||
"Detail sub-assemblies components."
|
||||
);
|
||||
|
||||
ADD_PROPERTY_TYPE(
|
||||
detailParts,
|
||||
(true),
|
||||
"Bom",
|
||||
(App::PropertyType)(App::Prop_None),
|
||||
"Detail Parts sub-components."
|
||||
);
|
||||
|
||||
ADD_PROPERTY_TYPE(
|
||||
onlyParts,
|
||||
(false),
|
||||
"Bom",
|
||||
(App::PropertyType)(App::Prop_None),
|
||||
"Only Part containers will be added. Solids like PartDesign Bodies will be ignored."
|
||||
);
|
||||
}
|
||||
BomObject::~BomObject() = default;
|
||||
|
||||
PyObject* BomObject::getPyObject()
|
||||
{
|
||||
if (PythonObject.is(Py::_None())) {
|
||||
// ref counter is set to 1
|
||||
PythonObject = Py::Object(new BomObjectPy(this), true);
|
||||
}
|
||||
return Py::new_reference_to(PythonObject);
|
||||
}
|
||||
|
||||
App::DocumentObjectExecReturn* BomObject::execute()
|
||||
{
|
||||
generateBOM();
|
||||
|
||||
return Spreadsheet::Sheet::execute();
|
||||
}
|
||||
|
||||
void BomObject::saveCustomColumnData()
|
||||
{
|
||||
// This function saves data that is not automatically generated.
|
||||
dataElements.clear();
|
||||
std::tuple<App::CellAddress, App::CellAddress> res = getUsedRange();
|
||||
int maxRow = std::get<1>(res).row();
|
||||
int nameColIndex = getColumnIndex("Name");
|
||||
|
||||
for (int row = 1; row <= maxRow; ++row) {
|
||||
|
||||
size_t col = 0;
|
||||
// Here we do not iterate columnName : columnsNames.getValues() because they may have
|
||||
// changed
|
||||
for (size_t i = 0; i < columnsNames.getValues().size(); ++i) {
|
||||
std::string columnName = getText(0, i);
|
||||
if (columnName != "Index" && columnName != "Name" && columnName != "Quantity"
|
||||
&& columnName != "File Name") {
|
||||
// Base::Console().warning("row col %d %d\n", row, col);
|
||||
// save custom data if any.
|
||||
std::string text = getText(row, col);
|
||||
if (text != "") {
|
||||
std::string objName = getText(row, nameColIndex);
|
||||
BomDataElement el(objName, columnName, text);
|
||||
dataElements.push_back(el);
|
||||
}
|
||||
}
|
||||
|
||||
++col;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void BomObject::generateBOM()
|
||||
{
|
||||
saveCustomColumnData();
|
||||
clearAll();
|
||||
obj_list.clear();
|
||||
obj_mirrored_list.clear();
|
||||
size_t row = 0;
|
||||
size_t col = 0;
|
||||
|
||||
auto hGrp = App::GetApplication().GetParameterGroupByPath(
|
||||
"User parameter:BaseApp/Preferences/Mod/Assembly"
|
||||
);
|
||||
mirroredSuffix = hGrp->GetASCII("BomMirroredSuffix", " (mirrored)");
|
||||
|
||||
// Populate headers
|
||||
for (auto& columnName : columnsNames.getValues()) {
|
||||
setCell(App::CellAddress(row, col), columnName.c_str());
|
||||
++col;
|
||||
}
|
||||
++row;
|
||||
|
||||
auto* assembly = getAssembly();
|
||||
if (assembly) {
|
||||
addObjectChildrenToBom(assembly->getOutList(), row, "");
|
||||
}
|
||||
else {
|
||||
addObjectChildrenToBom(getDocument()->getRootObjectsIgnoreLinks(), row, "");
|
||||
}
|
||||
}
|
||||
|
||||
void BomObject::addObjectChildrenToBom(
|
||||
std::vector<App::DocumentObject*> objs,
|
||||
size_t& row,
|
||||
std::string index
|
||||
)
|
||||
{
|
||||
int quantityColIndex = getColumnIndex("Quantity");
|
||||
bool hasQuantityCol = hasQuantityColumn();
|
||||
|
||||
size_t siblingsInitialRow = row;
|
||||
|
||||
if (index != "") {
|
||||
index = index + ".";
|
||||
}
|
||||
|
||||
size_t sub_i = 1;
|
||||
|
||||
for (auto* child : objs) {
|
||||
if (!child) {
|
||||
continue;
|
||||
}
|
||||
|
||||
bool isMirrored = isObjMirrored(child);
|
||||
|
||||
if (auto* asmLink = freecad_cast<AssemblyLink*>(child)) {
|
||||
child = asmLink->getLinkedAssembly();
|
||||
if (!child) {
|
||||
continue;
|
||||
}
|
||||
}
|
||||
else if (child->isDerivedFrom<App::Link>()) {
|
||||
child = static_cast<App::Link*>(child)->getLinkedObject();
|
||||
if (!child) {
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
||||
if (!child->isDerivedFrom<AssemblyObject>() && !child->isDerivedFrom<App::Part>()
|
||||
&& !(child->isDerivedFrom<Part::Feature>() && !onlyParts.getValue())) {
|
||||
continue;
|
||||
}
|
||||
|
||||
if (hasQuantityCol && row != siblingsInitialRow) {
|
||||
// Check if the object is not already in (case of links). And if so just increment.
|
||||
// Note: an object can be used in several parts. In which case we do no want to blindly
|
||||
// increment.
|
||||
// We also check if the Mirror state matches. Mirrored parts should not group with
|
||||
// non-mirrored parts.
|
||||
bool found = false;
|
||||
for (size_t i = siblingsInitialRow; i <= row; ++i) {
|
||||
size_t idInList = i - 1; // -1 for the header
|
||||
if (idInList < obj_list.size() && child == obj_list[idInList]
|
||||
&& idInList < obj_mirrored_list.size()
|
||||
&& isMirrored == obj_mirrored_list[idInList]) {
|
||||
|
||||
int qty = std::stoi(getText(i, quantityColIndex)) + 1;
|
||||
setCell(App::CellAddress(i, quantityColIndex), std::to_string(qty).c_str());
|
||||
found = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (found) {
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
||||
std::string sub_index = index + std::to_string(sub_i);
|
||||
++sub_i;
|
||||
|
||||
addObjectToBom(child, row, sub_index, isMirrored);
|
||||
++row;
|
||||
|
||||
if ((child->isDerivedFrom<AssemblyObject>() && detailSubAssemblies.getValue())
|
||||
|| (!child->isDerivedFrom<AssemblyObject>() && child->isDerivedFrom<App::Part>()
|
||||
&& detailParts.getValue())) {
|
||||
addObjectChildrenToBom(child->getOutList(), row, sub_index);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
bool BomObject::isObjMirrored(App::DocumentObject* obj)
|
||||
{
|
||||
// Determine mirror state based on Scale properties.
|
||||
// We multiply scales to handle nested mirroring (e.g., Mirrored LinkElement inside Mirrored
|
||||
// LinkGroup = Normal).
|
||||
double accumulatedScale = 1.0;
|
||||
if (auto element = static_cast<App::LinkElement*>(obj)) {
|
||||
accumulatedScale *= element->Scale.getValue();
|
||||
|
||||
if (auto group = element->getLinkGroup()) {
|
||||
accumulatedScale *= group->Scale.getValue();
|
||||
}
|
||||
}
|
||||
else if (auto link = static_cast<App::Link*>(obj)) {
|
||||
accumulatedScale *= link->Scale.getValue();
|
||||
}
|
||||
return accumulatedScale < 0.0;
|
||||
}
|
||||
|
||||
void BomObject::addObjectToBom(App::DocumentObject* obj, size_t row, std::string index, bool isMirrored)
|
||||
{
|
||||
obj_list.push_back(obj);
|
||||
obj_mirrored_list.push_back(isMirrored);
|
||||
size_t col = 0;
|
||||
for (auto& columnName : columnsNames.getValues()) {
|
||||
if (columnName == "Index") {
|
||||
setCell(App::CellAddress(row, col), (std::string("'") + index).c_str());
|
||||
}
|
||||
else if (columnName == "Name") {
|
||||
std::string name = obj->Label.getValue();
|
||||
// Distinctly label mirrored parts so they are identifiable in the BOM
|
||||
if (isMirrored) {
|
||||
if (auto* linkedObj = obj->getLinkedObject()) {
|
||||
// We add a suffix only if the label is the same.
|
||||
if (name == linkedObj->Label.getValue()) {
|
||||
name += mirroredSuffix;
|
||||
}
|
||||
}
|
||||
}
|
||||
setCell(App::CellAddress(row, col), name.c_str());
|
||||
}
|
||||
else if (columnName == "File Name") {
|
||||
setCell(App::CellAddress(row, col), obj->getDocument()->getFileName());
|
||||
}
|
||||
else if (columnName == "Quantity") {
|
||||
setCell(App::CellAddress(row, col), std::to_string(1).c_str());
|
||||
}
|
||||
else if (columnName.starts_with(".")) {
|
||||
// Column names that start with a dot are considered property names
|
||||
// Extract the property name
|
||||
std::string baseName = columnName.substr(1);
|
||||
|
||||
auto propertyValue = getBomPropertyValue(obj, baseName);
|
||||
if (!propertyValue.empty()) {
|
||||
setCell(App::CellAddress(row, col), propertyValue.c_str());
|
||||
}
|
||||
}
|
||||
else {
|
||||
// load custom data if any.
|
||||
for (auto& el : dataElements) {
|
||||
if (el.objName == obj->Label.getValue() && el.columnName == columnName) {
|
||||
setCell(App::CellAddress(row, col), el.value.c_str());
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
++col;
|
||||
}
|
||||
}
|
||||
|
||||
std::string BomObject::getBomPropertyValue(App::DocumentObject* obj, const std::string& baseName)
|
||||
{
|
||||
App::Property* prop = obj->getPropertyByName(baseName.c_str());
|
||||
|
||||
if (!prop) {
|
||||
Base::Console().warning("Property not found: %s\n", baseName.c_str());
|
||||
return QObject::tr("N/A").toStdString();
|
||||
}
|
||||
|
||||
// Only support a subset of property types for BOM
|
||||
if (auto propStr = freecad_cast<App::PropertyString*>(prop)) {
|
||||
return propStr->getValue();
|
||||
}
|
||||
if (auto propQuantity = freecad_cast<App::PropertyQuantity*>(prop)) {
|
||||
return propQuantity->getQuantityValue().getUserString();
|
||||
}
|
||||
if (auto propEnum = freecad_cast<App::PropertyEnumeration*>(prop)) {
|
||||
return propEnum->getValueAsString();
|
||||
}
|
||||
if (auto propFloat = freecad_cast<App::PropertyFloat*>(prop)) {
|
||||
return std::to_string(propFloat->getValue());
|
||||
}
|
||||
if (auto propInt = freecad_cast<App::PropertyInteger*>(prop)) {
|
||||
return std::to_string(propInt->getValue());
|
||||
}
|
||||
if (auto propBool = freecad_cast<App::PropertyBool*>(prop)) {
|
||||
return propBool->getValue() ? "True" : "False";
|
||||
}
|
||||
|
||||
Base::Console().warning("Property type not supported for: %s\n", prop->getName());
|
||||
return QObject::tr("Not supported").toStdString();
|
||||
}
|
||||
|
||||
AssemblyObject* BomObject::getAssembly() const
|
||||
{
|
||||
for (auto& obj : getInList()) {
|
||||
if (obj->isDerivedFrom<AssemblyObject>()) {
|
||||
return static_cast<AssemblyObject*>(obj);
|
||||
}
|
||||
}
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
bool BomObject::hasQuantityColumn() const
|
||||
{
|
||||
for (auto& columnName : columnsNames.getValues()) {
|
||||
if (columnName == "Quantity") {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
std::string Assembly::BomObject::getText(size_t row, size_t col) const
|
||||
{
|
||||
const Spreadsheet::Cell* cell = getCell(App::CellAddress(row, col));
|
||||
std::string cellName;
|
||||
if (cell) {
|
||||
cell->getStringContent(cellName);
|
||||
|
||||
// getStringContent is adding a ' before the string for whatever reason.
|
||||
if (!cellName.empty() && cellName.front() == '\'') {
|
||||
cellName.erase(0, 1); // Remove the first character if it's a '
|
||||
}
|
||||
}
|
||||
|
||||
return cellName;
|
||||
}
|
||||
|
||||
int BomObject::getColumnIndex(std::string name) const
|
||||
{
|
||||
int col = 0;
|
||||
for (auto& columnName : columnsNames.getValues()) {
|
||||
if (columnName == name) {
|
||||
return col;
|
||||
}
|
||||
++col;
|
||||
}
|
||||
return -1;
|
||||
}
|
||||
105
src/Mod/Assembly/App/BomObject.h
Normal file
@@ -0,0 +1,105 @@
|
||||
// SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
/****************************************************************************
|
||||
* *
|
||||
* Copyright (c) 2023 Ondsel <development@ondsel.com> *
|
||||
* *
|
||||
* This file is part of FreeCAD. *
|
||||
* *
|
||||
* FreeCAD is free software: you can redistribute it and/or modify it *
|
||||
* under the terms of the GNU Lesser General Public License as *
|
||||
* published by the Free Software Foundation, either version 2.1 of the *
|
||||
* License, or (at your option) any later version. *
|
||||
* *
|
||||
* FreeCAD is distributed in the hope that it will be useful, but *
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
|
||||
* Lesser General Public License for more details. *
|
||||
* *
|
||||
* You should have received a copy of the GNU Lesser General Public *
|
||||
* License along with FreeCAD. If not, see *
|
||||
* <https://www.gnu.org/licenses/>. *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <App/PropertyFile.h>
|
||||
|
||||
#include <Mod/Assembly/AssemblyGlobal.h>
|
||||
|
||||
#include <Mod/Spreadsheet/App/Sheet.h>
|
||||
#include <App/PropertyLinks.h>
|
||||
|
||||
namespace App
|
||||
{
|
||||
class DocumentObject;
|
||||
}
|
||||
|
||||
namespace Assembly
|
||||
{
|
||||
|
||||
class AssemblyObject;
|
||||
|
||||
class BomDataElement
|
||||
{
|
||||
public:
|
||||
BomDataElement(std::string objName, std::string columnName, std::string value)
|
||||
: objName(objName)
|
||||
, columnName(columnName)
|
||||
, value(value)
|
||||
{}
|
||||
~BomDataElement()
|
||||
{}
|
||||
|
||||
std::string objName;
|
||||
std::string columnName;
|
||||
std::string value;
|
||||
};
|
||||
|
||||
class AssemblyExport BomObject: public Spreadsheet::Sheet
|
||||
{
|
||||
PROPERTY_HEADER_WITH_OVERRIDE(Assembly::BomObject);
|
||||
|
||||
public:
|
||||
BomObject();
|
||||
~BomObject() override;
|
||||
|
||||
PyObject* getPyObject() override;
|
||||
|
||||
const char* getViewProviderName() const override
|
||||
{
|
||||
return "AssemblyGui::ViewProviderBom";
|
||||
}
|
||||
|
||||
App::DocumentObjectExecReturn* execute() override;
|
||||
|
||||
void generateBOM();
|
||||
void addObjectToBom(App::DocumentObject* obj, size_t row, std::string index, bool isMirrored = false);
|
||||
void addObjectChildrenToBom(std::vector<App::DocumentObject*> objs, size_t& row, std::string index);
|
||||
void saveCustomColumnData();
|
||||
bool isObjMirrored(App::DocumentObject* obj);
|
||||
|
||||
AssemblyObject* getAssembly() const;
|
||||
|
||||
bool hasQuantityColumn() const;
|
||||
int getColumnIndex(std::string name) const;
|
||||
std::string getText(size_t row, size_t col) const;
|
||||
|
||||
App::PropertyStringList columnsNames;
|
||||
App::PropertyBool detailSubAssemblies;
|
||||
App::PropertyBool detailParts;
|
||||
App::PropertyBool onlyParts;
|
||||
|
||||
std::vector<BomDataElement> dataElements;
|
||||
std::vector<App::DocumentObject*> obj_list;
|
||||
std::vector<bool> obj_mirrored_list;
|
||||
|
||||
private:
|
||||
std::string getBomPropertyValue(App::DocumentObject* obj, const std::string& baseName);
|
||||
|
||||
std::string mirroredSuffix;
|
||||
};
|
||||
|
||||
|
||||
} // namespace Assembly
|
||||
19
src/Mod/Assembly/App/BomObject.pyi
Normal file
@@ -0,0 +1,19 @@
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from Base.Metadata import export
|
||||
from Spreadsheet.Sheet import Sheet
|
||||
|
||||
@export(
|
||||
Include="Mod/Assembly/App/BomObject.h",
|
||||
FatherInclude="Mod/Spreadsheet/App/SheetPy.h",
|
||||
Namespace="Assembly",
|
||||
)
|
||||
class BomObject(Sheet):
|
||||
"""
|
||||
This class is the BOM object of assemblies, it derives from Spreadsheet::Sheet.
|
||||
|
||||
Author: Ondsel (development@ondsel.com)
|
||||
License: LGPL-2.1-or-later
|
||||
"""
|
||||
46
src/Mod/Assembly/App/BomObjectPyImp.cpp
Normal file
@@ -0,0 +1,46 @@
|
||||
// SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
/***************************************************************************
|
||||
* Copyright (c) 2024 Boyer Pierre-Louis <development@ondsel> *
|
||||
* *
|
||||
* This file is part of the FreeCAD CAx development system. *
|
||||
* *
|
||||
* This library is free software; you can redistribute it and/or *
|
||||
* modify it under the terms of the GNU Library General Public *
|
||||
* License as published by the Free Software Foundation; either *
|
||||
* version 2 of the License, or (at your option) any later version. *
|
||||
* *
|
||||
* This library is distributed in the hope that it will be useful, *
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
||||
* GNU Library General Public License for more details. *
|
||||
* *
|
||||
* You should have received a copy of the GNU Library General Public *
|
||||
* License along with this library; see the file COPYING.LIB. If not, *
|
||||
* write to the Free Software Foundation, Inc., 59 Temple Place, *
|
||||
* Suite 330, Boston, MA 02111-1307, USA *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
// inclusion of the generated files (generated out of BomObject.xml)
|
||||
#include "BomObjectPy.h"
|
||||
#include "BomObjectPy.cpp"
|
||||
|
||||
using namespace Assembly;
|
||||
|
||||
// returns a string which represents the object e.g. when printed in python
|
||||
std::string BomObjectPy::representation() const
|
||||
{
|
||||
return {"<Bill of Materials object>"};
|
||||
}
|
||||
|
||||
PyObject* BomObjectPy::getCustomAttributes(const char* /*attr*/) const
|
||||
{
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
int BomObjectPy::setCustomAttributes(const char* /*attr*/, PyObject* /*obj*/)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
89
src/Mod/Assembly/App/CMakeLists.txt
Normal file
@@ -0,0 +1,89 @@
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
set(Assembly_LIBS
|
||||
Part
|
||||
PartDesign
|
||||
Spreadsheet
|
||||
FreeCADApp
|
||||
OndselSolver
|
||||
)
|
||||
|
||||
generate_from_py(AssemblyObject)
|
||||
generate_from_py(AssemblyLink)
|
||||
generate_from_py(BomObject)
|
||||
generate_from_py(BomGroup)
|
||||
generate_from_py(JointGroup)
|
||||
generate_from_py(ViewGroup)
|
||||
generate_from_py(SimulationGroup)
|
||||
|
||||
|
||||
SET(Python_SRCS
|
||||
AssemblyObject.pyi
|
||||
AssemblyObjectPyImp.cpp
|
||||
AssemblyLink.pyi
|
||||
AssemblyLinkPyImp.cpp
|
||||
BomObject.pyi
|
||||
BomObjectPyImp.cpp
|
||||
BomGroup.pyi
|
||||
BomGroupPyImp.cpp
|
||||
JointGroup.pyi
|
||||
JointGroupPyImp.cpp
|
||||
ViewGroup.pyi
|
||||
ViewGroupPyImp.cpp
|
||||
SimulationGroup.pyi
|
||||
SimulationGroupPyImp.cpp
|
||||
)
|
||||
SOURCE_GROUP("Python" FILES ${Python_SRCS})
|
||||
|
||||
SET(Module_SRCS
|
||||
AppAssembly.cpp
|
||||
AppAssemblyPy.cpp
|
||||
PreCompiled.h
|
||||
)
|
||||
SOURCE_GROUP("Module" FILES ${Module_SRCS})
|
||||
|
||||
SET(Assembly_SRCS
|
||||
AssemblyObject.cpp
|
||||
AssemblyObject.h
|
||||
AssemblyLink.cpp
|
||||
AssemblyLink.h
|
||||
AssemblyUtils.cpp
|
||||
AssemblyUtils.h
|
||||
BomObject.cpp
|
||||
BomObject.h
|
||||
BomGroup.cpp
|
||||
BomGroup.h
|
||||
JointGroup.cpp
|
||||
JointGroup.h
|
||||
ViewGroup.cpp
|
||||
ViewGroup.h
|
||||
SimulationGroup.cpp
|
||||
SimulationGroup.h
|
||||
${Module_SRCS}
|
||||
${Python_SRCS}
|
||||
)
|
||||
|
||||
add_library(Assembly SHARED ${Assembly_SRCS})
|
||||
target_include_directories(
|
||||
Assembly
|
||||
PRIVATE
|
||||
${CMAKE_BINARY_DIR}
|
||||
${CMAKE_SOURCE_DIR}/src
|
||||
${CMAKE_BINARY_DIR}/src
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
)
|
||||
target_link_libraries(Assembly ${Assembly_LIBS})
|
||||
if (FREECAD_WARN_ERROR)
|
||||
target_compile_warn_error(Assembly)
|
||||
endif()
|
||||
|
||||
if(FREECAD_USE_PCH)
|
||||
target_precompile_headers(Assembly PRIVATE
|
||||
$<$<COMPILE_LANGUAGE:CXX>:"${CMAKE_CURRENT_LIST_DIR}/PreCompiled.h">
|
||||
)
|
||||
endif(FREECAD_USE_PCH)
|
||||
|
||||
SET_BIN_DIR(Assembly AssemblyApp /Mod/Assembly)
|
||||
SET_PYTHON_PREFIX_SUFFIX(Assembly)
|
||||
|
||||
INSTALL(TARGETS Assembly DESTINATION ${CMAKE_INSTALL_LIBDIR})
|
||||
80
src/Mod/Assembly/App/JointGroup.cpp
Normal file
@@ -0,0 +1,80 @@
|
||||
// SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
/****************************************************************************
|
||||
* *
|
||||
* Copyright (c) 2023 Ondsel <development@ondsel.com> *
|
||||
* *
|
||||
* This file is part of FreeCAD. *
|
||||
* *
|
||||
* FreeCAD is free software: you can redistribute it and/or modify it *
|
||||
* under the terms of the GNU Lesser General Public License as *
|
||||
* published by the Free Software Foundation, either version 2.1 of the *
|
||||
* License, or (at your option) any later version. *
|
||||
* *
|
||||
* FreeCAD is distributed in the hope that it will be useful, but *
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
|
||||
* Lesser General Public License for more details. *
|
||||
* *
|
||||
* You should have received a copy of the GNU Lesser General Public *
|
||||
* License along with FreeCAD. If not, see *
|
||||
* <https://www.gnu.org/licenses/>. *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#include <App/Application.h>
|
||||
#include <App/Document.h>
|
||||
#include <App/FeaturePythonPyImp.h>
|
||||
#include <App/PropertyPythonObject.h>
|
||||
#include <Base/Console.h>
|
||||
#include <Base/Tools.h>
|
||||
|
||||
#include "JointGroup.h"
|
||||
#include "JointGroupPy.h"
|
||||
|
||||
using namespace Assembly;
|
||||
|
||||
|
||||
PROPERTY_SOURCE(Assembly::JointGroup, App::DocumentObjectGroup)
|
||||
|
||||
JointGroup::JointGroup()
|
||||
{}
|
||||
|
||||
JointGroup::~JointGroup() = default;
|
||||
|
||||
PyObject* JointGroup::getPyObject()
|
||||
{
|
||||
if (PythonObject.is(Py::_None())) {
|
||||
// ref counter is set to 1
|
||||
PythonObject = Py::Object(new JointGroupPy(this), true);
|
||||
}
|
||||
return Py::new_reference_to(PythonObject);
|
||||
}
|
||||
|
||||
|
||||
std::vector<App::DocumentObject*> JointGroup::getJoints()
|
||||
{
|
||||
std::vector<App::DocumentObject*> joints = {};
|
||||
|
||||
Base::PyGILStateLocker lock;
|
||||
for (auto joint : getObjects()) {
|
||||
if (!joint) {
|
||||
continue;
|
||||
}
|
||||
|
||||
auto* prop = dynamic_cast<App::PropertyBool*>(joint->getPropertyByName("Suppressed"));
|
||||
if (!prop || prop->getValue()) {
|
||||
// Filter grounded joints and deactivated joints.
|
||||
continue;
|
||||
}
|
||||
|
||||
auto proxy = dynamic_cast<App::PropertyPythonObject*>(joint->getPropertyByName("Proxy"));
|
||||
if (proxy) {
|
||||
if (proxy->getValue().hasAttr("setJointConnectors")) {
|
||||
joints.push_back(joint);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return joints;
|
||||
}
|
||||
56
src/Mod/Assembly/App/JointGroup.h
Normal file
@@ -0,0 +1,56 @@
|
||||
// SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
/****************************************************************************
|
||||
* *
|
||||
* Copyright (c) 2023 Ondsel <development@ondsel.com> *
|
||||
* *
|
||||
* This file is part of FreeCAD. *
|
||||
* *
|
||||
* FreeCAD is free software: you can redistribute it and/or modify it *
|
||||
* under the terms of the GNU Lesser General Public License as *
|
||||
* published by the Free Software Foundation, either version 2.1 of the *
|
||||
* License, or (at your option) any later version. *
|
||||
* *
|
||||
* FreeCAD is distributed in the hope that it will be useful, but *
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
|
||||
* Lesser General Public License for more details. *
|
||||
* *
|
||||
* You should have received a copy of the GNU Lesser General Public *
|
||||
* License along with FreeCAD. If not, see *
|
||||
* <https://www.gnu.org/licenses/>. *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <Mod/Assembly/AssemblyGlobal.h>
|
||||
|
||||
#include <App/DocumentObjectGroup.h>
|
||||
#include <App/PropertyLinks.h>
|
||||
|
||||
|
||||
namespace Assembly
|
||||
{
|
||||
|
||||
class AssemblyExport JointGroup: public App::DocumentObjectGroup
|
||||
{
|
||||
PROPERTY_HEADER_WITH_OVERRIDE(Assembly::JointGroup);
|
||||
|
||||
public:
|
||||
JointGroup();
|
||||
~JointGroup() override;
|
||||
|
||||
PyObject* getPyObject() override;
|
||||
|
||||
/// returns the type name of the ViewProvider
|
||||
const char* getViewProviderName() const override
|
||||
{
|
||||
return "AssemblyGui::ViewProviderJointGroup";
|
||||
}
|
||||
|
||||
std::vector<App::DocumentObject*> getJoints();
|
||||
};
|
||||
|
||||
|
||||
} // namespace Assembly
|
||||
16
src/Mod/Assembly/App/JointGroup.pyi
Normal file
@@ -0,0 +1,16 @@
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from Base.Metadata import export
|
||||
|
||||
from App.DocumentObjectGroup import DocumentObjectGroup
|
||||
|
||||
@export(Include="Mod/Assembly/App/JointGroup.h", Namespace="Assembly")
|
||||
class JointGroup(DocumentObjectGroup):
|
||||
"""
|
||||
This class is a group subclass for joints.
|
||||
|
||||
Author: Ondsel (development@ondsel.com)
|
||||
License: LGPL-2.1-or-later
|
||||
"""
|
||||
46
src/Mod/Assembly/App/JointGroupPyImp.cpp
Normal file
@@ -0,0 +1,46 @@
|
||||
// SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
/***************************************************************************
|
||||
* Copyright (c) 2014 Jürgen Riegel <juergen.riegel@web.de> *
|
||||
* *
|
||||
* This file is part of the FreeCAD CAx development system. *
|
||||
* *
|
||||
* This library is free software; you can redistribute it and/or *
|
||||
* modify it under the terms of the GNU Library General Public *
|
||||
* License as published by the Free Software Foundation; either *
|
||||
* version 2 of the License, or (at your option) any later version. *
|
||||
* *
|
||||
* This library is distributed in the hope that it will be useful, *
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
||||
* GNU Library General Public License for more details. *
|
||||
* *
|
||||
* You should have received a copy of the GNU Library General Public *
|
||||
* License along with this library; see the file COPYING.LIB. If not, *
|
||||
* write to the Free Software Foundation, Inc., 59 Temple Place, *
|
||||
* Suite 330, Boston, MA 02111-1307, USA *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
// inclusion of the generated files (generated out of JointGroup.xml)
|
||||
#include "JointGroupPy.h"
|
||||
#include "JointGroupPy.cpp"
|
||||
|
||||
using namespace Assembly;
|
||||
|
||||
// returns a string which represents the object e.g. when printed in python
|
||||
std::string JointGroupPy::representation() const
|
||||
{
|
||||
return {"<Joint Group>"};
|
||||
}
|
||||
|
||||
PyObject* JointGroupPy::getCustomAttributes(const char* /*attr*/) const
|
||||
{
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
int JointGroupPy::setCustomAttributes(const char* /*attr*/, PyObject* /*obj*/)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
46
src/Mod/Assembly/App/PreCompiled.h
Normal file
@@ -0,0 +1,46 @@
|
||||
// SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
/****************************************************************************
|
||||
* *
|
||||
* Copyright (c) 2023 Ondsel <development@ondsel.com> *
|
||||
* *
|
||||
* This file is part of FreeCAD. *
|
||||
* *
|
||||
* FreeCAD is free software: you can redistribute it and/or modify it *
|
||||
* under the terms of the GNU Lesser General Public License as *
|
||||
* published by the Free Software Foundation, either version 2.1 of the *
|
||||
* License, or (at your option) any later version. *
|
||||
* *
|
||||
* FreeCAD is distributed in the hope that it will be useful, but *
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
|
||||
* Lesser General Public License for more details. *
|
||||
* *
|
||||
* You should have received a copy of the GNU Lesser General Public *
|
||||
* License along with FreeCAD. If not, see *
|
||||
* <https://www.gnu.org/licenses/>. *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <FCConfig.h>
|
||||
|
||||
// standard
|
||||
#include <cinttypes>
|
||||
#include <cmath>
|
||||
#include <iomanip>
|
||||
#include <map>
|
||||
#include <sstream>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <unordered_map>
|
||||
|
||||
#include <boost/core/ignore_unused.hpp>
|
||||
|
||||
#include <BRepAdaptor_Curve.hxx>
|
||||
#include <BRepAdaptor_Surface.hxx>
|
||||
#include <gp_Circ.hxx>
|
||||
#include <gp_Cylinder.hxx>
|
||||
#include <gp_Sphere.hxx>
|
||||
#include <TopoDS.hxx>
|
||||
#include <TopoDS_Face.hxx>
|
||||
52
src/Mod/Assembly/App/SimulationGroup.cpp
Normal file
@@ -0,0 +1,52 @@
|
||||
// SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
/****************************************************************************
|
||||
* *
|
||||
* Copyright (c) 2024 Ondsel <development@ondsel.com> *
|
||||
* *
|
||||
* This file is part of FreeCAD. *
|
||||
* *
|
||||
* FreeCAD is free software: you can redistribute it and/or modify it *
|
||||
* under the terms of the GNU Lesser General Public License as *
|
||||
* published by the Free Software Foundation, either version 2.1 of the *
|
||||
* License, or (at your option) any later version. *
|
||||
* *
|
||||
* FreeCAD is distributed in the hope that it will be useful, but *
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
|
||||
* Lesser General Public License for more details. *
|
||||
* *
|
||||
* You should have received a copy of the GNU Lesser General Public *
|
||||
* License along with FreeCAD. If not, see *
|
||||
* <https://www.gnu.org/licenses/>. *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#include <App/Application.h>
|
||||
#include <App/Document.h>
|
||||
#include <App/FeaturePythonPyImp.h>
|
||||
#include <App/PropertyPythonObject.h>
|
||||
#include <Base/Console.h>
|
||||
#include <Base/Tools.h>
|
||||
|
||||
#include "SimulationGroup.h"
|
||||
#include "SimulationGroupPy.h"
|
||||
|
||||
using namespace Assembly;
|
||||
|
||||
|
||||
PROPERTY_SOURCE(Assembly::SimulationGroup, App::DocumentObjectGroup)
|
||||
|
||||
SimulationGroup::SimulationGroup()
|
||||
{}
|
||||
|
||||
SimulationGroup::~SimulationGroup() = default;
|
||||
|
||||
PyObject* SimulationGroup::getPyObject()
|
||||
{
|
||||
if (PythonObject.is(Py::_None())) {
|
||||
// ref counter is set to 1
|
||||
PythonObject = Py::Object(new SimulationGroupPy(this), true);
|
||||
}
|
||||
return Py::new_reference_to(PythonObject);
|
||||
}
|
||||
54
src/Mod/Assembly/App/SimulationGroup.h
Normal file
@@ -0,0 +1,54 @@
|
||||
// SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
/****************************************************************************
|
||||
* *
|
||||
* Copyright (c) 2024 Ondsel <development@ondsel.com> *
|
||||
* *
|
||||
* This file is part of FreeCAD. *
|
||||
* *
|
||||
* FreeCAD is free software: you can redistribute it and/or modify it *
|
||||
* under the terms of the GNU Lesser General Public License as *
|
||||
* published by the Free Software Foundation, either version 2.1 of the *
|
||||
* License, or (at your option) any later version. *
|
||||
* *
|
||||
* FreeCAD is distributed in the hope that it will be useful, but *
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
|
||||
* Lesser General Public License for more details. *
|
||||
* *
|
||||
* You should have received a copy of the GNU Lesser General Public *
|
||||
* License along with FreeCAD. If not, see *
|
||||
* <https://www.gnu.org/licenses/>. *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <Mod/Assembly/AssemblyGlobal.h>
|
||||
|
||||
#include <App/DocumentObjectGroup.h>
|
||||
#include <App/PropertyLinks.h>
|
||||
|
||||
|
||||
namespace Assembly
|
||||
{
|
||||
|
||||
class AssemblyExport SimulationGroup: public App::DocumentObjectGroup
|
||||
{
|
||||
PROPERTY_HEADER_WITH_OVERRIDE(Assembly::SimulationGroup);
|
||||
|
||||
public:
|
||||
SimulationGroup();
|
||||
~SimulationGroup() override;
|
||||
|
||||
PyObject* getPyObject() override;
|
||||
|
||||
/// returns the type name of the ViewProvider
|
||||
const char* getViewProviderName() const override
|
||||
{
|
||||
return "AssemblyGui::ViewProviderSimulationGroup";
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
} // namespace Assembly
|
||||
16
src/Mod/Assembly/App/SimulationGroup.pyi
Normal file
@@ -0,0 +1,16 @@
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from Base.Metadata import export
|
||||
|
||||
from App.DocumentObjectGroup import DocumentObjectGroup
|
||||
|
||||
@export(Include="Mod/Assembly/App/SimulationGroup.h", Namespace="Assembly")
|
||||
class SimulationGroup(DocumentObjectGroup):
|
||||
"""
|
||||
This class is a group subclass for joints.
|
||||
|
||||
Author: Ondsel (development@ondsel.com)
|
||||
License: LGPL-2.1-or-later
|
||||
"""
|
||||
45
src/Mod/Assembly/App/SimulationGroupPyImp.cpp
Normal file
@@ -0,0 +1,45 @@
|
||||
// SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
/****************************************************************************
|
||||
* *
|
||||
* Copyright (c) 2024 Ondsel <development@ondsel.com> *
|
||||
* *
|
||||
* This file is part of FreeCAD. *
|
||||
* *
|
||||
* FreeCAD is free software: you can redistribute it and/or modify it *
|
||||
* under the terms of the GNU Lesser General Public License as *
|
||||
* published by the Free Software Foundation, either version 2.1 of the *
|
||||
* License, or (at your option) any later version. *
|
||||
* *
|
||||
* FreeCAD is distributed in the hope that it will be useful, but *
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
|
||||
* Lesser General Public License for more details. *
|
||||
* *
|
||||
* You should have received a copy of the GNU Lesser General Public *
|
||||
* License along with FreeCAD. If not, see *
|
||||
* <https://www.gnu.org/licenses/>. *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
// inclusion of the generated files (generated out of SimulationGroup.xml)
|
||||
#include "SimulationGroupPy.h"
|
||||
#include "SimulationGroupPy.cpp"
|
||||
|
||||
using namespace Assembly;
|
||||
|
||||
// returns a string which represents the object e.g. when printed in python
|
||||
std::string SimulationGroupPy::representation() const
|
||||
{
|
||||
return {"<Simulation Group>"};
|
||||
}
|
||||
|
||||
PyObject* SimulationGroupPy::getCustomAttributes(const char* /*attr*/) const
|
||||
{
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
int SimulationGroupPy::setCustomAttributes(const char* /*attr*/, PyObject* /*obj*/)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
52
src/Mod/Assembly/App/ViewGroup.cpp
Normal file
@@ -0,0 +1,52 @@
|
||||
// SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
/****************************************************************************
|
||||
* *
|
||||
* Copyright (c) 2023 Ondsel <development@ondsel.com> *
|
||||
* *
|
||||
* This file is part of FreeCAD. *
|
||||
* *
|
||||
* FreeCAD is free software: you can redistribute it and/or modify it *
|
||||
* under the terms of the GNU Lesser General Public License as *
|
||||
* published by the Free Software Foundation, either version 2.1 of the *
|
||||
* License, or (at your option) any later version. *
|
||||
* *
|
||||
* FreeCAD is distributed in the hope that it will be useful, but *
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
|
||||
* Lesser General Public License for more details. *
|
||||
* *
|
||||
* You should have received a copy of the GNU Lesser General Public *
|
||||
* License along with FreeCAD. If not, see *
|
||||
* <https://www.gnu.org/licenses/>. *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#include <App/Application.h>
|
||||
#include <App/Document.h>
|
||||
#include <App/FeaturePythonPyImp.h>
|
||||
#include <App/PropertyPythonObject.h>
|
||||
#include <Base/Console.h>
|
||||
#include <Base/Tools.h>
|
||||
|
||||
#include "ViewGroup.h"
|
||||
#include "ViewGroupPy.h"
|
||||
|
||||
using namespace Assembly;
|
||||
|
||||
|
||||
PROPERTY_SOURCE(Assembly::ViewGroup, App::DocumentObjectGroup)
|
||||
|
||||
ViewGroup::ViewGroup()
|
||||
{}
|
||||
|
||||
ViewGroup::~ViewGroup() = default;
|
||||
|
||||
PyObject* ViewGroup::getPyObject()
|
||||
{
|
||||
if (PythonObject.is(Py::_None())) {
|
||||
// ref counter is set to 1
|
||||
PythonObject = Py::Object(new ViewGroupPy(this), true);
|
||||
}
|
||||
return Py::new_reference_to(PythonObject);
|
||||
}
|
||||
54
src/Mod/Assembly/App/ViewGroup.h
Normal file
@@ -0,0 +1,54 @@
|
||||
// SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
/****************************************************************************
|
||||
* *
|
||||
* Copyright (c) 2023 Ondsel <development@ondsel.com> *
|
||||
* *
|
||||
* This file is part of FreeCAD. *
|
||||
* *
|
||||
* FreeCAD is free software: you can redistribute it and/or modify it *
|
||||
* under the terms of the GNU Lesser General Public License as *
|
||||
* published by the Free Software Foundation, either version 2.1 of the *
|
||||
* License, or (at your option) any later version. *
|
||||
* *
|
||||
* FreeCAD is distributed in the hope that it will be useful, but *
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
|
||||
* Lesser General Public License for more details. *
|
||||
* *
|
||||
* You should have received a copy of the GNU Lesser General Public *
|
||||
* License along with FreeCAD. If not, see *
|
||||
* <https://www.gnu.org/licenses/>. *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <Mod/Assembly/AssemblyGlobal.h>
|
||||
|
||||
#include <App/DocumentObjectGroup.h>
|
||||
#include <App/PropertyLinks.h>
|
||||
|
||||
|
||||
namespace Assembly
|
||||
{
|
||||
|
||||
class AssemblyExport ViewGroup: public App::DocumentObjectGroup
|
||||
{
|
||||
PROPERTY_HEADER_WITH_OVERRIDE(Assembly::ViewGroup);
|
||||
|
||||
public:
|
||||
ViewGroup();
|
||||
~ViewGroup() override;
|
||||
|
||||
PyObject* getPyObject() override;
|
||||
|
||||
/// returns the type name of the ViewProvider
|
||||
const char* getViewProviderName() const override
|
||||
{
|
||||
return "AssemblyGui::ViewProviderViewGroup";
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
} // namespace Assembly
|
||||
16
src/Mod/Assembly/App/ViewGroup.pyi
Normal file
@@ -0,0 +1,16 @@
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from Base.Metadata import export
|
||||
|
||||
from App.DocumentObjectGroup import DocumentObjectGroup
|
||||
|
||||
@export(Include="Mod/Assembly/App/ViewGroup.h", Namespace="Assembly")
|
||||
class ViewGroup(DocumentObjectGroup):
|
||||
"""
|
||||
This class is a group subclass for joints.
|
||||
|
||||
Author: Ondsel (development@ondsel.com)
|
||||
License: LGPL-2.1-or-later
|
||||
"""
|
||||
46
src/Mod/Assembly/App/ViewGroupPyImp.cpp
Normal file
@@ -0,0 +1,46 @@
|
||||
// SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
/***************************************************************************
|
||||
* Copyright (c) 2014 Jürgen Riegel <juergen.riegel@web.de> *
|
||||
* *
|
||||
* This file is part of the FreeCAD CAx development system. *
|
||||
* *
|
||||
* This library is free software; you can redistribute it and/or *
|
||||
* modify it under the terms of the GNU Library General Public *
|
||||
* License as published by the Free Software Foundation; either *
|
||||
* version 2 of the License, or (at your option) any later version. *
|
||||
* *
|
||||
* This library is distributed in the hope that it will be useful, *
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
||||
* GNU Library General Public License for more details. *
|
||||
* *
|
||||
* You should have received a copy of the GNU Library General Public *
|
||||
* License along with this library; see the file COPYING.LIB. If not, *
|
||||
* write to the Free Software Foundation, Inc., 59 Temple Place, *
|
||||
* Suite 330, Boston, MA 02111-1307, USA *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
// inclusion of the generated files (generated out of ViewGroup.xml)
|
||||
#include "ViewGroupPy.h"
|
||||
#include "ViewGroupPy.cpp"
|
||||
|
||||
using namespace Assembly;
|
||||
|
||||
// returns a string which represents the object e.g. when printed in python
|
||||
std::string ViewGroupPy::representation() const
|
||||
{
|
||||
return {"<Exploded View Group>"};
|
||||
}
|
||||
|
||||
PyObject* ViewGroupPy::getCustomAttributes(const char* /*attr*/) const
|
||||
{
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
int ViewGroupPy::setCustomAttributes(const char* /*attr*/, PyObject* /*obj*/)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
3
src/Mod/Assembly/Assembly/__init__.py
Normal file
@@ -0,0 +1,3 @@
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
import AssemblyApp
|
||||
45
src/Mod/Assembly/AssemblyGlobal.h
Normal file
@@ -0,0 +1,45 @@
|
||||
// SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
/****************************************************************************
|
||||
* *
|
||||
* Copyright (c) 2023 Ondsel <development@ondsel.com> *
|
||||
* *
|
||||
* This file is part of FreeCAD. *
|
||||
* *
|
||||
* FreeCAD is free software: you can redistribute it and/or modify it *
|
||||
* under the terms of the GNU Lesser General Public License as *
|
||||
* published by the Free Software Foundation, either version 2.1 of the *
|
||||
* License, or (at your option) any later version. *
|
||||
* *
|
||||
* FreeCAD is distributed in the hope that it will be useful, but *
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
|
||||
* Lesser General Public License for more details. *
|
||||
* *
|
||||
* You should have received a copy of the GNU Lesser General Public *
|
||||
* License along with FreeCAD. If not, see *
|
||||
* <https://www.gnu.org/licenses/>. *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
#include <FCGlobal.h>
|
||||
|
||||
#pragma once
|
||||
|
||||
|
||||
// Assembly
|
||||
#ifndef AssemblyExport
|
||||
# ifdef Assembly_EXPORTS
|
||||
# define AssemblyExport FREECAD_DECL_EXPORT
|
||||
# else
|
||||
# define AssemblyExport FREECAD_DECL_IMPORT
|
||||
# endif
|
||||
#endif
|
||||
|
||||
// AssemblyGui
|
||||
#ifndef AssemblyGuiExport
|
||||
# ifdef AssemblyGui_EXPORTS
|
||||
# define AssemblyGuiExport FREECAD_DECL_EXPORT
|
||||
# else
|
||||
# define AssemblyGuiExport FREECAD_DECL_IMPORT
|
||||
# endif
|
||||
#endif
|
||||
32
src/Mod/Assembly/AssemblyImport.py
Normal file
@@ -0,0 +1,32 @@
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
# /**************************************************************************
|
||||
# *
|
||||
# Copyright (c) 2023 Ondsel <development@ondsel.com> *
|
||||
# *
|
||||
# This file is part of FreeCAD. *
|
||||
# *
|
||||
# FreeCAD is free software: you can redistribute it and/or modify it *
|
||||
# under the terms of the GNU Lesser General Public License as *
|
||||
# published by the Free Software Foundation, either version 2.1 of the *
|
||||
# License, or (at your option) any later version. *
|
||||
# *
|
||||
# FreeCAD is distributed in the hope that it will be useful, but *
|
||||
# WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
|
||||
# Lesser General Public License for more details. *
|
||||
# *
|
||||
# You should have received a copy of the GNU Lesser General Public *
|
||||
# License along with FreeCAD. If not, see *
|
||||
# <https://www.gnu.org/licenses/>. *
|
||||
# *
|
||||
# **************************************************************************/
|
||||
|
||||
|
||||
def open(filename):
|
||||
doc = App.activeDocument()
|
||||
# here you do all what is needed with filename, read, classify data, create corresponding FreeCAD objects
|
||||
doc.recompute()
|
||||
|
||||
|
||||
def insert(filename, docname):
|
||||
print("Inserting file: " + filename + " into document: " + docname)
|
||||
193
src/Mod/Assembly/AssemblyTests/TestCommandInsertLink.py
Normal file
@@ -0,0 +1,193 @@
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
# /****************************************************************************
|
||||
# *
|
||||
# Copyright (c) 2025 Weston Schmidt <weston_schmidt@alumni.purdue.edu> *
|
||||
# *
|
||||
# This file is part of FreeCAD. *
|
||||
# *
|
||||
# FreeCAD is free software: you can redistribute it and/or modify it *
|
||||
# under the terms of the GNU Lesser General Public License as *
|
||||
# published by the Free Software Foundation, either version 2.1 of the *
|
||||
# License, or (at your option) any later version. *
|
||||
# *
|
||||
# FreeCAD is distributed in the hope that it will be useful, but *
|
||||
# WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
|
||||
# Lesser General Public License for more details. *
|
||||
# *
|
||||
# You should have received a copy of the GNU Lesser General Public *
|
||||
# License along with FreeCAD. If not, see *
|
||||
# <https://www.gnu.org/licenses/>. *
|
||||
# *
|
||||
# ***************************************************************************/
|
||||
|
||||
"""
|
||||
Unit tests for CommandInsertLink module.
|
||||
|
||||
This module contains unit tests to verify the proper handling of null
|
||||
LinkedObject references in the TaskAssemblyInsertLink.accept() method.
|
||||
Tests ensure that invalid objects are gracefully skipped without causing
|
||||
AttributeError crashes.
|
||||
"""
|
||||
|
||||
import unittest
|
||||
from unittest.mock import patch, MagicMock
|
||||
|
||||
import FreeCAD as App
|
||||
|
||||
# Only import CommandInsertLink if GUI is available
|
||||
if App.GuiUp:
|
||||
import CommandInsertLink
|
||||
|
||||
|
||||
def _msg(text, end="\n"):
|
||||
"""Write messages to the console including the line ending."""
|
||||
App.Console.PrintMessage(text + end)
|
||||
|
||||
|
||||
@unittest.skipIf(not App.GuiUp, "GUI tests require FreeCAD GUI mode")
|
||||
class TestCommandInsertLink(unittest.TestCase):
|
||||
"""Unit tests for CommandInsertLink module."""
|
||||
|
||||
@classmethod
|
||||
def setUpClass(cls):
|
||||
"""setUpClass()...
|
||||
This method is called upon instantiation of this test class. Add code and objects here
|
||||
that are needed for the duration of the test() methods in this class. In other words,
|
||||
set up the 'global' test environment here; use the `setUp()` method to set up a 'local'
|
||||
test environment.
|
||||
This method does not have access to the class `self` reference, but it
|
||||
is able to call static methods within this same class.
|
||||
"""
|
||||
|
||||
@classmethod
|
||||
def tearDownClass(cls):
|
||||
"""tearDownClass()...
|
||||
This method is called prior to destruction of this test class. Add code and objects here
|
||||
that cleanup the test environment after the test() methods in this class have been executed.
|
||||
This method does not have access to the class `self` reference. This method
|
||||
is able to call static methods within this same class.
|
||||
"""
|
||||
|
||||
def setUp(self):
|
||||
"""setUp()...
|
||||
This method is called prior to each `test()` method. Add code and objects here
|
||||
that are needed for multiple `test()` methods.
|
||||
"""
|
||||
doc_name = self.__class__.__name__
|
||||
if App.ActiveDocument:
|
||||
if App.ActiveDocument.Name != doc_name:
|
||||
App.newDocument(doc_name)
|
||||
else:
|
||||
App.newDocument(doc_name)
|
||||
App.setActiveDocument(doc_name)
|
||||
self.doc = App.ActiveDocument
|
||||
|
||||
self.assembly = App.ActiveDocument.addObject("Assembly::AssemblyObject", "Assembly")
|
||||
|
||||
_msg(f" Temporary document '{self.doc.Name}'")
|
||||
|
||||
def tearDown(self):
|
||||
"""tearDown()...
|
||||
This method is called after each test() method. Add cleanup instructions here.
|
||||
Such cleanup instructions will likely undo those in the setUp() method.
|
||||
"""
|
||||
App.closeDocument(self.doc.Name)
|
||||
|
||||
@patch("FreeCADGui.PySideUic.loadUi")
|
||||
@patch("CommandInsertLink.TaskAssemblyInsertLink.adjustTreeWidgetSize")
|
||||
def test_mixed_valid_and_invalid_objects(self, _mock_adjustTreeSize, _mock_loadUi):
|
||||
"""Test that accept() handles a mix of valid and invalid objects correctly."""
|
||||
operation = "Handle mixed valid/invalid objects"
|
||||
_msg(f" Test '{operation}'")
|
||||
|
||||
mock_view = MagicMock()
|
||||
mock_view.getSize = MagicMock(return_value=(800, 600))
|
||||
task = CommandInsertLink.TaskAssemblyInsertLink(self.assembly, mock_view)
|
||||
|
||||
# Create a mix of valid and invalid objects
|
||||
test_objects = [
|
||||
# Valid object (would work in real scenario)
|
||||
{
|
||||
"addedObject": type(
|
||||
"ValidObject",
|
||||
(),
|
||||
{
|
||||
"Name": "ValidObject",
|
||||
"Label": "Valid Object",
|
||||
"LinkedObject": type(
|
||||
"ValidLinkedObject", (), {"Name": "ValidLinkedObjectName"}
|
||||
)(),
|
||||
},
|
||||
)(),
|
||||
"translation": App.Vector(1, 1, 1),
|
||||
},
|
||||
# Invalid: LinkedObject is None
|
||||
{
|
||||
"addedObject": type(
|
||||
"InvalidObject1",
|
||||
(),
|
||||
{"Name": "InvalidObject1", "Label": "Invalid Object 1", "LinkedObject": None},
|
||||
)(),
|
||||
"translation": App.Vector(2, 2, 2),
|
||||
},
|
||||
# Invalid: No LinkedObject attribute
|
||||
{
|
||||
"addedObject": type(
|
||||
"InvalidObject2", (), {"Name": "InvalidObject2", "Label": "Invalid Object 2"}
|
||||
)(),
|
||||
"translation": App.Vector(3, 3, 3),
|
||||
},
|
||||
# Invalid: LinkedObject.Name is None
|
||||
{
|
||||
"addedObject": type(
|
||||
"InvalidObject3",
|
||||
(),
|
||||
{
|
||||
"Name": "InvalidObject3",
|
||||
"Label": "Invalid Object 3",
|
||||
"LinkedObject": type("LinkedObjectWithNoneName", (), {"Name": None})(),
|
||||
},
|
||||
)(),
|
||||
"translation": App.Vector(4, 4, 4),
|
||||
},
|
||||
# Invalid: No Name attribute
|
||||
{
|
||||
"addedObject": type(
|
||||
"InvalidObject4",
|
||||
(),
|
||||
{
|
||||
"Label": "Invalid Object 4",
|
||||
"LinkedObject": type("LinkedObject", (), {"Name": "Something"})(),
|
||||
},
|
||||
)(),
|
||||
"translation": App.Vector(5, 5, 5),
|
||||
},
|
||||
]
|
||||
|
||||
# Add all objects to insertion stack
|
||||
for obj_data in test_objects:
|
||||
task.insertionStack.append(obj_data)
|
||||
|
||||
# Should handle the mix gracefully - invalid objects skipped, valid ones processed
|
||||
result = task.accept()
|
||||
self.assertTrue(result, "accept() should return True even with mixed valid/invalid objects")
|
||||
_msg(" Successfully handled mixed valid/invalid objects")
|
||||
|
||||
@patch("FreeCADGui.PySideUic.loadUi")
|
||||
@patch("CommandInsertLink.TaskAssemblyInsertLink.adjustTreeWidgetSize")
|
||||
def test_empty_insertion_stack(self, _mock_adjustTreeSize, _mock_ui):
|
||||
"""Test that accept() handles empty insertion stack correctly."""
|
||||
operation = "Handle empty insertion stack"
|
||||
_msg(f" Test '{operation}'")
|
||||
|
||||
mock_view = MagicMock()
|
||||
mock_view.getSize = MagicMock(return_value=(800, 600))
|
||||
task = CommandInsertLink.TaskAssemblyInsertLink(self.assembly, mock_view)
|
||||
|
||||
# Don't add anything to insertion stack - it should remain empty
|
||||
self.assertEqual(len(task.insertionStack), 0, "Insertion stack should be empty")
|
||||
|
||||
result = task.accept()
|
||||
self.assertTrue(result, "accept() should return True even with empty insertion stack")
|
||||
_msg(" Successfully handled empty insertion stack")
|
||||
215
src/Mod/Assembly/AssemblyTests/TestCore.py
Normal file
@@ -0,0 +1,215 @@
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
# /****************************************************************************
|
||||
# *
|
||||
# Copyright (c) 2023 Ondsel <development@ondsel.com> *
|
||||
# *
|
||||
# This file is part of FreeCAD. *
|
||||
# *
|
||||
# FreeCAD is free software: you can redistribute it and/or modify it *
|
||||
# under the terms of the GNU Lesser General Public License as *
|
||||
# published by the Free Software Foundation, either version 2.1 of the *
|
||||
# License, or (at your option) any later version. *
|
||||
# *
|
||||
# FreeCAD is distributed in the hope that it will be useful, but *
|
||||
# WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
|
||||
# Lesser General Public License for more details. *
|
||||
# *
|
||||
# You should have received a copy of the GNU Lesser General Public *
|
||||
# License along with FreeCAD. If not, see *
|
||||
# <https://www.gnu.org/licenses/>. *
|
||||
# *
|
||||
# ***************************************************************************/
|
||||
|
||||
import FreeCAD as App
|
||||
import Part
|
||||
import unittest
|
||||
|
||||
import UtilsAssembly
|
||||
import JointObject
|
||||
|
||||
|
||||
def _msg(text, end="\n"):
|
||||
"""Write messages to the console including the line ending."""
|
||||
App.Console.PrintMessage(text + end)
|
||||
|
||||
|
||||
class TestCore(unittest.TestCase):
|
||||
@classmethod
|
||||
def setUpClass(cls):
|
||||
"""setUpClass()...
|
||||
This method is called upon instantiation of this test class. Add code and objects here
|
||||
that are needed for the duration of the test() methods in this class. In other words,
|
||||
set up the 'global' test environment here; use the `setUp()` method to set up a 'local'
|
||||
test environment.
|
||||
This method does not have access to the class `self` reference, but it
|
||||
is able to call static methods within this same class.
|
||||
"""
|
||||
pass
|
||||
|
||||
@classmethod
|
||||
def tearDownClass(cls):
|
||||
"""tearDownClass()...
|
||||
This method is called prior to destruction of this test class. Add code and objects here
|
||||
that cleanup the test environment after the test() methods in this class have been executed.
|
||||
This method does not have access to the class `self` reference. This method
|
||||
is able to call static methods within this same class.
|
||||
"""
|
||||
pass
|
||||
|
||||
# Setup and tear down methods called before and after each unit test
|
||||
def setUp(self):
|
||||
"""setUp()...
|
||||
This method is called prior to each `test()` method. Add code and objects here
|
||||
that are needed for multiple `test()` methods.
|
||||
"""
|
||||
doc_name = self.__class__.__name__
|
||||
if App.ActiveDocument:
|
||||
if App.ActiveDocument.Name != doc_name:
|
||||
App.newDocument(doc_name)
|
||||
else:
|
||||
App.newDocument(doc_name)
|
||||
App.setActiveDocument(doc_name)
|
||||
self.doc = App.ActiveDocument
|
||||
|
||||
self.assembly = App.ActiveDocument.addObject("Assembly::AssemblyObject", "Assembly")
|
||||
if self.assembly:
|
||||
self.jointgroup = self.assembly.newObject("Assembly::JointGroup", "Joints")
|
||||
|
||||
_msg(" Temporary document '{}'".format(self.doc.Name))
|
||||
|
||||
def tearDown(self):
|
||||
"""tearDown()...
|
||||
This method is called after each test() method. Add cleanup instructions here.
|
||||
Such cleanup instructions will likely undo those in the setUp() method.
|
||||
"""
|
||||
App.closeDocument(self.doc.Name)
|
||||
|
||||
def test_create_assembly(self):
|
||||
"""Create an assembly."""
|
||||
operation = "Create Assembly Object"
|
||||
_msg(" Test '{}'".format(operation))
|
||||
self.assertTrue(self.assembly, "'{}' failed".format(operation))
|
||||
|
||||
def test_create_jointGroup(self):
|
||||
"""Create a joint group in an assembly."""
|
||||
operation = "Create JointGroup Object"
|
||||
_msg(" Test '{}'".format(operation))
|
||||
self.assertTrue(self.jointgroup, "'{}' failed".format(operation))
|
||||
|
||||
def test_create_joint(self):
|
||||
"""Create a joint in an assembly."""
|
||||
operation = "Create Joint Object"
|
||||
_msg(" Test '{}'".format(operation))
|
||||
|
||||
joint = self.jointgroup.newObject("App::FeaturePython", "testJoint")
|
||||
self.assertTrue(joint, "'{}' failed (FeaturePython creation failed)".format(operation))
|
||||
JointObject.Joint(joint, 0)
|
||||
|
||||
self.assertTrue(hasattr(joint, "JointType"), "'{}' failed".format(operation))
|
||||
|
||||
def test_create_grounded_joint(self):
|
||||
"""Create a grounded joint in an assembly."""
|
||||
operation = "Create Grounded Joint Object"
|
||||
_msg(" Test '{}'".format(operation))
|
||||
|
||||
groundedjoint = self.jointgroup.newObject("App::FeaturePython", "testJoint")
|
||||
self.assertTrue(
|
||||
groundedjoint, "'{}' failed (FeaturePython creation failed)".format(operation)
|
||||
)
|
||||
|
||||
box = self.assembly.newObject("Part::Box", "Box")
|
||||
|
||||
JointObject.GroundedJoint(groundedjoint, box)
|
||||
|
||||
self.assertTrue(
|
||||
hasattr(groundedjoint, "ObjectToGround"),
|
||||
"'{}' failed: No attribute 'ObjectToGround'".format(operation),
|
||||
)
|
||||
self.assertTrue(
|
||||
groundedjoint.ObjectToGround == box,
|
||||
"'{}' failed: ObjectToGround not set correctly.".format(operation),
|
||||
)
|
||||
|
||||
def test_find_placement(self):
|
||||
"""Test find placement of joint."""
|
||||
operation = "Find placement"
|
||||
_msg(" Test '{}'".format(operation))
|
||||
|
||||
joint = self.jointgroup.newObject("App::FeaturePython", "testJoint")
|
||||
JointObject.Joint(joint, 0)
|
||||
|
||||
L = 2
|
||||
W = 3
|
||||
H = 7
|
||||
box = self.assembly.newObject("Part::Box", "Box")
|
||||
box.Length = L
|
||||
box.Width = W
|
||||
box.Height = H
|
||||
box.Placement = App.Placement(App.Vector(10, 20, 30), App.Rotation(15, 25, 35))
|
||||
|
||||
# Step 0 : box with placement. No element selected
|
||||
ref = [self.assembly, [box.Name + ".", box.Name + "."]]
|
||||
plc = joint.Proxy.findPlacement(joint, ref)
|
||||
targetPlc = App.Placement(App.Vector(), App.Rotation())
|
||||
self.assertTrue(plc.isSame(targetPlc, 1e-6), "'{}' failed - Step 0".format(operation))
|
||||
|
||||
# Step 1 : box with placement. Face + Vertex
|
||||
ref = [self.assembly, [box.Name + ".Face6", box.Name + ".Vertex7"]]
|
||||
plc = joint.Proxy.findPlacement(joint, ref)
|
||||
targetPlc = App.Placement(App.Vector(L, W, H), App.Rotation())
|
||||
self.assertTrue(plc.isSame(targetPlc, 1e-6), "'{}' failed - Step 1".format(operation))
|
||||
|
||||
# Step 2 : box with placement. Edge + Vertex
|
||||
ref = [self.assembly, [box.Name + ".Edge8", box.Name + ".Vertex8"]]
|
||||
plc = joint.Proxy.findPlacement(joint, ref)
|
||||
targetPlc = App.Placement(App.Vector(L, W, 0), App.Rotation(0, -90, 270))
|
||||
self.assertTrue(plc.isSame(targetPlc, 1e-6), "'{}' failed - Step 2".format(operation))
|
||||
|
||||
# Step 3 : box with placement. Vertex
|
||||
ref = [self.assembly, [box.Name + ".Vertex3", box.Name + ".Vertex3"]]
|
||||
plc = joint.Proxy.findPlacement(joint, ref)
|
||||
targetPlc = App.Placement(App.Vector(0, W, H), App.Rotation())
|
||||
_msg(" plc '{}'".format(plc))
|
||||
_msg(" targetPlc '{}'".format(targetPlc))
|
||||
self.assertTrue(plc.isSame(targetPlc, 1e-6), "'{}' failed - Step 3".format(operation))
|
||||
|
||||
# Step 4 : box with placement. Face
|
||||
ref = [self.assembly, [box.Name + ".Face2", box.Name + ".Face2"]]
|
||||
plc = joint.Proxy.findPlacement(joint, ref)
|
||||
targetPlc = App.Placement(App.Vector(L, W / 2, H / 2), App.Rotation(0, -90, 180))
|
||||
_msg(" plc '{}'".format(plc))
|
||||
_msg(" targetPlc '{}'".format(targetPlc))
|
||||
self.assertTrue(plc.isSame(targetPlc, 1e-6), "'{}' failed - Step 4".format(operation))
|
||||
|
||||
def test_solve_assembly(self):
|
||||
"""Test solving an assembly."""
|
||||
operation = "Solve assembly"
|
||||
_msg(" Test '{}'".format(operation))
|
||||
|
||||
box = self.assembly.newObject("Part::Box", "Box")
|
||||
box.Length = 10
|
||||
box.Width = 10
|
||||
box.Height = 10
|
||||
box.Placement = App.Placement(App.Vector(10, 20, 30), App.Rotation(15, 25, 35))
|
||||
|
||||
box2 = self.assembly.newObject("Part::Box", "Box")
|
||||
box2.Length = 10
|
||||
box2.Width = 10
|
||||
box2.Height = 10
|
||||
box2.Placement = App.Placement(App.Vector(40, 50, 60), App.Rotation(45, 55, 65))
|
||||
|
||||
ground = self.jointgroup.newObject("App::FeaturePython", "GroundedJoint")
|
||||
JointObject.GroundedJoint(ground, box2)
|
||||
|
||||
joint = self.jointgroup.newObject("App::FeaturePython", "testJoint")
|
||||
JointObject.Joint(joint, 0)
|
||||
|
||||
refs = [
|
||||
[box2, ["Face6", "Vertex7"]],
|
||||
[box, ["Face6", "Vertex7"]],
|
||||
]
|
||||
|
||||
joint.Proxy.setJointConnectors(joint, refs)
|
||||
|
||||
self.assertTrue(box.Placement.isSame(box2.Placement, 1e-6), "'{}'".format(operation))
|
||||
71
src/Mod/Assembly/AssemblyTests/TestTEMPLATE.py
Normal file
@@ -0,0 +1,71 @@
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
# /****************************************************************************
|
||||
# *
|
||||
# Copyright (c) 2023 Ondsel <development@ondsel.com> *
|
||||
# *
|
||||
# This file is part of FreeCAD. *
|
||||
# *
|
||||
# FreeCAD is free software: you can redistribute it and/or modify it *
|
||||
# under the terms of the GNU Lesser General Public License as *
|
||||
# published by the Free Software Foundation, either version 2.1 of the *
|
||||
# License, or (at your option) any later version. *
|
||||
# *
|
||||
# FreeCAD is distributed in the hope that it will be useful, but *
|
||||
# WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
|
||||
# Lesser General Public License for more details. *
|
||||
# *
|
||||
# You should have received a copy of the GNU Lesser General Public *
|
||||
# License along with FreeCAD. If not, see *
|
||||
# <https://www.gnu.org/licenses/>. *
|
||||
# *
|
||||
# ***************************************************************************/
|
||||
|
||||
import FreeCAD
|
||||
import Part
|
||||
import unittest
|
||||
|
||||
|
||||
class TestTEMPLATE(unittest.TestCase):
|
||||
@classmethod
|
||||
def setUpClass(cls):
|
||||
"""setUpClass()...
|
||||
This method is called upon instantiation of this test class. Add code and objects here
|
||||
that are needed for the duration of the test() methods in this class. In other words,
|
||||
set up the 'global' test environment here; use the `setUp()` method to set up a 'local'
|
||||
test environment.
|
||||
This method does not have access to the class `self` reference, but it
|
||||
is able to call static methods within this same class.
|
||||
"""
|
||||
pass
|
||||
|
||||
@classmethod
|
||||
def tearDownClass(cls):
|
||||
"""tearDownClass()...
|
||||
This method is called prior to destruction of this test class. Add code and objects here
|
||||
that cleanup the test environment after the test() methods in this class have been executed.
|
||||
This method does not have access to the class `self` reference. This method
|
||||
is able to call static methods within this same class.
|
||||
"""
|
||||
pass
|
||||
|
||||
# Setup and tear down methods called before and after each unit test
|
||||
def setUp(self):
|
||||
"""setUp()...
|
||||
This method is called prior to each `test()` method. Add code and objects here
|
||||
that are needed for multiple `test()` methods.
|
||||
"""
|
||||
self.doc = FreeCAD.ActiveDocument
|
||||
self.con = FreeCAD.Console
|
||||
|
||||
def tearDown(self):
|
||||
"""tearDown()...
|
||||
This method is called after each test() method. Add cleanup instructions here.
|
||||
Such cleanup instructions will likely undo those in the setUp() method.
|
||||
"""
|
||||
pass
|
||||
|
||||
def test00(self):
|
||||
pass
|
||||
|
||||
self.assertTrue(True)
|
||||
1
src/Mod/Assembly/AssemblyTests/__init__.py
Normal file
@@ -0,0 +1 @@
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
180
src/Mod/Assembly/AssemblyTests/mocks/MockGui.py
Normal file
@@ -0,0 +1,180 @@
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
# /****************************************************************************
|
||||
# *
|
||||
# Copyright (c) 2025 Weston Schmidt <weston_schmidt@alumni.purdue.edu> *
|
||||
# *
|
||||
# This file is part of FreeCAD. *
|
||||
# *
|
||||
# FreeCAD is free software: you can redistribute it and/or modify it *
|
||||
# under the terms of the GNU Lesser General Public License as *
|
||||
# published by the Free Software Foundation, either version 2.1 of the *
|
||||
# License, or (at your option) any later version. *
|
||||
# *
|
||||
# FreeCAD is distributed in the hope that it will be useful, but *
|
||||
# WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
|
||||
# Lesser General Public License for more details. *
|
||||
# *
|
||||
# You should have received a copy of the GNU Lesser General Public *
|
||||
# License along with FreeCAD. If not, see *
|
||||
# <https://www.gnu.org/licenses/>. *
|
||||
# *
|
||||
# ***************************************************************************/
|
||||
|
||||
"""
|
||||
Mock classes for FreeCAD GUI testing.
|
||||
|
||||
This module provides mock implementations of FreeCAD and Qt classes
|
||||
to enable unit testing without requiring the full FreeCAD environment.
|
||||
"""
|
||||
|
||||
# pylint: disable=too-few-public-methods
|
||||
|
||||
from unittest.mock import MagicMock
|
||||
|
||||
|
||||
def create_mock_qicon():
|
||||
"""Create a mock QIcon with fromTheme static method."""
|
||||
mock_qicon = MagicMock()
|
||||
mock_qicon.fromTheme = MagicMock(return_value=mock_qicon)
|
||||
return mock_qicon
|
||||
|
||||
|
||||
def create_mock_qtreewidgetitem():
|
||||
"""Create a mock QTreeWidgetItem with required methods and state tracking."""
|
||||
mock_item = MagicMock()
|
||||
|
||||
# Add state tracking for setText/text functionality
|
||||
mock_item.text_values = {}
|
||||
mock_item.data_values = {}
|
||||
mock_item.children = []
|
||||
|
||||
def mock_set_text(column, text):
|
||||
mock_item.text_values[column] = text
|
||||
|
||||
def mock_get_text(column):
|
||||
return mock_item.text_values.get(column, "")
|
||||
|
||||
def mock_set_data(column, role, data):
|
||||
mock_item.data_values[(column, role)] = data
|
||||
|
||||
def mock_get_data(column, role):
|
||||
return mock_item.data_values.get((column, role))
|
||||
|
||||
def mock_child_count():
|
||||
return len(mock_item.children)
|
||||
|
||||
def mock_child(index):
|
||||
if 0 <= index < len(mock_item.children):
|
||||
return mock_item.children[index]
|
||||
return None
|
||||
|
||||
def mock_add_child(child):
|
||||
mock_item.children.append(child)
|
||||
|
||||
# Configure the mock with specific behaviors
|
||||
mock_item.setText = mock_set_text
|
||||
mock_item.text = mock_get_text
|
||||
mock_item.setData = mock_set_data
|
||||
mock_item.data = mock_get_data
|
||||
mock_item.childCount = mock_child_count
|
||||
mock_item.child = mock_child
|
||||
mock_item.addChild = mock_add_child
|
||||
|
||||
return mock_item
|
||||
|
||||
|
||||
def create_mock_checkbox():
|
||||
"""Create a mock CheckBox with state tracking."""
|
||||
mock_checkbox = MagicMock()
|
||||
mock_checkbox.checked = False
|
||||
|
||||
def mock_set_checked(checked):
|
||||
mock_checkbox.checked = checked
|
||||
|
||||
def mock_is_checked():
|
||||
return mock_checkbox.checked
|
||||
|
||||
mock_checkbox.setChecked = mock_set_checked
|
||||
mock_checkbox.isChecked = mock_is_checked
|
||||
mock_checkbox.stateChanged = MagicMock()
|
||||
|
||||
return mock_checkbox
|
||||
|
||||
|
||||
def create_mock_line_edit():
|
||||
"""Create a mock LineEdit."""
|
||||
mock_line_edit = MagicMock()
|
||||
mock_line_edit.text.return_value = ""
|
||||
mock_line_edit.textChanged = MagicMock()
|
||||
return mock_line_edit
|
||||
|
||||
|
||||
def create_mock_part_list():
|
||||
"""Create a mock PartList with required functionality."""
|
||||
mock_part_list = MagicMock()
|
||||
mock_part_list.items = []
|
||||
|
||||
def mock_clear():
|
||||
mock_part_list.items = []
|
||||
|
||||
def mock_add_top_level_item(item):
|
||||
mock_part_list.items.append(item)
|
||||
|
||||
def mock_top_level_item_count():
|
||||
return len(mock_part_list.items)
|
||||
|
||||
def mock_top_level_item(index):
|
||||
if 0 <= index < len(mock_part_list.items):
|
||||
return mock_part_list.items[index]
|
||||
return None
|
||||
|
||||
mock_part_list.clear = mock_clear
|
||||
mock_part_list.addTopLevelItem = mock_add_top_level_item
|
||||
mock_part_list.topLevelItemCount = mock_top_level_item_count
|
||||
mock_part_list.topLevelItem = mock_top_level_item
|
||||
mock_part_list.sizeHintForRow.return_value = 20
|
||||
|
||||
# Add other required attributes/methods
|
||||
mock_part_list.itemClicked = MagicMock()
|
||||
mock_part_list.itemDoubleClicked = MagicMock()
|
||||
mock_part_list.header.return_value = MagicMock()
|
||||
|
||||
return mock_part_list
|
||||
|
||||
|
||||
def create_mock_form():
|
||||
"""Create a mock Form with all required components."""
|
||||
mock_form = MagicMock()
|
||||
mock_form.partList = create_mock_part_list()
|
||||
mock_form.CheckBox_ShowOnlyParts = create_mock_checkbox()
|
||||
mock_form.CheckBox_RigidSubAsm = create_mock_checkbox()
|
||||
mock_form.openFileButton = MagicMock()
|
||||
mock_form.openFileButton.clicked = MagicMock()
|
||||
mock_form.filterPartList = create_mock_line_edit()
|
||||
return mock_form
|
||||
|
||||
|
||||
def create_mock_pyside_uic():
|
||||
"""Create a mock PySideUic with loadUi method."""
|
||||
mock_uic = MagicMock()
|
||||
mock_uic.loadUi.return_value = create_mock_form()
|
||||
return mock_uic
|
||||
|
||||
|
||||
def create_mock_gui_document(doc_name):
|
||||
"""Create a mock GUI document."""
|
||||
mock_doc = MagicMock()
|
||||
mock_doc.Name = doc_name
|
||||
mock_doc.getObject.return_value = None
|
||||
mock_doc.TreeRootObjects = []
|
||||
return mock_doc
|
||||
|
||||
|
||||
# Factory functions for creating specific mock instances
|
||||
MockQIcon = create_mock_qicon
|
||||
MockQTreeWidgetItem = create_mock_qtreewidgetitem
|
||||
MockPySideUic = create_mock_pyside_uic
|
||||
MockGetDocument = create_mock_gui_document
|
||||
MockAddModule = MagicMock()
|
||||
MockDoCommandSkip = MagicMock()
|
||||
80
src/Mod/Assembly/AssemblyTests/mocks/__init__.py
Normal file
@@ -0,0 +1,80 @@
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
# /****************************************************************************
|
||||
# *
|
||||
# Copyright (c) 2025 Weston Schmidt <weston_schmidt@alumni.purdue.edu> *
|
||||
# *
|
||||
# This file is part of FreeCAD. *
|
||||
# *
|
||||
# FreeCAD is free software: you can redistribute it and/or modify it *
|
||||
# under the terms of the GNU Lesser General Public License as *
|
||||
# published by the Free Software Foundation, either version 2.1 of the *
|
||||
# License, or (at your option) any later version. *
|
||||
# *
|
||||
# FreeCAD is distributed in the hope that it will be useful, but *
|
||||
# WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
|
||||
# Lesser General Public License for more details. *
|
||||
# *
|
||||
# You should have received a copy of the GNU Lesser General Public *
|
||||
# License along with FreeCAD. If not, see *
|
||||
# <https://www.gnu.org/licenses/>. *
|
||||
# *
|
||||
# ***************************************************************************/
|
||||
|
||||
"""Mock classes for FreeCAD GUI testing."""
|
||||
|
||||
import builtins
|
||||
from .MockGui import (
|
||||
MockQIcon,
|
||||
MockQTreeWidgetItem,
|
||||
MockPySideUic,
|
||||
MockGetDocument,
|
||||
MockAddModule,
|
||||
MockDoCommandSkip,
|
||||
)
|
||||
|
||||
# Set up all FreeCAD GUI mocks for testing
|
||||
# Always create mocks for consistent testing
|
||||
Gui = type("MockGui", (), {})()
|
||||
QtCore = type("MockQtCore", (), {})()
|
||||
QtGui = type("MockQtGui", (), {})()
|
||||
|
||||
# Patch QtGui with our mock classes
|
||||
QtGui.QIcon = MockQIcon
|
||||
QtGui.QTreeWidgetItem = MockQTreeWidgetItem
|
||||
|
||||
# Mock the PySideUic if it doesn't exist
|
||||
if not hasattr(Gui, "PySideUic"):
|
||||
Gui.PySideUic = MockPySideUic
|
||||
|
||||
# Mock additional Gui methods that might be missing
|
||||
if not hasattr(Gui, "getDocument"):
|
||||
Gui.getDocument = MockGetDocument
|
||||
|
||||
# Mock Selection module
|
||||
if not hasattr(Gui, "Selection"):
|
||||
Gui.Selection = type(
|
||||
"MockSelection",
|
||||
(),
|
||||
{
|
||||
"clearSelection": lambda *args: None,
|
||||
"addSelection": lambda *args: None,
|
||||
"getSelection": lambda *args: [],
|
||||
},
|
||||
)()
|
||||
|
||||
# Mock addModule method
|
||||
if not hasattr(Gui, "addModule"):
|
||||
Gui.addModule = MockAddModule
|
||||
|
||||
# Mock doCommandSkip method
|
||||
if not hasattr(Gui, "doCommandSkip"):
|
||||
Gui.doCommandSkip = MockDoCommandSkip
|
||||
|
||||
# Make QtCore, QtGui and Gui available in the global namespace
|
||||
builtins.QtCore = QtCore
|
||||
builtins.QtGui = QtGui
|
||||
builtins.Gui = Gui
|
||||
builtins.QIcon = MockQIcon
|
||||
|
||||
__all__ = []
|
||||
96
src/Mod/Assembly/CMakeLists.txt
Normal file
@@ -0,0 +1,96 @@
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
if (NOT FREECAD_USE_EXTERNAL_ONDSELSOLVER)
|
||||
include_directories(
|
||||
${CMAKE_SOURCE_DIR}/src/3rdParty/OndselSolver
|
||||
)
|
||||
else ()
|
||||
check_include_file_cxx(OndselSolver/enum.h HAVE_ONDSELSOLVER_H)
|
||||
if (NOT HAVE_ONDSELSOLVER_H)
|
||||
message(FATAL_ERROR "FREECAD_USE_EXTERNAL_ONDSELSOLVER is set but the required system includes are not available")
|
||||
endif ()
|
||||
endif ()
|
||||
|
||||
add_subdirectory(App)
|
||||
|
||||
if(BUILD_GUI)
|
||||
add_subdirectory(Gui)
|
||||
endif(BUILD_GUI)
|
||||
|
||||
set(Assembly_Scripts
|
||||
Init.py
|
||||
CommandCreateAssembly.py
|
||||
CommandCreateBom.py
|
||||
CommandInsertLink.py
|
||||
CommandInsertNewPart.py
|
||||
CommandSolveAssembly.py
|
||||
CommandCreateJoint.py
|
||||
CommandCreateView.py
|
||||
CommandCreateSimulation.py
|
||||
CommandExportASMT.py
|
||||
TestAssemblyWorkbench.py
|
||||
JointObject.py
|
||||
Preferences.py
|
||||
AssemblyImport.py
|
||||
SoSwitchMarker.py
|
||||
UtilsAssembly.py
|
||||
)
|
||||
|
||||
if(BUILD_GUI)
|
||||
list (APPEND Assembly_Scripts InitGui.py)
|
||||
endif(BUILD_GUI)
|
||||
|
||||
INSTALL(
|
||||
FILES
|
||||
${Assembly_Scripts}
|
||||
DESTINATION
|
||||
Mod/Assembly
|
||||
)
|
||||
|
||||
SET(AssemblyScripts_SRCS
|
||||
Assembly/__init__.py
|
||||
)
|
||||
|
||||
|
||||
SET(AssemblyTests_SRCS
|
||||
AssemblyTests/__init__.py
|
||||
AssemblyTests/TestCore.py
|
||||
AssemblyTests/TestCommandInsertLink.py
|
||||
AssemblyTests/mocks/__init__.py
|
||||
AssemblyTests/mocks/MockGui.py
|
||||
)
|
||||
|
||||
|
||||
SET(all_files
|
||||
${AssemblyTests_SRCS}
|
||||
${AssemblyScripts_SRCS}
|
||||
)
|
||||
|
||||
ADD_CUSTOM_TARGET(AssemblyScripts ALL
|
||||
SOURCES ${all_files}
|
||||
)
|
||||
|
||||
SET(test_files
|
||||
${Assembly_Scripts}
|
||||
${AssemblyTests_SRCS}
|
||||
)
|
||||
|
||||
ADD_CUSTOM_TARGET(AssemblyTests ALL
|
||||
SOURCES ${test_files}
|
||||
)
|
||||
|
||||
fc_copy_sources(AssemblyScripts "${CMAKE_BINARY_DIR}/Mod/Assembly" ${all_files})
|
||||
fc_copy_sources(AssemblyTests "${CMAKE_BINARY_DIR}/Mod/Assembly" ${test_files})
|
||||
|
||||
INSTALL(
|
||||
FILES
|
||||
${AssemblyTests_SRCS}
|
||||
DESTINATION
|
||||
Mod/Assembly/AssemblyTests
|
||||
)
|
||||
INSTALL(
|
||||
FILES
|
||||
${AssemblyScripts_SRCS}
|
||||
DESTINATION
|
||||
Mod/Assembly/Assembly
|
||||
)
|
||||
172
src/Mod/Assembly/CommandCreateAssembly.py
Normal file
@@ -0,0 +1,172 @@
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
# /**************************************************************************
|
||||
# *
|
||||
# Copyright (c) 2023 Ondsel <development@ondsel.com> *
|
||||
# *
|
||||
# This file is part of FreeCAD. *
|
||||
# *
|
||||
# FreeCAD is free software: you can redistribute it and/or modify it *
|
||||
# under the terms of the GNU Lesser General Public License as *
|
||||
# published by the Free Software Foundation, either version 2.1 of the *
|
||||
# License, or (at your option) any later version. *
|
||||
# *
|
||||
# FreeCAD is distributed in the hope that it will be useful, but *
|
||||
# WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
|
||||
# Lesser General Public License for more details. *
|
||||
# *
|
||||
# You should have received a copy of the GNU Lesser General Public *
|
||||
# License along with FreeCAD. If not, see *
|
||||
# <https://www.gnu.org/licenses/>. *
|
||||
# *
|
||||
# **************************************************************************/
|
||||
|
||||
import FreeCAD as App
|
||||
|
||||
from PySide.QtCore import QT_TRANSLATE_NOOP
|
||||
|
||||
if App.GuiUp:
|
||||
import FreeCADGui as Gui
|
||||
from PySide import QtCore, QtGui, QtWidgets
|
||||
|
||||
import UtilsAssembly
|
||||
import Preferences
|
||||
|
||||
translate = App.Qt.translate
|
||||
|
||||
__title__ = "Assembly Command Create Assembly"
|
||||
__author__ = "Ondsel"
|
||||
__url__ = "https://www.freecad.org"
|
||||
|
||||
|
||||
class CommandCreateAssembly:
|
||||
def __init__(self):
|
||||
pass
|
||||
|
||||
def GetResources(self):
|
||||
return {
|
||||
"Pixmap": "Geoassembly",
|
||||
"MenuText": QT_TRANSLATE_NOOP("Assembly_CreateAssembly", "New Assembly"),
|
||||
"Accel": "A",
|
||||
"ToolTip": QT_TRANSLATE_NOOP(
|
||||
"Assembly_CreateAssembly",
|
||||
"Creates an assembly object in the current document, or in the current active assembly (if any). Limit of one root assembly per file.",
|
||||
),
|
||||
"CmdType": "ForEdit",
|
||||
}
|
||||
|
||||
def IsActive(self):
|
||||
if Gui.Control.activeDialog():
|
||||
return False
|
||||
|
||||
if Preferences.preferences().GetBool("EnforceOneAssemblyRule", True):
|
||||
activeAssembly = UtilsAssembly.activeAssembly()
|
||||
|
||||
if UtilsAssembly.isThereOneRootAssembly() and not activeAssembly:
|
||||
return False
|
||||
|
||||
return App.ActiveDocument is not None
|
||||
|
||||
def Activated(self):
|
||||
Gui.ActiveDocument.openCommand("New assembly")
|
||||
|
||||
activeAssembly = UtilsAssembly.activeAssembly()
|
||||
Gui.addModule("UtilsAssembly")
|
||||
if activeAssembly:
|
||||
commands = (
|
||||
"activeAssembly = UtilsAssembly.activeAssembly()\n"
|
||||
'assembly = activeAssembly.newObject("Assembly::AssemblyObject", "Assembly")\n'
|
||||
)
|
||||
else:
|
||||
commands = (
|
||||
'assembly = App.ActiveDocument.addObject("Assembly::AssemblyObject", "Assembly")\n'
|
||||
)
|
||||
|
||||
commands = commands + 'assembly.Type = "Assembly"\n'
|
||||
commands = commands + 'assembly.newObject("Assembly::JointGroup", "Joints")'
|
||||
|
||||
Gui.doCommand(commands)
|
||||
if not activeAssembly:
|
||||
Gui.doCommandGui("Gui.ActiveDocument.setEdit(assembly)")
|
||||
|
||||
Gui.ActiveDocument.commitCommand()
|
||||
|
||||
|
||||
class ActivateAssemblyTaskPanel:
|
||||
"""A basic TaskPanel to select an assembly to activate."""
|
||||
|
||||
def __init__(self, assemblies):
|
||||
self.assemblies = assemblies
|
||||
self.form = QtWidgets.QWidget()
|
||||
self.form.setWindowTitle(translate("Assembly_ActivateAssembly", "Activate Assembly"))
|
||||
|
||||
layout = QtWidgets.QVBoxLayout(self.form)
|
||||
label = QtWidgets.QLabel(
|
||||
translate("Assembly_ActivateAssembly", "Select an assembly to activate:")
|
||||
)
|
||||
self.combo = QtWidgets.QComboBox()
|
||||
|
||||
for asm in self.assemblies:
|
||||
# Store the user-friendly Label for display, and the internal Name for activation
|
||||
self.combo.addItem(asm.Label, asm.Name)
|
||||
|
||||
layout.addWidget(label)
|
||||
layout.addWidget(self.combo)
|
||||
|
||||
def accept(self):
|
||||
"""Called when the user clicks OK."""
|
||||
selected_name = self.combo.currentData()
|
||||
if selected_name:
|
||||
Gui.doCommand(f"Gui.ActiveDocument.setEdit('{selected_name}')")
|
||||
return True
|
||||
|
||||
def reject(self):
|
||||
"""Called when the user clicks Cancel or closes the panel."""
|
||||
return True
|
||||
|
||||
|
||||
class CommandActivateAssembly:
|
||||
def __init__(self):
|
||||
self.task_panel = None
|
||||
|
||||
def GetResources(self):
|
||||
return {
|
||||
"Pixmap": "Assembly_ActivateAssembly",
|
||||
"MenuText": QT_TRANSLATE_NOOP("Assembly_ActivateAssembly", "Activate Assembly"),
|
||||
"ToolTip": QT_TRANSLATE_NOOP(
|
||||
"Assembly_ActivateAssembly", "Sets an assembly as the active one for editing."
|
||||
),
|
||||
"CmdType": "ForEdit",
|
||||
}
|
||||
|
||||
def IsActive(self):
|
||||
if Gui.Control.activeDialog() or App.ActiveDocument is None:
|
||||
return False
|
||||
|
||||
# Command is only active if no assembly is currently active
|
||||
if UtilsAssembly.activeAssembly() is not None:
|
||||
return False
|
||||
|
||||
# And if there is at least one assembly in the document to activate
|
||||
for obj in App.ActiveDocument.Objects:
|
||||
if obj.isDerivedFrom("Assembly::AssemblyObject"):
|
||||
return True
|
||||
|
||||
return False
|
||||
|
||||
def Activated(self):
|
||||
doc = App.ActiveDocument
|
||||
assemblies = [o for o in doc.Objects if o.isDerivedFrom("Assembly::AssemblyObject")]
|
||||
|
||||
if len(assemblies) == 1:
|
||||
# If there's only one, activate it directly without showing a dialog
|
||||
Gui.doCommand(f"Gui.ActiveDocument.setEdit('{assemblies[0].Name}')")
|
||||
elif len(assemblies) > 1:
|
||||
# If there are multiple, show a task panel to let the user choose
|
||||
self.task_panel = ActivateAssemblyTaskPanel(assemblies)
|
||||
Gui.Control.showDialog(self.task_panel)
|
||||
|
||||
|
||||
if App.GuiUp:
|
||||
Gui.addCommand("Assembly_CreateAssembly", CommandCreateAssembly())
|
||||
Gui.addCommand("Assembly_ActivateAssembly", CommandActivateAssembly())
|
||||
439
src/Mod/Assembly/CommandCreateBom.py
Normal file
@@ -0,0 +1,439 @@
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
# /**************************************************************************
|
||||
# *
|
||||
# Copyright (c) 2023 Ondsel <development@ondsel.com> *
|
||||
# *
|
||||
# This file is part of FreeCAD. *
|
||||
# *
|
||||
# FreeCAD is free software: you can redistribute it and/or modify it *
|
||||
# under the terms of the GNU Lesser General Public License as *
|
||||
# published by the Free Software Foundation, either version 2.1 of the *
|
||||
# License, or (at your option) any later version. *
|
||||
# *
|
||||
# FreeCAD is distributed in the hope that it will be useful, but *
|
||||
# WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
|
||||
# Lesser General Public License for more details. *
|
||||
# *
|
||||
# You should have received a copy of the GNU Lesser General Public *
|
||||
# License along with FreeCAD. If not, see *
|
||||
# <https://www.gnu.org/licenses/>. *
|
||||
# *
|
||||
# **************************************************************************/
|
||||
|
||||
import re
|
||||
import os
|
||||
import FreeCAD as App
|
||||
|
||||
from PySide.QtCore import QT_TRANSLATE_NOOP
|
||||
|
||||
if App.GuiUp:
|
||||
import FreeCADGui as Gui
|
||||
from PySide import QtCore, QtGui, QtWidgets
|
||||
from PySide.QtWidgets import QPushButton, QMenu
|
||||
|
||||
import UtilsAssembly
|
||||
import Preferences
|
||||
from functools import partial
|
||||
|
||||
__title__ = "Assembly Command Create Bill of Materials"
|
||||
__author__ = "Ondsel"
|
||||
__url__ = "https://www.freecad.org"
|
||||
|
||||
translate = App.Qt.translate
|
||||
|
||||
TranslatedColumnNames = [
|
||||
translate("Assembly", "Index (auto)"),
|
||||
translate("Assembly", "Name (auto)"),
|
||||
translate("Assembly", "Description"),
|
||||
translate("Assembly", "File Name (auto)"),
|
||||
translate("Assembly", "Quantity (auto)"),
|
||||
]
|
||||
|
||||
ColumnNames = [
|
||||
"Index",
|
||||
"Name",
|
||||
"Description",
|
||||
"File Name",
|
||||
"Quantity",
|
||||
]
|
||||
|
||||
|
||||
class CommandCreateBom:
|
||||
def __init__(self):
|
||||
pass
|
||||
|
||||
def GetResources(self):
|
||||
return {
|
||||
"Pixmap": "Assembly_BillOfMaterials",
|
||||
"MenuText": QT_TRANSLATE_NOOP("Assembly_CreateBom", "Bill of Materials"),
|
||||
"Accel": "O",
|
||||
"ToolTip": QT_TRANSLATE_NOOP(
|
||||
"Assembly_CreateBom",
|
||||
"<p>Creates a bill of materials of the current assembly. If an assembly is active, it will be a BOM of this assembly. Else it will be a BOM of the whole document.</p>"
|
||||
"<p>The BOM object is a document object that stores the settings of your BOM. It is also a spreadsheet object so you can easily visualize the BOM. If you do not need the BOM object to be saved as a document object, you can simply export and cancel the task.</p>"
|
||||
"<p>The columns 'Index', 'Name', 'File Name' and 'Quantity' are automatically generated on recompute. The 'Description' and custom columns are not overwritten.</p>",
|
||||
),
|
||||
"CmdType": "ForEdit",
|
||||
}
|
||||
|
||||
def IsActive(self):
|
||||
return True
|
||||
|
||||
def Activated(self):
|
||||
self.panel = TaskAssemblyCreateBom()
|
||||
dialog = Gui.Control.showDialog(self.panel)
|
||||
if dialog is not None:
|
||||
dialog.setAutoCloseOnDeletedDocument(True)
|
||||
dialog.setDocumentName(App.ActiveDocument.Name)
|
||||
|
||||
|
||||
######### Create Exploded View Task ###########
|
||||
class TaskAssemblyCreateBom(QtCore.QObject):
|
||||
def __init__(self, bomObj=None):
|
||||
super().__init__()
|
||||
|
||||
self.form = Gui.PySideUic.loadUi(":/panels/TaskAssemblyCreateBom.ui")
|
||||
|
||||
# Set the QListWidget properties to support drag and drop
|
||||
self.form.columnList.setEditTriggers(
|
||||
QtWidgets.QAbstractItemView.DoubleClicked | QtWidgets.QAbstractItemView.EditKeyPressed
|
||||
)
|
||||
self.form.columnList.setSelectionMode(QtWidgets.QAbstractItemView.SingleSelection)
|
||||
self.form.columnList.setDragEnabled(True)
|
||||
self.form.columnList.setAcceptDrops(True)
|
||||
self.form.columnList.setDropIndicatorShown(True)
|
||||
self.form.columnList.setDragDropMode(QtWidgets.QAbstractItemView.InternalMove)
|
||||
|
||||
self.form.columnList.installEventFilter(self)
|
||||
|
||||
self.form.btnAddColumn.clicked.connect(self.showAddColumnMenu)
|
||||
self.form.btnExport.clicked.connect(self.export)
|
||||
|
||||
self.form.helpButton.clicked.connect(self.showHelpDialog)
|
||||
|
||||
pref = Preferences.preferences()
|
||||
|
||||
if bomObj:
|
||||
Gui.ActiveDocument.openCommand("Edit Bill Of Materials")
|
||||
|
||||
for name in bomObj.columnsNames:
|
||||
if name in ColumnNames:
|
||||
index = ColumnNames.index(name)
|
||||
name = TranslatedColumnNames[index]
|
||||
|
||||
self.addColItem(name)
|
||||
|
||||
self.bomObj = bomObj
|
||||
else:
|
||||
Gui.ActiveDocument.openCommand("Create Bill Of Materials")
|
||||
|
||||
# Add the columns
|
||||
for name in TranslatedColumnNames:
|
||||
self.addColItem(name)
|
||||
|
||||
self.createBomObject()
|
||||
self.bomObj.onlyParts = pref.GetBool("BOMOnlyParts", False)
|
||||
self.bomObj.detailParts = pref.GetBool("BOMDetailParts", True)
|
||||
self.bomObj.detailSubAssemblies = pref.GetBool("BOMDetailSubAssemblies", True)
|
||||
|
||||
self.form.CheckBox_onlyParts.setChecked(self.bomObj.onlyParts)
|
||||
self.form.CheckBox_detailParts.setChecked(self.bomObj.detailParts)
|
||||
self.form.CheckBox_detailSubAssemblies.setChecked(self.bomObj.detailSubAssemblies)
|
||||
|
||||
self.form.columnList.model().rowsMoved.connect(self.onItemsReordered)
|
||||
self.form.columnList.itemChanged.connect(self.itemUpdated)
|
||||
|
||||
self.form.CheckBox_onlyParts.stateChanged.connect(self.onIncludeSolids)
|
||||
self.form.CheckBox_detailParts.stateChanged.connect(self.onDetailParts)
|
||||
self.form.CheckBox_detailSubAssemblies.stateChanged.connect(self.onDetailSubAssemblies)
|
||||
|
||||
self.updateColumnList()
|
||||
|
||||
def accept(self):
|
||||
self.deactivate()
|
||||
Gui.ActiveDocument.commitCommand()
|
||||
|
||||
self.bomObj.recompute()
|
||||
|
||||
self.bomObj.ViewObject.showSheetMdi()
|
||||
|
||||
return True
|
||||
|
||||
def reject(self):
|
||||
self.deactivate()
|
||||
Gui.ActiveDocument.abortCommand()
|
||||
return True
|
||||
|
||||
def deactivate(self):
|
||||
pref = Preferences.preferences()
|
||||
pref.SetBool("BOMOnlyParts", self.form.CheckBox_onlyParts.isChecked())
|
||||
pref.SetBool("BOMDetailParts", self.form.CheckBox_detailParts.isChecked())
|
||||
pref.SetBool("BOMDetailSubAssemblies", self.form.CheckBox_detailSubAssemblies.isChecked())
|
||||
|
||||
if Gui.Control.activeDialog():
|
||||
Gui.Control.closeDialog()
|
||||
|
||||
def onIncludeSolids(self, val):
|
||||
self.bomObj.onlyParts = val
|
||||
|
||||
def onDetailParts(self, val):
|
||||
self.bomObj.detailParts = val
|
||||
|
||||
def onDetailSubAssemblies(self, val):
|
||||
self.bomObj.detailSubAssemblies = val
|
||||
|
||||
def addColumn(self):
|
||||
new_name = translate("Assembly", "Default")
|
||||
if self.isNameDuplicate(new_name):
|
||||
# Find a unique name
|
||||
counter = 1
|
||||
while self.isNameDuplicate(f"{new_name}_{counter}"):
|
||||
counter += 1
|
||||
new_name = f"{new_name}_{counter}"
|
||||
|
||||
item = self.addColItem(new_name)
|
||||
|
||||
# Ensure the new item is selected and starts editing
|
||||
self.form.columnList.setCurrentItem(item)
|
||||
self.form.columnList.editItem(item)
|
||||
self.updateColumnList()
|
||||
|
||||
def addColItem(self, name):
|
||||
item = QtWidgets.QListWidgetItem(name)
|
||||
|
||||
isCustomCol = self.isCustomColumn(name)
|
||||
|
||||
if isCustomCol:
|
||||
item.setFlags(item.flags() | QtCore.Qt.ItemIsEditable)
|
||||
else:
|
||||
font = item.font()
|
||||
font.setBold(True)
|
||||
item.setFont(font)
|
||||
|
||||
self.form.columnList.addItem(item)
|
||||
return item
|
||||
|
||||
def showAddColumnMenu(self):
|
||||
menu = QtWidgets.QMenu()
|
||||
# Get the current columns in the list
|
||||
current_columns = [
|
||||
self.form.columnList.item(i).text() for i in range(self.form.columnList.count())
|
||||
]
|
||||
|
||||
# Add actions for columns that are not currently in the list
|
||||
noneAdded = True
|
||||
for name in TranslatedColumnNames:
|
||||
if name not in current_columns:
|
||||
action = QtGui.QAction(f"Add '{name}' column", self)
|
||||
action.triggered.connect(partial(self.addColItem, name))
|
||||
menu.addAction(action)
|
||||
noneAdded = False
|
||||
|
||||
if noneAdded:
|
||||
self.addColumn()
|
||||
return
|
||||
|
||||
# Add the action for adding a custom column
|
||||
action = QtGui.QAction("Add custom column", self)
|
||||
action.triggered.connect(self.addColumn)
|
||||
menu.addAction(action)
|
||||
|
||||
# Show the menu below the button
|
||||
menu.exec_(
|
||||
self.form.btnAddColumn.mapToGlobal(QtCore.QPoint(0, self.form.btnAddColumn.height()))
|
||||
)
|
||||
|
||||
def isCustomColumn(self, name):
|
||||
isCustomCol = True
|
||||
if name in TranslatedColumnNames:
|
||||
# Description column is currently not auto generated so it's a custom column
|
||||
index = TranslatedColumnNames.index(name)
|
||||
if ColumnNames[index] != "Description":
|
||||
isCustomCol = False
|
||||
return isCustomCol
|
||||
|
||||
def onItemsReordered(self, parent, start, end, destination, row):
|
||||
self.updateColumnList()
|
||||
|
||||
def updateColumnList(self):
|
||||
if self.bomObj:
|
||||
new_names = []
|
||||
for i in range(self.form.columnList.count()):
|
||||
text = self.form.columnList.item(i).text()
|
||||
if text in TranslatedColumnNames:
|
||||
index = TranslatedColumnNames.index(text)
|
||||
text = ColumnNames[index]
|
||||
new_names.append(text)
|
||||
self.bomObj.columnsNames = new_names
|
||||
|
||||
def itemUpdated(self, item):
|
||||
new_text = item.text()
|
||||
item_row = self.form.columnList.row(item)
|
||||
|
||||
# Check for duplicate names
|
||||
duplicate_found = False
|
||||
for i in range(self.form.columnList.count()):
|
||||
if i != item_row and self.form.columnList.item(i).text() == new_text:
|
||||
duplicate_found = True
|
||||
break
|
||||
|
||||
if duplicate_found:
|
||||
QtWidgets.QMessageBox.warning(
|
||||
self.form,
|
||||
translate("Assembly", "Duplicate Name"),
|
||||
translate("Assembly", "This name is already used. Please choose a different name."),
|
||||
)
|
||||
|
||||
# Revert the change
|
||||
old_text = (
|
||||
self.bomObj.columnsNames[item_row]
|
||||
if self.bomObj and item_row < len(self.bomObj.columnsNames)
|
||||
else ""
|
||||
)
|
||||
item.setText(old_text)
|
||||
else:
|
||||
isCustomCol = self.isCustomColumn(new_text)
|
||||
|
||||
if not isCustomCol:
|
||||
font = item.font()
|
||||
font.setBold(True)
|
||||
item.setFont(font)
|
||||
# Use a single-shot timer to defer changing the flags (else FC crashes)
|
||||
QtCore.QTimer.singleShot(0, lambda: self.makeItemNonEditable(item))
|
||||
|
||||
self.updateColumnList()
|
||||
|
||||
def makeItemNonEditable(self, item):
|
||||
item.setFlags(item.flags() & ~QtCore.Qt.ItemIsEditable)
|
||||
|
||||
def isNameDuplicate(self, name):
|
||||
for i in range(self.form.columnList.count()):
|
||||
if self.form.columnList.item(i).text() == name:
|
||||
return True
|
||||
return False
|
||||
|
||||
def createBomObject(self):
|
||||
assembly = UtilsAssembly.activeAssembly()
|
||||
Gui.addModule("UtilsAssembly")
|
||||
if assembly is not None:
|
||||
commands = (
|
||||
"assembly = UtilsAssembly.activeAssembly()\n"
|
||||
"bom_group = UtilsAssembly.getBomGroup(assembly)\n"
|
||||
'bomObj = bom_group.newObject("Assembly::BomObject", "Bill of Materials")'
|
||||
)
|
||||
else:
|
||||
commands = 'bomObj = App.activeDocument().addObject("Assembly::BomObject", "Bill of Materials")'
|
||||
Gui.doCommand(commands)
|
||||
self.bomObj = Gui.doCommandEval("bomObj")
|
||||
|
||||
def export(self):
|
||||
self.bomObj.recompute()
|
||||
self.bomObj.ViewObject.exportAsFile()
|
||||
|
||||
def eventFilter(self, watched, event):
|
||||
if self.form is not None and watched == self.form.columnList:
|
||||
if event.type() == QtCore.QEvent.ShortcutOverride:
|
||||
if event.key() == QtCore.Qt.Key_Delete:
|
||||
event.accept() # Accept the event only if the key is Delete
|
||||
return True # Indicate that the event has been handled
|
||||
return False
|
||||
|
||||
elif event.type() == QtCore.QEvent.KeyPress:
|
||||
if event.key() == QtCore.Qt.Key_Delete:
|
||||
selected_indexes = self.form.columnList.selectedIndexes()
|
||||
items_to_remove = []
|
||||
|
||||
for index in selected_indexes:
|
||||
self.form.columnList.takeItem(index.row())
|
||||
|
||||
self.updateColumnList()
|
||||
return True # Consume the event
|
||||
|
||||
return super().eventFilter(watched, event)
|
||||
|
||||
def showHelpDialog(self):
|
||||
help_dialog = QtWidgets.QDialog(self.form)
|
||||
help_dialog.setWindowFlags(QtCore.Qt.Popup)
|
||||
help_dialog.setWindowModality(QtCore.Qt.NonModal)
|
||||
help_dialog.setAttribute(QtCore.Qt.WA_DeleteOnClose)
|
||||
help_dialog.setFixedWidth(500)
|
||||
|
||||
layout = QtWidgets.QVBoxLayout()
|
||||
layout.setContentsMargins(10, 10, 10, 10)
|
||||
|
||||
options_title = QtWidgets.QLabel("<b>" + translate("Assembly", "Options") + "</b>")
|
||||
options_text = QtWidgets.QLabel(
|
||||
" - "
|
||||
+ translate(
|
||||
"Assembly",
|
||||
"Sub-assembly children: the children of sub-assemblies will be included in the bill of materials",
|
||||
)
|
||||
+ "\n"
|
||||
" - "
|
||||
+ translate(
|
||||
"Assembly",
|
||||
"Parts children: the children of parts will be added to the bill of materials",
|
||||
)
|
||||
+ "\n"
|
||||
" - "
|
||||
+ translate(
|
||||
"Assembly",
|
||||
"Only parts: adds only part containers and sub-assemblies to the bill of materials. Solids like Part Design bodies, fasteners, or Part workbench primitives are ignored.",
|
||||
)
|
||||
+ "\n"
|
||||
)
|
||||
columns_title = QtWidgets.QLabel("<b>" + translate("Assembly", "Columns") + "</b>")
|
||||
columns_text = QtWidgets.QLabel(
|
||||
" - "
|
||||
+ translate(
|
||||
"Assembly",
|
||||
"Auto columns : (Index, Quantity, Name...) are populated automatically. Any modification you make will be overridden. These columns cannot be renamed.",
|
||||
)
|
||||
+ "\n"
|
||||
" - "
|
||||
+ translate(
|
||||
"Assembly",
|
||||
"Custom columns : 'Description' and other custom columns you add by clicking on 'Add column' will not have their data overwritten. If a column name starts with '.' followed by a property name (e.g. '.Length'), it will be auto-populated with that property value. These columns can be renamed by double-clicking or pressing F2 (renaming a column will currently lose its data).",
|
||||
)
|
||||
+ "\n"
|
||||
"\n"
|
||||
+ translate(
|
||||
"Assembly",
|
||||
"Any column (custom or not), can be deleted by pressing the Delete key",
|
||||
)
|
||||
+ "\n"
|
||||
)
|
||||
export_title = QtWidgets.QLabel("<b>" + translate("Assembly", "Export") + "</b>")
|
||||
export_text = QtWidgets.QLabel(
|
||||
" - "
|
||||
+ translate(
|
||||
"Assembly",
|
||||
"The exported file format can be customized in the Spreadsheet workbench preferences",
|
||||
)
|
||||
+ "\n"
|
||||
)
|
||||
|
||||
layout_width = (
|
||||
help_dialog.contentsRect().width()
|
||||
- layout.contentsMargins().left()
|
||||
- layout.contentsMargins().right()
|
||||
)
|
||||
for label in (options_text, columns_text, export_text):
|
||||
label.setWordWrap(True)
|
||||
label.setFixedWidth(layout_width)
|
||||
|
||||
layout.addWidget(options_title)
|
||||
layout.addWidget(options_text)
|
||||
layout.addWidget(columns_title)
|
||||
layout.addWidget(columns_text)
|
||||
layout.addWidget(export_title)
|
||||
layout.addWidget(export_text)
|
||||
|
||||
help_dialog.setLayout(layout)
|
||||
|
||||
help_dialog.show()
|
||||
|
||||
|
||||
if App.GuiUp:
|
||||
Gui.addCommand("Assembly_CreateBom", CommandCreateBom())
|
||||
521
src/Mod/Assembly/CommandCreateJoint.py
Normal file
@@ -0,0 +1,521 @@
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
# /**************************************************************************
|
||||
# *
|
||||
# Copyright (c) 2023 Ondsel <development@ondsel.com> *
|
||||
# *
|
||||
# This file is part of FreeCAD. *
|
||||
# *
|
||||
# FreeCAD is free software: you can redistribute it and/or modify it *
|
||||
# under the terms of the GNU Lesser General Public License as *
|
||||
# published by the Free Software Foundation, either version 2.1 of the *
|
||||
# License, or (at your option) any later version. *
|
||||
# *
|
||||
# FreeCAD is distributed in the hope that it will be useful, but *
|
||||
# WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
|
||||
# Lesser General Public License for more details. *
|
||||
# *
|
||||
# You should have received a copy of the GNU Lesser General Public *
|
||||
# License along with FreeCAD. If not, see *
|
||||
# <https://www.gnu.org/licenses/>. *
|
||||
# *
|
||||
# **************************************************************************/
|
||||
|
||||
import os
|
||||
import FreeCAD as App
|
||||
|
||||
from PySide.QtCore import QT_TRANSLATE_NOOP
|
||||
|
||||
if App.GuiUp:
|
||||
import FreeCADGui as Gui
|
||||
from PySide import QtCore, QtGui, QtWidgets
|
||||
|
||||
import JointObject
|
||||
from JointObject import TaskAssemblyCreateJoint
|
||||
import UtilsAssembly
|
||||
import Assembly_rc
|
||||
|
||||
# translate = App.Qt.translate
|
||||
|
||||
__title__ = "Assembly Commands to Create Joints"
|
||||
__author__ = "Ondsel"
|
||||
__url__ = "https://www.freecad.org"
|
||||
|
||||
|
||||
def noOtherTaskActive():
|
||||
return UtilsAssembly.isAssemblyCommandActive() or JointObject.activeTask is not None
|
||||
|
||||
|
||||
def isCreateJointActive():
|
||||
return UtilsAssembly.assembly_has_at_least_n_parts(1) and noOtherTaskActive()
|
||||
|
||||
|
||||
def activateJoint(index):
|
||||
if JointObject.activeTask:
|
||||
JointObject.activeTask.reject()
|
||||
|
||||
Gui.addModule("JointObject") # NOLINT
|
||||
Gui.doCommand(f"panel = JointObject.TaskAssemblyCreateJoint({index})")
|
||||
Gui.doCommandGui("dialog = Gui.Control.showDialog(panel)")
|
||||
dialog = Gui.doCommandEval("dialog")
|
||||
if dialog is not None:
|
||||
dialog.setAutoCloseOnTransactionChange(True)
|
||||
dialog.setAutoCloseOnDeletedDocument(True)
|
||||
dialog.setDocumentName(App.ActiveDocument.Name)
|
||||
|
||||
|
||||
class CommandCreateJointFixed:
|
||||
def __init__(self):
|
||||
pass
|
||||
|
||||
def GetResources(self):
|
||||
return {
|
||||
"Pixmap": "Assembly_CreateJointFixed",
|
||||
"MenuText": QT_TRANSLATE_NOOP(
|
||||
"Assembly_CreateJointFixed",
|
||||
"Fixed Joint",
|
||||
),
|
||||
"Accel": "F",
|
||||
"ToolTip": QT_TRANSLATE_NOOP(
|
||||
"Assembly_CreateJointFixed",
|
||||
"<p>1 - If an assembly is active : Creates a joint permanently locking two parts together, preventing any movement or rotation</p>"
|
||||
"<p>2 - If a part is active: Positions sub-parts by matching selected coordinate systems. The second part selected will move.</p>",
|
||||
),
|
||||
"CmdType": "ForEdit",
|
||||
}
|
||||
|
||||
def IsActive(self):
|
||||
if UtilsAssembly.activePart() is not None:
|
||||
return UtilsAssembly.assembly_has_at_least_n_parts(2)
|
||||
|
||||
return isCreateJointActive()
|
||||
|
||||
def Activated(self):
|
||||
activateJoint(0)
|
||||
|
||||
|
||||
class CommandCreateJointRevolute:
|
||||
def __init__(self):
|
||||
pass
|
||||
|
||||
def GetResources(self):
|
||||
return {
|
||||
"Pixmap": "Assembly_CreateJointRevolute",
|
||||
"MenuText": QT_TRANSLATE_NOOP("Assembly_CreateJointRevolute", "Revolute Joint"),
|
||||
"Accel": "R",
|
||||
"ToolTip": QT_TRANSLATE_NOOP(
|
||||
"Assembly_CreateJointRevolute",
|
||||
"Creates a revolute joint allowing rotation around a single axis between selected parts",
|
||||
),
|
||||
"CmdType": "ForEdit",
|
||||
}
|
||||
|
||||
def IsActive(self):
|
||||
return isCreateJointActive()
|
||||
|
||||
def Activated(self):
|
||||
activateJoint(1)
|
||||
|
||||
|
||||
class CommandCreateJointCylindrical:
|
||||
def __init__(self):
|
||||
pass
|
||||
|
||||
def GetResources(self):
|
||||
return {
|
||||
"Pixmap": "Assembly_CreateJointCylindrical",
|
||||
"MenuText": QT_TRANSLATE_NOOP("Assembly_CreateJointCylindrical", "Cylindrical Joint"),
|
||||
"Accel": "C",
|
||||
"ToolTip": QT_TRANSLATE_NOOP(
|
||||
"Assembly_CreateJointCylindrical",
|
||||
"Creates a cylindrical joint that allows rotation around and translation along a single axis between assembled parts",
|
||||
),
|
||||
"CmdType": "ForEdit",
|
||||
}
|
||||
|
||||
def IsActive(self):
|
||||
return isCreateJointActive()
|
||||
|
||||
def Activated(self):
|
||||
activateJoint(2)
|
||||
|
||||
|
||||
class CommandCreateJointSlider:
|
||||
def __init__(self):
|
||||
pass
|
||||
|
||||
def GetResources(self):
|
||||
return {
|
||||
"Pixmap": "Assembly_CreateJointSlider",
|
||||
"MenuText": QT_TRANSLATE_NOOP("Assembly_CreateJointSlider", "Slider Joint"),
|
||||
"Accel": "S",
|
||||
"ToolTip": QT_TRANSLATE_NOOP(
|
||||
"Assembly_CreateJointSlider",
|
||||
"Creates a slider joint that allows linear movement along a single axis, but restricts rotation between selected parts",
|
||||
),
|
||||
"CmdType": "ForEdit",
|
||||
}
|
||||
|
||||
def IsActive(self):
|
||||
return isCreateJointActive()
|
||||
|
||||
def Activated(self):
|
||||
activateJoint(3)
|
||||
|
||||
|
||||
class CommandCreateJointBall:
|
||||
def __init__(self):
|
||||
pass
|
||||
|
||||
def GetResources(self):
|
||||
return {
|
||||
"Pixmap": "Assembly_CreateJointBall",
|
||||
"MenuText": QT_TRANSLATE_NOOP("Assembly_CreateJointBall", "Ball Joint"),
|
||||
"Accel": "B",
|
||||
"ToolTip": QT_TRANSLATE_NOOP(
|
||||
"Assembly_CreateJointBall",
|
||||
"Creates a ball joint that connects parts at a point, allowing unrestricted movement as long as the connection points remain in contact",
|
||||
),
|
||||
"CmdType": "ForEdit",
|
||||
}
|
||||
|
||||
def IsActive(self):
|
||||
return isCreateJointActive()
|
||||
|
||||
def Activated(self):
|
||||
activateJoint(4)
|
||||
|
||||
|
||||
class CommandCreateJointDistance:
|
||||
def __init__(self):
|
||||
pass
|
||||
|
||||
def GetResources(self):
|
||||
return {
|
||||
"Pixmap": "Assembly_CreateJointDistance",
|
||||
"MenuText": QT_TRANSLATE_NOOP("Assembly_CreateJointDistance", "Distance Joint"),
|
||||
"Accel": "D",
|
||||
"ToolTip": QT_TRANSLATE_NOOP(
|
||||
"Assembly_CreateJointDistance",
|
||||
"<p>Creates a distance joint that fixes the distance between the selected objects</p>"
|
||||
"<p>Creates one of several different joints based on the selection. "
|
||||
"For example, a distance of 0 between a plane and a cylinder creates a tangent joint. A distance of 0 between planes will make them co-planar.</p>",
|
||||
),
|
||||
"CmdType": "ForEdit",
|
||||
}
|
||||
|
||||
def IsActive(self):
|
||||
return isCreateJointActive()
|
||||
|
||||
def Activated(self):
|
||||
activateJoint(5)
|
||||
|
||||
|
||||
class CommandCreateJointParallel:
|
||||
def __init__(self):
|
||||
pass
|
||||
|
||||
def GetResources(self):
|
||||
return {
|
||||
"Pixmap": "Assembly_CreateJointParallel",
|
||||
"MenuText": QT_TRANSLATE_NOOP("Assembly_CreateJointParallel", "Parallel Joint"),
|
||||
"Accel": "N",
|
||||
"ToolTip": QT_TRANSLATE_NOOP(
|
||||
"Assembly_CreateJointParallel",
|
||||
"Creates a parallel joint that makes the Z-axis of the selected coordinate systems parallel",
|
||||
),
|
||||
"CmdType": "ForEdit",
|
||||
}
|
||||
|
||||
def IsActive(self):
|
||||
return isCreateJointActive()
|
||||
|
||||
def Activated(self):
|
||||
activateJoint(6)
|
||||
|
||||
|
||||
class CommandCreateJointPerpendicular:
|
||||
def __init__(self):
|
||||
pass
|
||||
|
||||
def GetResources(self):
|
||||
return {
|
||||
"Pixmap": "Assembly_CreateJointPerpendicular",
|
||||
"MenuText": QT_TRANSLATE_NOOP(
|
||||
"Assembly_CreateJointPerpendicular", "Perpendicular Joint"
|
||||
),
|
||||
"Accel": "M",
|
||||
"ToolTip": QT_TRANSLATE_NOOP(
|
||||
"Assembly_CreateJointPerpendicular",
|
||||
"Creates a perpendicular joint that makes the Z-axis of the selected coordinate systems perpendicular",
|
||||
),
|
||||
"CmdType": "ForEdit",
|
||||
}
|
||||
|
||||
def IsActive(self):
|
||||
return isCreateJointActive()
|
||||
|
||||
def Activated(self):
|
||||
activateJoint(7)
|
||||
|
||||
|
||||
class CommandCreateJointAngle:
|
||||
def __init__(self):
|
||||
pass
|
||||
|
||||
def GetResources(self):
|
||||
return {
|
||||
"Pixmap": "Assembly_CreateJointAngle",
|
||||
"MenuText": QT_TRANSLATE_NOOP("Assembly_CreateJointAngle", "Angle Joint"),
|
||||
"Accel": "X",
|
||||
"ToolTip": QT_TRANSLATE_NOOP(
|
||||
"Assembly_CreateJointAngle",
|
||||
"Creates an angle joint that fixes the angle between the Z-axis of the selected coordinate systems",
|
||||
),
|
||||
"CmdType": "ForEdit",
|
||||
}
|
||||
|
||||
def IsActive(self):
|
||||
return isCreateJointActive()
|
||||
|
||||
def Activated(self):
|
||||
activateJoint(8)
|
||||
|
||||
|
||||
class CommandCreateJointRackPinion:
|
||||
def __init__(self):
|
||||
pass
|
||||
|
||||
def GetResources(self):
|
||||
return {
|
||||
"Pixmap": "Assembly_CreateJointRackPinion",
|
||||
"MenuText": QT_TRANSLATE_NOOP(
|
||||
"Assembly_CreateJointRackPinion", "Rack and Pinion Joint"
|
||||
),
|
||||
"Accel": "Q",
|
||||
"ToolTip": QT_TRANSLATE_NOOP(
|
||||
"Assembly_CreateJointRackPinion",
|
||||
"<p>Creates a rack and pinion joint that links a part with a slider joint to a part with a revolute joint</p>"
|
||||
"<p>Select the same coordinate systems as the revolute and slider joints. The pitch radius defines the movement ratio between the rack and the pinion.</p>",
|
||||
),
|
||||
"CmdType": "ForEdit",
|
||||
}
|
||||
|
||||
def IsActive(self):
|
||||
return isCreateJointActive()
|
||||
|
||||
def Activated(self):
|
||||
activateJoint(9)
|
||||
|
||||
|
||||
class CommandCreateJointScrew:
|
||||
def __init__(self):
|
||||
pass
|
||||
|
||||
def GetResources(self):
|
||||
return {
|
||||
"Pixmap": "Assembly_CreateJointScrew",
|
||||
"MenuText": QT_TRANSLATE_NOOP("Assembly_CreateJointScrew", "Screw Joint"),
|
||||
"Accel": "W",
|
||||
"ToolTip": QT_TRANSLATE_NOOP(
|
||||
"Assembly_CreateJointScrew",
|
||||
"<p>Creates a screw joint that links a part with a slider joint to a part with a revolute joint</p>"
|
||||
"<p>Select the same coordinate systems as the revolute and slider joints. The pitch radius defines the movement ratio between the rotating screw and the sliding part.</p>",
|
||||
),
|
||||
"CmdType": "ForEdit",
|
||||
}
|
||||
|
||||
def IsActive(self):
|
||||
return isCreateJointActive()
|
||||
|
||||
def Activated(self):
|
||||
activateJoint(10)
|
||||
|
||||
|
||||
class CommandCreateJointGears:
|
||||
def __init__(self):
|
||||
pass
|
||||
|
||||
def GetResources(self):
|
||||
return {
|
||||
"Pixmap": "Assembly_CreateJointGears",
|
||||
"MenuText": QT_TRANSLATE_NOOP("Assembly_CreateJointGears", "Gears Joint"),
|
||||
"Accel": "T",
|
||||
"ToolTip": QT_TRANSLATE_NOOP(
|
||||
"Assembly_CreateJointGears",
|
||||
"<p>Creates a gears joint that links 2 rotating gears together. They will have inverse rotation direction.</p>"
|
||||
"<p>Select the same coordinate systems as the revolute joints.</p>",
|
||||
),
|
||||
"CmdType": "ForEdit",
|
||||
}
|
||||
|
||||
def IsActive(self):
|
||||
return isCreateJointActive()
|
||||
|
||||
def Activated(self):
|
||||
activateJoint(11)
|
||||
|
||||
|
||||
class CommandCreateJointBelt:
|
||||
def __init__(self):
|
||||
pass
|
||||
|
||||
def GetResources(self):
|
||||
return {
|
||||
"Pixmap": "Assembly_CreateJointPulleys",
|
||||
"MenuText": QT_TRANSLATE_NOOP("Assembly_CreateJointBelt", "Belt Joint"),
|
||||
"Accel": "L",
|
||||
"ToolTip": QT_TRANSLATE_NOOP(
|
||||
"Assembly_CreateJointBelt",
|
||||
"<p>Creates a belt joint that links 2 rotating objects together. They will have the same rotation direction.</p>"
|
||||
"<p>Select the same coordinate systems as the revolute joints.</p>",
|
||||
),
|
||||
"CmdType": "ForEdit",
|
||||
}
|
||||
|
||||
def IsActive(self):
|
||||
return isCreateJointActive()
|
||||
|
||||
def Activated(self):
|
||||
activateJoint(12)
|
||||
|
||||
|
||||
class CommandGroupGearBelt:
|
||||
def GetCommands(self):
|
||||
return ("Assembly_CreateJointGears", "Assembly_CreateJointBelt")
|
||||
|
||||
def GetResources(self):
|
||||
"""Set icon, menu and tooltip."""
|
||||
return {
|
||||
"Pixmap": "Assembly_CreateJointGears",
|
||||
"MenuText": QT_TRANSLATE_NOOP("Assembly_CreateJointGearBelt", "Gears/Belt Joint"),
|
||||
"ToolTip": QT_TRANSLATE_NOOP(
|
||||
"Assembly_CreateJointGearBelt",
|
||||
"<p>Creates a gears or belt joint that links 2 rotating gears together</p>"
|
||||
"<p>Select the same coordinate systems as the revolute joints.</p>",
|
||||
),
|
||||
"CmdType": "ForEdit",
|
||||
}
|
||||
|
||||
def IsActive(self):
|
||||
return isCreateJointActive()
|
||||
|
||||
|
||||
def createGroundedJoint(obj):
|
||||
if not UtilsAssembly.activeAssembly():
|
||||
return
|
||||
|
||||
Gui.addModule("UtilsAssembly")
|
||||
Gui.addModule("JointObject")
|
||||
commands = (
|
||||
f'obj = App.ActiveDocument.getObject("{obj.Name}")\n'
|
||||
"assembly = UtilsAssembly.activeAssembly()\n"
|
||||
"joint_group = UtilsAssembly.getJointGroup(assembly)\n"
|
||||
'ground = joint_group.newObject("App::FeaturePython", "GroundedJoint")\n'
|
||||
"JointObject.GroundedJoint(ground, obj)"
|
||||
)
|
||||
Gui.doCommand(commands)
|
||||
Gui.doCommandGui("JointObject.ViewProviderGroundedJoint(ground.ViewObject)")
|
||||
|
||||
Gui.doCommand("UtilsAssembly.activeAssembly().Document.recompute()")
|
||||
return Gui.doCommandEval("ground")
|
||||
|
||||
|
||||
class CommandToggleGrounded:
|
||||
def __init__(self):
|
||||
pass
|
||||
|
||||
def GetResources(self):
|
||||
return {
|
||||
"Pixmap": "Assembly_ToggleGrounded",
|
||||
"MenuText": QT_TRANSLATE_NOOP("Assembly_ToggleGrounded", "Toggle Grounded"),
|
||||
"Accel": "G",
|
||||
"ToolTip": QT_TRANSLATE_NOOP(
|
||||
"Assembly_ToggleGrounded",
|
||||
"<p>Toggles the grounding of a part.</p>"
|
||||
"<p>Grounding a part permanently locks its position in the assembly, preventing any movement or rotation.",
|
||||
),
|
||||
"CmdType": "ForEdit",
|
||||
}
|
||||
|
||||
def IsActive(self):
|
||||
return (
|
||||
UtilsAssembly.isAssemblyCommandActive()
|
||||
and UtilsAssembly.assembly_has_at_least_n_parts(1)
|
||||
)
|
||||
|
||||
def Activated(self):
|
||||
assembly = UtilsAssembly.activeAssembly()
|
||||
if not assembly:
|
||||
return
|
||||
|
||||
joint_group = UtilsAssembly.getJointGroup(assembly)
|
||||
|
||||
selection = Gui.Selection.getSelectionEx("*", 0)
|
||||
if not selection:
|
||||
return
|
||||
|
||||
Gui.ActiveDocument("Toggle grounded")
|
||||
for sel in selection:
|
||||
# If you select 2 solids (bodies for example) within an assembly.
|
||||
# There'll be a single sel but 2 SubElementNames.
|
||||
for sub in sel.SubElementNames:
|
||||
# First check if selection is a grounded object
|
||||
resolved = sel.Object.resolveSubElement(sub)
|
||||
if resolved:
|
||||
obj = resolved[0]
|
||||
if hasattr(obj, "ObjectToGround"):
|
||||
commands = (
|
||||
"doc = App.ActiveDocument\n"
|
||||
f'doc.removeObject("{obj.Name}")\n'
|
||||
"doc.recompute()\n"
|
||||
)
|
||||
Gui.doCommand(commands)
|
||||
continue
|
||||
|
||||
moving_part, new_sub = UtilsAssembly.getComponentReference(
|
||||
assembly, sel.Object, sub
|
||||
)
|
||||
if not moving_part:
|
||||
continue
|
||||
|
||||
# Only objects within the assembly.
|
||||
if moving_part is None:
|
||||
continue
|
||||
|
||||
# Check if part is grounded and if so delete the joint.
|
||||
ungrounded = False
|
||||
for joint in joint_group.Group:
|
||||
if hasattr(joint, "ObjectToGround") and joint.ObjectToGround == moving_part:
|
||||
commands = (
|
||||
"doc = App.ActiveDocument\n"
|
||||
f'doc.removeObject("{joint.Name}")\n'
|
||||
"doc.recompute()\n"
|
||||
)
|
||||
Gui.doCommand(commands)
|
||||
ungrounded = True
|
||||
break
|
||||
if ungrounded:
|
||||
continue
|
||||
|
||||
# Create groundedJoint.
|
||||
createGroundedJoint(moving_part)
|
||||
Gui.ActiveDocument.commitCommand()
|
||||
|
||||
|
||||
if App.GuiUp:
|
||||
Gui.addCommand("Assembly_ToggleGrounded", CommandToggleGrounded())
|
||||
Gui.addCommand("Assembly_CreateJointFixed", CommandCreateJointFixed())
|
||||
Gui.addCommand("Assembly_CreateJointRevolute", CommandCreateJointRevolute())
|
||||
Gui.addCommand("Assembly_CreateJointCylindrical", CommandCreateJointCylindrical())
|
||||
Gui.addCommand("Assembly_CreateJointSlider", CommandCreateJointSlider())
|
||||
Gui.addCommand("Assembly_CreateJointBall", CommandCreateJointBall())
|
||||
Gui.addCommand("Assembly_CreateJointDistance", CommandCreateJointDistance())
|
||||
Gui.addCommand("Assembly_CreateJointParallel", CommandCreateJointParallel())
|
||||
Gui.addCommand("Assembly_CreateJointPerpendicular", CommandCreateJointPerpendicular())
|
||||
Gui.addCommand("Assembly_CreateJointAngle", CommandCreateJointAngle())
|
||||
Gui.addCommand("Assembly_CreateJointRackPinion", CommandCreateJointRackPinion())
|
||||
Gui.addCommand("Assembly_CreateJointScrew", CommandCreateJointScrew())
|
||||
Gui.addCommand("Assembly_CreateJointGears", CommandCreateJointGears())
|
||||
Gui.addCommand("Assembly_CreateJointBelt", CommandCreateJointBelt())
|
||||
Gui.addCommand("Assembly_CreateJointGearBelt", CommandGroupGearBelt())
|
||||
1033
src/Mod/Assembly/CommandCreateSimulation.py
Normal file
1071
src/Mod/Assembly/CommandCreateView.py
Normal file
82
src/Mod/Assembly/CommandExportASMT.py
Normal file
@@ -0,0 +1,82 @@
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
# /**************************************************************************
|
||||
# *
|
||||
# Copyright (c) 2023 Ondsel <development@ondsel.com> *
|
||||
# *
|
||||
# This file is part of FreeCAD. *
|
||||
# *
|
||||
# FreeCAD is free software: you can redistribute it and/or modify it *
|
||||
# under the terms of the GNU Lesser General Public License as *
|
||||
# published by the Free Software Foundation, either version 2.1 of the *
|
||||
# License, or (at your option) any later version. *
|
||||
# *
|
||||
# FreeCAD is distributed in the hope that it will be useful, but *
|
||||
# WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
|
||||
# Lesser General Public License for more details. *
|
||||
# *
|
||||
# You should have received a copy of the GNU Lesser General Public *
|
||||
# License along with FreeCAD. If not, see *
|
||||
# <https://www.gnu.org/licenses/>. *
|
||||
# *
|
||||
# **************************************************************************/
|
||||
|
||||
import FreeCAD as App
|
||||
import UtilsAssembly
|
||||
|
||||
from PySide.QtCore import QT_TRANSLATE_NOOP
|
||||
from PySide.QtWidgets import QFileDialog
|
||||
|
||||
if App.GuiUp:
|
||||
import FreeCADGui as Gui
|
||||
|
||||
|
||||
__title__ = "Assembly Command Create Assembly"
|
||||
__author__ = "Ondsel"
|
||||
__url__ = "https://www.freecad.org"
|
||||
|
||||
|
||||
class CommandExportASMT:
|
||||
def __init__(self):
|
||||
pass
|
||||
|
||||
def GetResources(self):
|
||||
return {
|
||||
"Pixmap": "Assembly_ExportASMT",
|
||||
"MenuText": QT_TRANSLATE_NOOP("Assembly_ExportASMT", "Export ASMT File"),
|
||||
"ToolTip": QT_TRANSLATE_NOOP(
|
||||
"Assembly_ExportASMT",
|
||||
"Export currently active assembly as a ASMT file.",
|
||||
),
|
||||
"CmdType": "ForEdit",
|
||||
}
|
||||
|
||||
def IsActive(self):
|
||||
return UtilsAssembly.isAssemblyCommandActive()
|
||||
|
||||
def Activated(self):
|
||||
document = App.ActiveDocument
|
||||
if not document:
|
||||
return
|
||||
|
||||
assembly = UtilsAssembly.activeAssembly()
|
||||
if not assembly:
|
||||
return
|
||||
|
||||
# Prompt the user for a file location and name
|
||||
defaultFileName = document.Name + ".asmt"
|
||||
filePath, _ = QFileDialog.getSaveFileName(
|
||||
None,
|
||||
"Save ASMT File",
|
||||
defaultFileName,
|
||||
"ASMT Files (*.asmt);;All Files (*)",
|
||||
)
|
||||
|
||||
if filePath:
|
||||
Gui.addModule("UtilsAssembly")
|
||||
Gui.doCommand("assembly = UtilsAssembly.activeAssembly()")
|
||||
Gui.doCommand(f'assembly.exportAsASMT("{filePath}")')
|
||||
|
||||
|
||||
if App.GuiUp:
|
||||
Gui.addCommand("Assembly_ExportASMT", CommandExportASMT())
|
||||
734
src/Mod/Assembly/CommandInsertLink.py
Normal file
@@ -0,0 +1,734 @@
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
# /**************************************************************************
|
||||
# *
|
||||
# Copyright (c) 2023 Ondsel <development@ondsel.com> *
|
||||
# *
|
||||
# This file is part of FreeCAD. *
|
||||
# *
|
||||
# FreeCAD is free software: you can redistribute it and/or modify it *
|
||||
# under the terms of the GNU Lesser General Public License as *
|
||||
# published by the Free Software Foundation, either version 2.1 of the *
|
||||
# License, or (at your option) any later version. *
|
||||
# *
|
||||
# FreeCAD is distributed in the hope that it will be useful, but *
|
||||
# WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
|
||||
# Lesser General Public License for more details. *
|
||||
# *
|
||||
# You should have received a copy of the GNU Lesser General Public *
|
||||
# License along with FreeCAD. If not, see *
|
||||
# <https://www.gnu.org/licenses/>. *
|
||||
# *
|
||||
# **************************************************************************/
|
||||
|
||||
import re
|
||||
import os
|
||||
import FreeCAD as App
|
||||
|
||||
from PySide.QtCore import QT_TRANSLATE_NOOP
|
||||
|
||||
if App.GuiUp:
|
||||
import FreeCADGui as Gui
|
||||
from PySide import QtCore, QtGui, QtWidgets
|
||||
from PySide.QtGui import QIcon
|
||||
|
||||
import UtilsAssembly
|
||||
import Preferences
|
||||
import CommandCreateJoint
|
||||
|
||||
|
||||
__title__ = "Assembly Command Insert Component"
|
||||
__author__ = "Ondsel"
|
||||
__url__ = "https://www.freecad.org"
|
||||
|
||||
|
||||
tooltip = QT_TRANSLATE_NOOP(
|
||||
"Assembly_InsertLink",
|
||||
"<p>Inserts a component into the active assembly. This will create dynamic links to parts, bodies, primitives, and assemblies. To insert external components, make sure that the file is <b>open in the current session</b></p>"
|
||||
"<ul>"
|
||||
"<li>Insert by left clicking items in the list.</li>"
|
||||
"<li>Remove by right clicking items in the list.</li>"
|
||||
"<li>Press shift to add several instances of the component while clicking on the view.</li>"
|
||||
"</ul>",
|
||||
)
|
||||
|
||||
|
||||
class CommandGroupInsert:
|
||||
def GetCommands(self):
|
||||
return ("Assembly_InsertLink", "Assembly_InsertNewPart")
|
||||
|
||||
def GetResources(self):
|
||||
"""Set icon, menu and tooltip."""
|
||||
|
||||
return {
|
||||
"Pixmap": "Assembly_InsertLink",
|
||||
"MenuText": QT_TRANSLATE_NOOP("Assembly_Insert", "Insert Component"),
|
||||
"ToolTip": tooltip,
|
||||
"CmdType": "ForEdit",
|
||||
}
|
||||
|
||||
def IsActive(self):
|
||||
return UtilsAssembly.isAssemblyCommandActive()
|
||||
|
||||
|
||||
class CommandInsertLink:
|
||||
def __init__(self):
|
||||
pass
|
||||
|
||||
def GetResources(self):
|
||||
return {
|
||||
"Pixmap": "Assembly_InsertLink",
|
||||
"MenuText": QT_TRANSLATE_NOOP("Assembly_InsertLink", "Component"),
|
||||
"Accel": "I",
|
||||
"ToolTip": tooltip,
|
||||
"CmdType": "ForEdit",
|
||||
}
|
||||
|
||||
def IsActive(self):
|
||||
return UtilsAssembly.isAssemblyCommandActive()
|
||||
|
||||
def Activated(self):
|
||||
assembly = UtilsAssembly.activeAssembly()
|
||||
if not assembly:
|
||||
return
|
||||
view = Gui.activeDocument().activeView()
|
||||
self.panel = TaskAssemblyInsertLink(assembly, view)
|
||||
Gui.Control.showDialog(self.panel)
|
||||
|
||||
|
||||
class InsertLinkObserver:
|
||||
def __init__(self, callback):
|
||||
self.callback = callback
|
||||
|
||||
def slotDeletedObject(self, obj):
|
||||
self.callback(obj)
|
||||
|
||||
|
||||
class TaskAssemblyInsertLink(QtCore.QObject):
|
||||
def __init__(self, assembly, view):
|
||||
super().__init__()
|
||||
|
||||
self.assembly = assembly
|
||||
self.view = view
|
||||
self.doc = App.ActiveDocument
|
||||
self.showHidden = False
|
||||
|
||||
self.form = Gui.PySideUic.loadUi(":/panels/TaskAssemblyInsertLink.ui")
|
||||
self.form.installEventFilter(self)
|
||||
self.form.partList.installEventFilter(self)
|
||||
|
||||
pref = Preferences.preferences()
|
||||
self.form.CheckBox_ShowOnlyParts.setChecked(pref.GetBool("InsertShowOnlyParts", False))
|
||||
self.form.CheckBox_RigidSubAsm.setChecked(pref.GetBool("InsertRigidSubAssemblies", True))
|
||||
|
||||
# Actions
|
||||
self.form.openFileButton.clicked.connect(self.openFiles)
|
||||
self.form.partList.itemClicked.connect(self.onItemClicked)
|
||||
self.form.filterPartList.textChanged.connect(self.onFilterChange)
|
||||
self.form.CheckBox_ShowOnlyParts.stateChanged.connect(self.buildPartList)
|
||||
|
||||
self.form.partList.header().hide()
|
||||
|
||||
self.translation = 0
|
||||
# self.partMoving = False
|
||||
self.totalTranslation = App.Vector()
|
||||
self.prevScreenCenter = App.Vector()
|
||||
self.groundedObj = None
|
||||
|
||||
self.insertionStack = [] # used to handle cancellation of insertions.
|
||||
self.doc_item_map = {}
|
||||
|
||||
self.buildPartList()
|
||||
|
||||
Gui.ActiveDocument.openCommand("Insert Component")
|
||||
|
||||
# Listen for external deletions to keep the list in sync
|
||||
self.docObserver = InsertLinkObserver(self.onObjectDeleted)
|
||||
App.addDocumentObserver(self.docObserver)
|
||||
|
||||
def accept(self):
|
||||
self.deactivated()
|
||||
|
||||
Gui.addModule("UtilsAssembly")
|
||||
commands = "assembly = UtilsAssembly.activeAssembly()\n"
|
||||
for insertionItem in self.insertionStack:
|
||||
object = insertionItem["addedObject"]
|
||||
translation = insertionItem["translation"]
|
||||
|
||||
# Check if object.Name & object.LinkedObject.Name exists
|
||||
if (
|
||||
not hasattr(object, "Name")
|
||||
or not hasattr(object, "LinkedObject")
|
||||
or not hasattr(object.LinkedObject, "Name")
|
||||
):
|
||||
continue
|
||||
|
||||
commands = commands + (
|
||||
f'item = assembly.newObject("App::Link", "{object.Name}")\n'
|
||||
f'item.LinkedObject = App.ActiveDocument.getObject("{object.LinkedObject.Name}")\n'
|
||||
f'item.Label = "{object.Label}"\n'
|
||||
)
|
||||
|
||||
if translation != App.Vector():
|
||||
commands = commands + (
|
||||
f"item.Placement.base = App.Vector({translation.x},"
|
||||
f"{translation.y},"
|
||||
f"{translation.z})\n"
|
||||
)
|
||||
|
||||
# Ground the first item if that happened
|
||||
if self.groundedObj:
|
||||
commands = (
|
||||
commands
|
||||
+ f'CommandCreateJoint.createGroundedJoint(App.ActiveDocument.getObject("{self.groundedObj.Name}"))\n'
|
||||
)
|
||||
|
||||
Gui.doCommandSkip(commands[:-1]) # Get rid of last \n
|
||||
Gui.ActiveDocument.commitCommand()
|
||||
return True
|
||||
|
||||
def reject(self):
|
||||
self.deactivated()
|
||||
|
||||
Gui.ActiveDocument.abortCommand()
|
||||
return True
|
||||
|
||||
def deactivated(self):
|
||||
if hasattr(self, "docObserver") and self.docObserver:
|
||||
App.removeDocumentObserver(self.docObserver)
|
||||
self.docObserver = None
|
||||
|
||||
pref = Preferences.preferences()
|
||||
pref.SetBool("InsertShowOnlyParts", self.form.CheckBox_ShowOnlyParts.isChecked())
|
||||
pref.SetBool("InsertRigidSubAssemblies", self.form.CheckBox_RigidSubAsm.isChecked())
|
||||
Gui.Selection.clearSelection()
|
||||
|
||||
def buildPartList(self):
|
||||
self.form.partList.clear()
|
||||
self.doc_item_map.clear()
|
||||
|
||||
docList = App.listDocuments().values()
|
||||
if len(docList) > 20:
|
||||
collapse = True
|
||||
else:
|
||||
collapse = False
|
||||
|
||||
for doc in docList:
|
||||
# Create a new tree item for the document
|
||||
docItem = QtGui.QTreeWidgetItem()
|
||||
itemName = doc.Label
|
||||
icon = QIcon.fromTheme("add", QIcon(":/icons/Document.svg"))
|
||||
if doc.Partial:
|
||||
itemName = (
|
||||
itemName + " (" + QT_TRANSLATE_NOOP("Assembly_Insert", "Partially loaded") + ")"
|
||||
)
|
||||
icon = self.createDisabledIcon(icon)
|
||||
docItem.setText(0, itemName)
|
||||
docItem.setIcon(0, icon)
|
||||
self.doc_item_map[docItem] = doc
|
||||
|
||||
if not any(
|
||||
(child.isDerivedFrom("Part::Feature") or child.isDerivedFrom("App::Part"))
|
||||
for child in doc.Objects
|
||||
):
|
||||
continue # Skip this doc if no relevant objects
|
||||
|
||||
self.form.partList.addTopLevelItem(docItem)
|
||||
|
||||
def process_objects(objs, item):
|
||||
onlyParts = self.form.CheckBox_ShowOnlyParts.isChecked()
|
||||
for obj in objs:
|
||||
if obj == self.assembly:
|
||||
continue # Skip current assembly
|
||||
|
||||
if obj in self.assembly.InListRecursive:
|
||||
continue # Prevent dependency loop.
|
||||
# For instance if asm1/asm2 with asm2 active, we don't want to have asm1 in the list
|
||||
|
||||
if not obj.ViewObject.ShowInTree and not self.showHidden:
|
||||
continue
|
||||
|
||||
if (
|
||||
obj.isDerivedFrom("Part::Feature")
|
||||
or obj.isDerivedFrom("App::Part")
|
||||
or obj.isDerivedFrom("App::DocumentObjectGroup")
|
||||
):
|
||||
# Special handling for DocumentObjectGroup: only add if it contains relevant child objects
|
||||
if obj.isDerivedFrom("App::DocumentObjectGroup"):
|
||||
if not any(
|
||||
(
|
||||
(not onlyParts and child.isDerivedFrom("Part::Feature"))
|
||||
or child.isDerivedFrom("App::Part")
|
||||
)
|
||||
for child in obj.ViewObject.claimChildrenRecursive()
|
||||
):
|
||||
continue # Skip this object if no relevant children
|
||||
|
||||
if obj.isDerivedFrom("Part::Feature"):
|
||||
if onlyParts:
|
||||
continue # Ignore solids if we show only Parts
|
||||
|
||||
# Now add the object under the document item
|
||||
objItem = QtGui.QTreeWidgetItem(item)
|
||||
objItem.setText(0, obj.Label)
|
||||
objItem.setIcon(
|
||||
0, obj.ViewObject.Icon if hasattr(obj, "ViewObject") else QtGui.QIcon()
|
||||
) # Use object's icon if available
|
||||
|
||||
if not obj.isDerivedFrom("App::DocumentObjectGroup"):
|
||||
objItem.setData(0, QtCore.Qt.UserRole, obj)
|
||||
|
||||
if obj.isDerivedFrom("App::Part") or obj.isDerivedFrom(
|
||||
"App::DocumentObjectGroup"
|
||||
):
|
||||
process_objects(obj.ViewObject.claimChildren(), objItem)
|
||||
|
||||
guiDoc = Gui.getDocument(doc.Name)
|
||||
process_objects(guiDoc.TreeRootObjects, docItem)
|
||||
if collapse:
|
||||
self.form.partList.collapseAll()
|
||||
else:
|
||||
self.form.partList.expandToDepth(0)
|
||||
|
||||
self.adjustTreeWidgetSize()
|
||||
|
||||
def adjustTreeWidgetSize(self):
|
||||
# Adjust the height of the part list based on item count
|
||||
item_count = 1
|
||||
|
||||
def count_items(item):
|
||||
nonlocal item_count
|
||||
item_count += 1
|
||||
for i in range(item.childCount()):
|
||||
count_items(item.child(i))
|
||||
|
||||
for i in range(self.form.partList.topLevelItemCount()):
|
||||
count_items(self.form.partList.topLevelItem(i))
|
||||
|
||||
item_height = self.form.partList.sizeHintForRow(0)
|
||||
total_height = item_count * item_height
|
||||
max_height = 500
|
||||
|
||||
self.form.partList.setMinimumHeight(min(total_height, max_height))
|
||||
|
||||
def onFilterChange(self):
|
||||
filter_str = self.form.filterPartList.text().strip().lower()
|
||||
|
||||
def filter_tree_item(item):
|
||||
# This function recursively filters items based on the filter string.
|
||||
item_text = item.text(0).lower() # Assuming the relevant text is in the first column
|
||||
is_visible = filter_str in item_text if filter_str else True
|
||||
|
||||
child_count = item.childCount()
|
||||
for i in range(child_count):
|
||||
child = item.child(i)
|
||||
child_is_visible = filter_tree_item(child) # Recursively filter children
|
||||
is_visible = (
|
||||
is_visible or child_is_visible
|
||||
) # Parent is visible if any child matches
|
||||
|
||||
item.setHidden(not is_visible)
|
||||
return is_visible
|
||||
|
||||
root_count = self.form.partList.topLevelItemCount()
|
||||
for i in range(root_count):
|
||||
root_item = self.form.partList.topLevelItem(i)
|
||||
filter_tree_item(root_item) # Filter from each root item
|
||||
|
||||
def openFiles(self):
|
||||
selected_files, _ = QtGui.QFileDialog.getOpenFileNames(
|
||||
None,
|
||||
"Select FreeCAD documents to import parts from",
|
||||
"",
|
||||
"Supported Formats (*.FCStd *.fcstd);;All files (*)",
|
||||
)
|
||||
|
||||
for filename in selected_files:
|
||||
requested_file = os.path.split(filename)[1]
|
||||
import_doc_is_open = any(
|
||||
requested_file == os.path.split(doc.FileName)[1]
|
||||
for doc in App.listDocuments().values()
|
||||
)
|
||||
|
||||
if not import_doc_is_open:
|
||||
if filename.lower().endswith(".fcstd"):
|
||||
App.openDocument(filename, True)
|
||||
App.setActiveDocument(self.doc.Name)
|
||||
self.buildPartList()
|
||||
|
||||
def onItemClicked(self, item):
|
||||
selectedPart = item.data(0, QtCore.Qt.UserRole)
|
||||
if not selectedPart:
|
||||
# If there's no part associated, toggle the expanded state
|
||||
item.setExpanded(not item.isExpanded())
|
||||
return
|
||||
|
||||
# check that the current document had been saved or that it's the same document as that of the selected part
|
||||
if not self.doc == selectedPart.Document:
|
||||
if self.doc.FileName == "":
|
||||
msgBox = QtWidgets.QMessageBox()
|
||||
msgBox.setIcon(QtWidgets.QMessageBox.Warning)
|
||||
msgBox.setText(
|
||||
"The current document must be saved before inserting external parts."
|
||||
)
|
||||
msgBox.setWindowTitle("Save Document")
|
||||
saveButton = msgBox.addButton("Save", QtWidgets.QMessageBox.AcceptRole)
|
||||
cancelButton = msgBox.addButton("Cancel", QtWidgets.QMessageBox.RejectRole)
|
||||
|
||||
msgBox.exec_()
|
||||
|
||||
if not (msgBox.clickedButton() == saveButton and Gui.ActiveDocument.saveAs()):
|
||||
return
|
||||
|
||||
# check that the selectedPart document is saved.
|
||||
if selectedPart.Document.FileName == "":
|
||||
msgBox = QtWidgets.QMessageBox()
|
||||
msgBox.setIcon(QtWidgets.QMessageBox.Warning)
|
||||
msgBox.setText("The selected object's document must be saved before inserting it.")
|
||||
msgBox.setWindowTitle("Save Document")
|
||||
saveButton = msgBox.addButton("Save", QtWidgets.QMessageBox.AcceptRole)
|
||||
cancelButton = msgBox.addButton("Cancel", QtWidgets.QMessageBox.RejectRole)
|
||||
|
||||
msgBox.exec_()
|
||||
|
||||
if not (
|
||||
msgBox.clickedButton() == saveButton
|
||||
and selectedPart.ViewObject.Document.saveAs()
|
||||
):
|
||||
return
|
||||
|
||||
# Update the document item text - useless because Document.Name still return 'Unnamed'
|
||||
"""documentItem = item
|
||||
while documentItem.parent() is not None:
|
||||
documentItem = documentItem.parent()
|
||||
newDocName = selectedPart.Document.Name
|
||||
print(selectedPart.Document.Name)
|
||||
documentItem.setText(0, f"{newDocName}.FCStd")"""
|
||||
|
||||
if selectedPart.isDerivedFrom("Assembly::AssemblyObject"):
|
||||
objType = "Assembly::AssemblyLink"
|
||||
else:
|
||||
objType = "App::Link"
|
||||
|
||||
addedObject = self.assembly.newObject(objType, selectedPart.Label)
|
||||
|
||||
# set placement of the added object to the center of the screen.
|
||||
view = Gui.activeView()
|
||||
x, y = view.getSize()
|
||||
screenCenter = view.getPointOnFocalPlane(x // 2, y // 2)
|
||||
screenCorner = view.getPointOnFocalPlane(x, y)
|
||||
|
||||
addedObject.LinkedObject = selectedPart
|
||||
addedObject.Label = selectedPart.Label # non-ASCII characters fails with newObject. #12164
|
||||
addedObject.recompute()
|
||||
|
||||
insertionDict = {}
|
||||
insertionDict["item"] = item
|
||||
insertionDict["addedObject"] = addedObject
|
||||
self.insertionStack.append(insertionDict)
|
||||
self.increment_counter(item)
|
||||
|
||||
translation = App.Vector()
|
||||
resetThreshold = (screenCorner - screenCenter).Length * 0.1
|
||||
if len(self.insertionStack) == 1:
|
||||
translation = App.Vector() # No translation for first object.
|
||||
elif (self.prevScreenCenter - screenCenter).Length > resetThreshold:
|
||||
self.totalTranslation = App.Vector()
|
||||
self.prevScreenCenter = screenCenter
|
||||
else:
|
||||
translation = self.getTranslationVec(addedObject)
|
||||
|
||||
insertionDict["translation"] = translation
|
||||
self.totalTranslation += translation
|
||||
|
||||
originX, originY = view.getPointOnViewport(App.Vector() + translation)
|
||||
if originX > 0 and originX < x and originY > 0 and originY < y:
|
||||
# If the origin is within view then we insert at the origin.
|
||||
addedObject.Placement.Base = self.totalTranslation
|
||||
else:
|
||||
#
|
||||
bboxCenter = addedObject.ViewObject.getBoundingBox().Center
|
||||
addedObject.Placement.Base = screenCenter - bboxCenter + self.totalTranslation
|
||||
|
||||
self.prevScreenCenter = screenCenter
|
||||
|
||||
# We turn it flexible after changing the position so that it uses the logic in
|
||||
# AssemblyLink::onChanged to handle positioning correctly.
|
||||
if selectedPart.isDerivedFrom("Assembly::AssemblyObject"):
|
||||
addedObject.Rigid = self.form.CheckBox_RigidSubAsm.isChecked()
|
||||
|
||||
# highlight the link
|
||||
Gui.Selection.clearSelection()
|
||||
Gui.Selection.addSelection(self.doc.Name, addedObject.Name, "")
|
||||
|
||||
item.setSelected(False)
|
||||
|
||||
if len(self.insertionStack) == 1 and not UtilsAssembly.isAssemblyGrounded():
|
||||
self.handleFirstInsertion()
|
||||
|
||||
def handleFirstInsertion(self):
|
||||
pref = Preferences.preferences()
|
||||
fixPart = False
|
||||
fixPartPref = pref.GetInt("GroundFirstPart", 0)
|
||||
if fixPartPref == 0: # unset
|
||||
msgBox = QtWidgets.QMessageBox()
|
||||
msgBox.setWindowTitle("Ground Part?")
|
||||
msgBox.setText(
|
||||
"Do you want to ground the first inserted part automatically?\nYou need at least one grounded part in your assembly."
|
||||
)
|
||||
msgBox.setIcon(QtWidgets.QMessageBox.Question)
|
||||
|
||||
yesButton = msgBox.addButton("Yes", QtWidgets.QMessageBox.YesRole)
|
||||
noButton = msgBox.addButton("No", QtWidgets.QMessageBox.RejectRole)
|
||||
yesAlwaysButton = msgBox.addButton("Always", QtWidgets.QMessageBox.YesRole)
|
||||
noAlwaysButton = msgBox.addButton("Never", QtWidgets.QMessageBox.NoRole)
|
||||
|
||||
msgBox.exec_()
|
||||
|
||||
clickedButton = msgBox.clickedButton()
|
||||
if clickedButton == yesButton:
|
||||
fixPart = True
|
||||
elif clickedButton == yesAlwaysButton:
|
||||
fixPart = True
|
||||
pref.SetInt("GroundFirstPart", 1)
|
||||
elif clickedButton == noAlwaysButton:
|
||||
pref.SetInt("GroundFirstPart", 2)
|
||||
|
||||
elif fixPartPref == 1: # Yes always
|
||||
fixPart = True
|
||||
|
||||
if fixPart:
|
||||
# Create groundedJoint.
|
||||
if len(self.insertionStack) != 1:
|
||||
return
|
||||
|
||||
targetObj = self.insertionStack[0]["addedObject"]
|
||||
|
||||
# If the object is a flexible AssemblyLink, we should ground its internal 'base' part
|
||||
if targetObj.isDerivedFrom("Assembly::AssemblyLink") and not targetObj.Rigid:
|
||||
linkedAsm = targetObj.LinkedObject
|
||||
if linkedAsm and hasattr(linkedAsm, "Group"):
|
||||
srcGrounded = None
|
||||
# Attempt to find the grounded joint in the source assembly
|
||||
# We look for a joint where JointType is 'Grounded'
|
||||
for obj in linkedAsm.InListRecursive:
|
||||
if hasattr(obj, "ObjectToGround"):
|
||||
srcGrounded = obj.ObjectToGround
|
||||
break
|
||||
|
||||
# Search the sub-assembly group for the link pointing to the source grounded object
|
||||
# Fallback to the first valid part if no grounded joint was found in source
|
||||
candidate = None
|
||||
for child in targetObj.Group:
|
||||
if not candidate and (
|
||||
child.isDerivedFrom("App::Link") or child.isDerivedFrom("Part::Feature")
|
||||
):
|
||||
candidate = child
|
||||
|
||||
if (
|
||||
srcGrounded
|
||||
and hasattr(child, "LinkedObject")
|
||||
and child.LinkedObject == srcGrounded
|
||||
):
|
||||
candidate = child
|
||||
break
|
||||
|
||||
if not candidate: # Nothing to ground
|
||||
return
|
||||
|
||||
targetObj = candidate
|
||||
|
||||
self.groundedObj = targetObj
|
||||
self.groundedJoint = CommandCreateJoint.createGroundedJoint(self.groundedObj)
|
||||
|
||||
def increment_counter(self, item):
|
||||
text = item.text(0)
|
||||
match = re.search(r"(\d+) inserted$", text)
|
||||
|
||||
if match:
|
||||
# Counter exists, increment it
|
||||
counter = int(match.group(1)) + 1
|
||||
new_text = re.sub(r"\d+ inserted$", f"{counter} inserted", text)
|
||||
else:
|
||||
# Counter does not exist, add it
|
||||
new_text = f"{text} : 1 inserted"
|
||||
|
||||
item.setText(0, new_text)
|
||||
|
||||
def decrement_counter(self, item):
|
||||
text = item.text(0)
|
||||
match = re.search(r"(\d+) inserted$", text)
|
||||
|
||||
if match:
|
||||
counter = int(match.group(1)) - 1
|
||||
if counter > 0:
|
||||
# Update the counter
|
||||
new_text = re.sub(r"\d+ inserted$", f"{counter} inserted", text)
|
||||
elif counter == 0:
|
||||
# Remove the counter part from the text
|
||||
new_text = re.sub(r" : \d+ inserted$", "", text)
|
||||
else:
|
||||
return
|
||||
|
||||
item.setText(0, new_text)
|
||||
|
||||
"""def clickMouse(self, info):
|
||||
if info["Button"] == "BUTTON1" and info["State"] == "DOWN":
|
||||
Gui.Selection.clearSelection()
|
||||
if info["ShiftDown"]:
|
||||
# Create a new link and moves this one now
|
||||
addedObject = self.insertionStack[-1]["addedObject"]
|
||||
currentPos = addedObject.Placement.Base
|
||||
selectedPart = addedObject
|
||||
if addedObject.TypeId == "App::Link":
|
||||
selectedPart = addedObject.LinkedObject
|
||||
|
||||
addedObject = self.assembly.newObject("App::Link", selectedPart.Label)
|
||||
addedObject.LinkedObject = selectedPart
|
||||
addedObject.Placement.Base = currentPos
|
||||
|
||||
insertionDict = {}
|
||||
insertionDict["translation"] = App.Vector()
|
||||
insertionDict["item"] = self.insertionStack[-1]["item"]
|
||||
insertionDict["addedObject"] = addedObject
|
||||
self.insertionStack.append(insertionDict)
|
||||
|
||||
else:
|
||||
self.endMove()
|
||||
|
||||
elif info["Button"] == "BUTTON2" and info["State"] == "DOWN":
|
||||
self.dismissPart()"""
|
||||
|
||||
# Taskbox keyboard event handler
|
||||
def eventFilter(self, watched, event):
|
||||
|
||||
if event.type() == QtCore.QEvent.ContextMenu and watched is self.form.partList:
|
||||
item = watched.itemAt(event.pos())
|
||||
|
||||
if item:
|
||||
if item.parent() is None:
|
||||
doc = self.doc_item_map.get(item)
|
||||
if doc and doc.Partial:
|
||||
menu = QtWidgets.QMenu()
|
||||
load_action_text = QT_TRANSLATE_NOOP(
|
||||
"Assembly_Insert", "Fully load document"
|
||||
)
|
||||
load_action = menu.addAction(load_action_text)
|
||||
load_action.triggered.connect(lambda: self.fullyLoadDocument(doc))
|
||||
menu.exec_(event.globalPos())
|
||||
return True # Event was handled
|
||||
|
||||
# Iterate through the insertionStack in reverse
|
||||
for i in reversed(range(len(self.insertionStack))):
|
||||
stack_item = self.insertionStack[i]
|
||||
|
||||
if stack_item["item"] == item:
|
||||
obj = stack_item["addedObject"]
|
||||
|
||||
# ONLY remove the object from the document.
|
||||
# The Observer (onObjectDeleted) will handle the rest.
|
||||
if obj and obj.Document:
|
||||
UtilsAssembly.removeObjAndChilds(obj)
|
||||
|
||||
return True
|
||||
else:
|
||||
menu = QtWidgets.QMenu()
|
||||
|
||||
# Add the checkbox action
|
||||
showHiddenAction = QtWidgets.QAction("Show objects hidden in tree view", menu)
|
||||
showHiddenAction.setCheckable(True)
|
||||
showHiddenAction.setChecked(self.showHidden)
|
||||
|
||||
# Connect the action to toggle `self.showHidden`
|
||||
showHiddenAction.toggled.connect(self.toggleShowHidden)
|
||||
menu.addAction(showHiddenAction)
|
||||
menu.exec_(event.globalPos())
|
||||
return True
|
||||
|
||||
return super().eventFilter(watched, event)
|
||||
|
||||
def fullyLoadDocument(self, doc_to_load):
|
||||
"""Closes and re-opens a document to load it fully."""
|
||||
if not doc_to_load.FileName:
|
||||
return
|
||||
|
||||
# Save UI state
|
||||
scrollbar = self.form.partList.verticalScrollBar()
|
||||
scroll_position = scrollbar.value()
|
||||
|
||||
# Perform the reload
|
||||
App.open(doc_to_load.FileName)
|
||||
App.setActiveDocument(self.doc.Name)
|
||||
|
||||
# Refresh the UI
|
||||
self.buildPartList()
|
||||
|
||||
# Restore UI state
|
||||
scrollbar.setValue(scroll_position)
|
||||
|
||||
def createDisabledIcon(self, icon):
|
||||
if icon.isNull():
|
||||
return QIcon()
|
||||
|
||||
# Get a pixmap from the icon at a standard size
|
||||
pixmap = icon.pixmap(icon.actualSize(QtCore.QSize(16, 16)))
|
||||
|
||||
# Ask the application's style to generate a disabled version of the pixmap
|
||||
style = QtWidgets.QApplication.style()
|
||||
disabled_pixmap = style.generatedIconPixmap(
|
||||
QtGui.QIcon.Disabled, pixmap, QtWidgets.QStyleOption()
|
||||
)
|
||||
|
||||
return QIcon(disabled_pixmap)
|
||||
|
||||
def toggleShowHidden(self, checked):
|
||||
self.showHidden = checked
|
||||
self.buildPartList()
|
||||
|
||||
def getTranslationVec(self, part):
|
||||
bb = part.Shape.BoundBox
|
||||
if bb:
|
||||
translation = (bb.XMax + bb.YMax + bb.ZMax) * 0.15
|
||||
else:
|
||||
translation = 10
|
||||
return App.Vector(translation, translation, translation)
|
||||
|
||||
def onObjectDeleted(self, obj):
|
||||
"""
|
||||
Handles cleanup when an object is deleted (via Right Click OR Tree View).
|
||||
"""
|
||||
# Iterate backwards to safely delete
|
||||
for i in reversed(range(len(self.insertionStack))):
|
||||
stack_item = self.insertionStack[i]
|
||||
|
||||
if stack_item["addedObject"] == obj:
|
||||
# 1. Revert translation
|
||||
self.totalTranslation -= stack_item["translation"]
|
||||
|
||||
# 2. Update UI counter
|
||||
item = stack_item["item"]
|
||||
self.decrement_counter(item)
|
||||
|
||||
# 3. Handle Grounded Joint cleanup
|
||||
if self.groundedObj == obj:
|
||||
if self.groundedJoint:
|
||||
try:
|
||||
# Remove the joint if it still exists
|
||||
if self.groundedJoint.Document:
|
||||
self.groundedJoint.Document.removeObject(self.groundedJoint.Name)
|
||||
except Exception:
|
||||
pass
|
||||
self.groundedObj = None
|
||||
self.groundedJoint = None
|
||||
|
||||
# 4. Remove from stack
|
||||
del self.insertionStack[i]
|
||||
|
||||
# 5. Clear selection
|
||||
if item:
|
||||
item.setSelected(False)
|
||||
|
||||
|
||||
if App.GuiUp:
|
||||
Gui.addCommand("Assembly_InsertLink", CommandInsertLink())
|
||||
Gui.addCommand("Assembly_Insert", CommandGroupInsert())
|
||||
221
src/Mod/Assembly/CommandInsertNewPart.py
Normal file
@@ -0,0 +1,221 @@
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
# /**************************************************************************
|
||||
# *
|
||||
# Copyright (c) 2024 Ondsel <development@ondsel.com> *
|
||||
# *
|
||||
# This file is part of FreeCAD. *
|
||||
# *
|
||||
# FreeCAD is free software: you can redistribute it and/or modify it *
|
||||
# under the terms of the GNU Lesser General Public License as *
|
||||
# published by the Free Software Foundation, either version 2.1 of the *
|
||||
# License, or (at your option) any later version. *
|
||||
# *
|
||||
# FreeCAD is distributed in the hope that it will be useful, but *
|
||||
# WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
|
||||
# Lesser General Public License for more details. *
|
||||
# *
|
||||
# You should have received a copy of the GNU Lesser General Public *
|
||||
# License along with FreeCAD. If not, see *
|
||||
# <https://www.gnu.org/licenses/>. *
|
||||
# *
|
||||
# **************************************************************************/
|
||||
|
||||
import re
|
||||
import os
|
||||
import FreeCAD as App
|
||||
|
||||
from PySide.QtCore import QT_TRANSLATE_NOOP
|
||||
|
||||
if App.GuiUp:
|
||||
import FreeCADGui as Gui
|
||||
from PySide import QtCore, QtGui, QtWidgets
|
||||
from PySide.QtGui import QIcon
|
||||
from PySide.QtCore import QTimer
|
||||
|
||||
import UtilsAssembly
|
||||
import Preferences
|
||||
import JointObject
|
||||
|
||||
translate = App.Qt.translate
|
||||
|
||||
__title__ = "Assembly Command Insert New Part"
|
||||
__author__ = "Ondsel"
|
||||
__url__ = "https://www.freecad.org"
|
||||
|
||||
|
||||
class CommandInsertNewPart:
|
||||
def __init__(self):
|
||||
pass
|
||||
|
||||
def GetResources(self):
|
||||
return {
|
||||
"Pixmap": "Geofeaturegroup",
|
||||
"MenuText": QT_TRANSLATE_NOOP("Assembly_InsertNewPart", "New Part"),
|
||||
"Accel": "P",
|
||||
"ToolTip": QT_TRANSLATE_NOOP(
|
||||
"Assembly_InsertNewPart",
|
||||
"Insert a new part into the active assembly. The new part's origin can be positioned in the assembly.",
|
||||
),
|
||||
"CmdType": "ForEdit",
|
||||
}
|
||||
|
||||
def IsActive(self):
|
||||
return UtilsAssembly.isAssemblyCommandActive()
|
||||
|
||||
def Activated(self):
|
||||
# Check if document is saved before proceeding
|
||||
doc = App.ActiveDocument
|
||||
if not doc.FileName:
|
||||
msgBox = QtWidgets.QMessageBox()
|
||||
msgBox.setIcon(QtWidgets.QMessageBox.Warning)
|
||||
msgBox.setText(
|
||||
translate(
|
||||
"Assembly",
|
||||
"The assembly document must be saved before inserting a new part.",
|
||||
)
|
||||
)
|
||||
msgBox.setWindowTitle(translate("Assembly", "Save Document"))
|
||||
saveButton = msgBox.addButton(
|
||||
translate("Assembly", "Save"), QtWidgets.QMessageBox.AcceptRole
|
||||
)
|
||||
msgBox.addButton(QtWidgets.QMessageBox.Cancel)
|
||||
msgBox.exec_()
|
||||
if msgBox.clickedButton() == saveButton:
|
||||
if not Gui.getDocument(doc).saveAs():
|
||||
return
|
||||
else:
|
||||
return
|
||||
|
||||
panel = TaskAssemblyNewPart()
|
||||
dialog = Gui.Control.showDialog(panel)
|
||||
if dialog is not None:
|
||||
dialog.setAutoCloseOnDeletedDocument(True)
|
||||
dialog.setDocumentName(App.ActiveDocument.Name)
|
||||
|
||||
|
||||
class TaskAssemblyNewPart(JointObject.TaskAssemblyCreateJoint):
|
||||
def __init__(self):
|
||||
super().__init__(0, None, True)
|
||||
|
||||
self.assembly = UtilsAssembly.activeAssembly()
|
||||
|
||||
# Retrieve the existing layout of `self.form`
|
||||
mainLayout = self.form.layout()
|
||||
|
||||
# Add a name input
|
||||
nameLayout = QtWidgets.QHBoxLayout()
|
||||
nameLabel = QtWidgets.QLabel(translate("Assembly", "Part name"))
|
||||
self.nameEdit = QtWidgets.QLineEdit()
|
||||
nameLayout.addWidget(nameLabel)
|
||||
nameLayout.addWidget(self.nameEdit)
|
||||
mainLayout.addLayout(nameLayout)
|
||||
self.nameEdit.setText(translate("Assembly", "Part"))
|
||||
|
||||
# Add a checkbox
|
||||
self.createInNewFileCheck = QtWidgets.QCheckBox(
|
||||
translate("Assembly", "Create part in new file")
|
||||
)
|
||||
mainLayout.addWidget(self.createInNewFileCheck)
|
||||
self.createInNewFileCheck.setChecked(
|
||||
Preferences.preferences().GetBool("PartInNewFile", True)
|
||||
)
|
||||
|
||||
# Wrap the joint creation UI in a groupbox
|
||||
jointGroupBox = QtWidgets.QGroupBox(translate("Assembly", "Joint new part origin"))
|
||||
jointLayout = QtWidgets.QVBoxLayout(jointGroupBox)
|
||||
jointLayout.addWidget(self.jForm)
|
||||
jointLayout.setContentsMargins(0, 0, 0, 0)
|
||||
jointLayout.setSpacing(0)
|
||||
mainLayout.addWidget(jointGroupBox)
|
||||
|
||||
self.link = self.assembly.newObject("App::Link", "Link")
|
||||
# add the link as the first object of the joint
|
||||
Gui.Selection.addSelection(
|
||||
self.assembly.Document.Name, self.assembly.Name, self.link.Name + "."
|
||||
)
|
||||
|
||||
def createPart(self):
|
||||
partName = self.nameEdit.text()
|
||||
newFile = self.createInNewFileCheck.isChecked()
|
||||
|
||||
doc = self.assembly.Document
|
||||
if newFile:
|
||||
doc = App.newDocument(partName)
|
||||
|
||||
part, body = UtilsAssembly.createPart(partName, doc)
|
||||
|
||||
App.setActiveDocument(self.assembly.Document.Name)
|
||||
|
||||
# Then we need to link the part.
|
||||
if newFile:
|
||||
# New file must be saved or we can't link
|
||||
if not Gui.getDocument(doc).saveAs():
|
||||
msgBox = QtWidgets.QMessageBox()
|
||||
msgBox.setIcon(QtWidgets.QMessageBox.Warning)
|
||||
msgBox.setText(
|
||||
translate(
|
||||
"Assembly",
|
||||
"If the new document is not saved the new part cannot be linked in the assembly.",
|
||||
)
|
||||
)
|
||||
msgBox.setWindowTitle(translate("Assembly", "Save Document"))
|
||||
saveButton = msgBox.addButton(
|
||||
translate("Assembly", "Save"), QtWidgets.QMessageBox.AcceptRole
|
||||
)
|
||||
cancelButton = msgBox.addButton(
|
||||
translate("Assembly", "Do not Link"), QtWidgets.QMessageBox.RejectRole
|
||||
)
|
||||
|
||||
msgBox.exec_()
|
||||
|
||||
if not (msgBox.clickedButton() == saveButton and Gui.getDocument(doc).saveAs()):
|
||||
return
|
||||
|
||||
self.link.LinkedObject = part
|
||||
self.link.touch()
|
||||
|
||||
self.link.Label = part.Label
|
||||
|
||||
# Set the body as active in the assembly doc
|
||||
self.expandLinkManually(self.link)
|
||||
doc = self.assembly.Document
|
||||
Gui.getDocument(doc).ActiveView.setActiveObject("pdbody", body)
|
||||
doc.recompute()
|
||||
|
||||
def expandLinkManually(self, link):
|
||||
# Should not be necessary
|
||||
# This is a workaround of https://github.com/FreeCAD/FreeCAD/issues/17904
|
||||
mw = Gui.getMainWindow()
|
||||
trees = mw.findChildren(QtGui.QTreeWidget)
|
||||
|
||||
Gui.Selection.addSelection(link)
|
||||
for tree in trees:
|
||||
for item in tree.selectedItems():
|
||||
tree.expandItem(item)
|
||||
|
||||
def accept(self):
|
||||
if len(self.refs) != 2:
|
||||
# if the joint is not complete we cancel the joint but not the new part!
|
||||
self.joint.Document.removeObject(self.joint.Name)
|
||||
else:
|
||||
JointObject.solveIfAllowed(self.assembly)
|
||||
self.joint.Visibility = False
|
||||
cmds = UtilsAssembly.generatePropertySettings(self.joint)
|
||||
Gui.doCommand(cmds)
|
||||
|
||||
self.deactivate()
|
||||
|
||||
self.createPart()
|
||||
|
||||
Gui.ActiveDocument.commitCommand()
|
||||
|
||||
return True
|
||||
|
||||
def deactivate(self):
|
||||
Preferences.preferences().SetBool("PartInNewFile", self.createInNewFileCheck.isChecked())
|
||||
super().deactivate()
|
||||
|
||||
|
||||
if App.GuiUp:
|
||||
Gui.addCommand("Assembly_InsertNewPart", CommandInsertNewPart())
|
||||
73
src/Mod/Assembly/CommandSolveAssembly.py
Normal file
@@ -0,0 +1,73 @@
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
# /**************************************************************************
|
||||
# *
|
||||
# Copyright (c) 2023 Ondsel <development@ondsel.com> *
|
||||
# *
|
||||
# This file is part of FreeCAD. *
|
||||
# *
|
||||
# FreeCAD is free software: you can redistribute it and/or modify it *
|
||||
# under the terms of the GNU Lesser General Public License as *
|
||||
# published by the Free Software Foundation, either version 2.1 of the *
|
||||
# License, or (at your option) any later version. *
|
||||
# *
|
||||
# FreeCAD is distributed in the hope that it will be useful, but *
|
||||
# WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
|
||||
# Lesser General Public License for more details. *
|
||||
# *
|
||||
# You should have received a copy of the GNU Lesser General Public *
|
||||
# License along with FreeCAD. If not, see *
|
||||
# <https://www.gnu.org/licenses/>. *
|
||||
# *
|
||||
# **************************************************************************/
|
||||
|
||||
import os
|
||||
import FreeCAD as App
|
||||
|
||||
from PySide.QtCore import QT_TRANSLATE_NOOP
|
||||
|
||||
if App.GuiUp:
|
||||
import FreeCADGui as Gui
|
||||
from PySide import QtCore, QtGui, QtWidgets
|
||||
|
||||
import UtilsAssembly
|
||||
import Assembly_rc
|
||||
|
||||
|
||||
__title__ = "Assembly Command to Solve Assembly"
|
||||
__author__ = "Ondsel"
|
||||
__url__ = "https://www.freecad.org"
|
||||
|
||||
|
||||
class CommandSolveAssembly:
|
||||
def __init__(self):
|
||||
pass
|
||||
|
||||
def GetResources(self):
|
||||
|
||||
return {
|
||||
"Pixmap": "Assembly_SolveAssembly",
|
||||
"MenuText": QT_TRANSLATE_NOOP("Assembly_SolveAssembly", "Solve Assembly"),
|
||||
"Accel": "Z",
|
||||
"ToolTip": QT_TRANSLATE_NOOP(
|
||||
"Assembly_SolveAssembly",
|
||||
"Solves the currently active assembly.",
|
||||
),
|
||||
"CmdType": "ForEdit",
|
||||
}
|
||||
|
||||
def IsActive(self):
|
||||
return UtilsAssembly.isAssemblyCommandActive()
|
||||
|
||||
def Activated(self):
|
||||
assembly = UtilsAssembly.activeAssembly()
|
||||
if not assembly:
|
||||
return
|
||||
|
||||
App.setActiveTransaction("Solve assembly")
|
||||
assembly.recompute(True)
|
||||
Gui.ActiveDocument.commitCommand()
|
||||
|
||||
|
||||
if App.GuiUp:
|
||||
Gui.addCommand("Assembly_SolveAssembly", CommandSolveAssembly())
|
||||
73
src/Mod/Assembly/Gui/AppAssemblyGui.cpp
Normal file
@@ -0,0 +1,73 @@
|
||||
// SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
/****************************************************************************
|
||||
* *
|
||||
* Copyright (c) 2023 Ondsel <development@ondsel.com> *
|
||||
* *
|
||||
* This file is part of FreeCAD. *
|
||||
* *
|
||||
* FreeCAD is free software: you can redistribute it and/or modify it *
|
||||
* under the terms of the GNU Lesser General Public License as *
|
||||
* published by the Free Software Foundation, either version 2.1 of the *
|
||||
* License, or (at your option) any later version. *
|
||||
* *
|
||||
* FreeCAD is distributed in the hope that it will be useful, but *
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
|
||||
* Lesser General Public License for more details. *
|
||||
* *
|
||||
* You should have received a copy of the GNU Lesser General Public *
|
||||
* License along with FreeCAD. If not, see *
|
||||
* <https://www.gnu.org/licenses/>. *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#include <Base/Console.h>
|
||||
#include <Base/Interpreter.h>
|
||||
#include <Base/PyObjectBase.h>
|
||||
|
||||
#include "Commands.h"
|
||||
#include "ViewProviderAssembly.h"
|
||||
#include "ViewProviderAssemblyLink.h"
|
||||
#include "ViewProviderBom.h"
|
||||
#include "ViewProviderBomGroup.h"
|
||||
#include "ViewProviderJointGroup.h"
|
||||
#include "ViewProviderViewGroup.h"
|
||||
#include "ViewProviderSimulationGroup.h"
|
||||
|
||||
namespace AssemblyGui
|
||||
{
|
||||
extern PyObject* initModule();
|
||||
}
|
||||
|
||||
/* Python entry */
|
||||
PyMOD_INIT_FUNC(AssemblyGui)
|
||||
{
|
||||
// load dependent module
|
||||
try {
|
||||
Base::Interpreter().runString("import SpreadsheetGui");
|
||||
}
|
||||
catch (const Base::Exception& e) {
|
||||
PyErr_SetString(PyExc_ImportError, e.what());
|
||||
PyMOD_Return(nullptr);
|
||||
}
|
||||
|
||||
PyObject* mod = AssemblyGui::initModule();
|
||||
Base::Console().log("Loading AssemblyGui module... done\n");
|
||||
|
||||
AssemblyGui::CreateAssemblyCommands();
|
||||
|
||||
// NOTE: To finish the initialization of our own type objects we must
|
||||
// call PyType_Ready, otherwise we run into a segmentation fault, later on.
|
||||
// This function is responsible for adding inherited slots from a type's base class.
|
||||
|
||||
AssemblyGui::ViewProviderAssembly::init();
|
||||
AssemblyGui::ViewProviderAssemblyLink::init();
|
||||
AssemblyGui::ViewProviderBom::init();
|
||||
AssemblyGui::ViewProviderBomGroup::init();
|
||||
AssemblyGui::ViewProviderJointGroup::init();
|
||||
AssemblyGui::ViewProviderViewGroup::init();
|
||||
AssemblyGui::ViewProviderSimulationGroup::init();
|
||||
|
||||
PyMOD_Return(mod);
|
||||
}
|
||||
45
src/Mod/Assembly/Gui/AppAssemblyGuiPy.cpp
Normal file
@@ -0,0 +1,45 @@
|
||||
// SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
/****************************************************************************
|
||||
* *
|
||||
* Copyright (c) 2023 Ondsel <development@ondsel.com> *
|
||||
* *
|
||||
* This file is part of FreeCAD. *
|
||||
* *
|
||||
* FreeCAD is free software: you can redistribute it and/or modify it *
|
||||
* under the terms of the GNU Lesser General Public License as *
|
||||
* published by the Free Software Foundation, either version 2.1 of the *
|
||||
* License, or (at your option) any later version. *
|
||||
* *
|
||||
* FreeCAD is distributed in the hope that it will be useful, but *
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
|
||||
* Lesser General Public License for more details. *
|
||||
* *
|
||||
* You should have received a copy of the GNU Lesser General Public *
|
||||
* License along with FreeCAD. If not, see *
|
||||
* <https://www.gnu.org/licenses/>. *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#include <Base/Interpreter.h>
|
||||
|
||||
|
||||
namespace AssemblyGui
|
||||
{
|
||||
class Module: public Py::ExtensionModule<Module>
|
||||
{
|
||||
public:
|
||||
Module()
|
||||
: Py::ExtensionModule<Module>("AssemblyGui")
|
||||
{
|
||||
initialize("This module is the Assembly module."); // register with Python
|
||||
}
|
||||
};
|
||||
|
||||
PyObject* initModule()
|
||||
{
|
||||
return Base::Interpreter().addModule(new Module);
|
||||
}
|
||||
|
||||
} // namespace AssemblyGui
|
||||
115
src/Mod/Assembly/Gui/CMakeLists.txt
Normal file
@@ -0,0 +1,115 @@
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
|
||||
set(AssemblyGui_LIBS
|
||||
Assembly
|
||||
PartDesign
|
||||
PartGui
|
||||
Spreadsheet
|
||||
SpreadsheetGui
|
||||
FreeCADGui
|
||||
)
|
||||
|
||||
PYSIDE_WRAP_RC(Assembly_QRC_SRCS Resources/Assembly.qrc)
|
||||
|
||||
set (Assembly_TR_QRC ${CMAKE_CURRENT_BINARY_DIR}/Resources/Assembly_translation.qrc)
|
||||
qt_find_and_add_translation(QM_SRCS "Resources/translations/*_*.ts"
|
||||
${CMAKE_CURRENT_BINARY_DIR}/Resources/translations)
|
||||
qt_create_resource_file(${Assembly_TR_QRC} ${QM_SRCS})
|
||||
qt_add_resources(AssemblyResource_SRCS Resources/Assembly.qrc ${Assembly_TR_QRC})
|
||||
|
||||
SOURCE_GROUP("Resources" FILES ${AssemblyResource_SRCS})
|
||||
|
||||
generate_from_py(ViewProviderAssembly)
|
||||
|
||||
set(AssemblyGui_UIC_SRCS
|
||||
TaskAssemblyCreateBom.ui
|
||||
TaskAssemblyCreateJoint.ui
|
||||
TaskAssemblyCreateSimulation.ui
|
||||
TaskAssemblyCreateView.ui
|
||||
TaskAssemblyInsertLink.ui
|
||||
Assembly.ui
|
||||
)
|
||||
|
||||
SET(Python_SRCS
|
||||
ViewProviderAssembly.pyi
|
||||
ViewProviderAssemblyPyImp.cpp
|
||||
)
|
||||
SOURCE_GROUP("Python" FILES ${Python_SRCS})
|
||||
|
||||
SET(AssemblyGui_SRCS_Module
|
||||
AppAssemblyGui.cpp
|
||||
AppAssemblyGuiPy.cpp
|
||||
PreCompiled.h
|
||||
Commands.cpp
|
||||
Commands.h
|
||||
TaskAssemblyMessages.cpp
|
||||
TaskAssemblyMessages.h
|
||||
ViewProviderAssembly.cpp
|
||||
ViewProviderAssembly.h
|
||||
ViewProviderAssemblyLink.cpp
|
||||
ViewProviderAssemblyLink.h
|
||||
ViewProviderBom.cpp
|
||||
ViewProviderBom.h
|
||||
ViewProviderBomGroup.cpp
|
||||
ViewProviderBomGroup.h
|
||||
ViewProviderJointGroup.cpp
|
||||
ViewProviderJointGroup.h
|
||||
ViewProviderViewGroup.cpp
|
||||
ViewProviderViewGroup.h
|
||||
ViewProviderSimulationGroup.cpp
|
||||
ViewProviderSimulationGroup.h
|
||||
${Assembly_QRC_SRCS}
|
||||
)
|
||||
|
||||
SOURCE_GROUP("Module" FILES ${AssemblyGui_SRCS_Module})
|
||||
|
||||
|
||||
SET(AssemblyGui_SRCS
|
||||
${AssemblyResource_SRCS}
|
||||
${AssemblyGui_UIC_HDRS}
|
||||
${AssemblyGui_SRCS_Module}
|
||||
${Python_SRCS}
|
||||
)
|
||||
|
||||
SET(AssemblyGuiIcon_SVG
|
||||
Resources/icons/AssemblyWorkbench.svg
|
||||
)
|
||||
|
||||
add_library(AssemblyGui SHARED ${AssemblyGui_SRCS} ${AssemblyGuiIcon_SVG})
|
||||
|
||||
if(FREECAD_USE_PCH)
|
||||
target_precompile_headers(AssemblyGui PRIVATE
|
||||
$<$<COMPILE_LANGUAGE:CXX>:"${CMAKE_CURRENT_LIST_DIR}/PreCompiled.h">
|
||||
)
|
||||
endif(FREECAD_USE_PCH)
|
||||
|
||||
target_include_directories(
|
||||
AssemblyGui
|
||||
PRIVATE
|
||||
${CMAKE_BINARY_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
)
|
||||
|
||||
if(WIN32)
|
||||
target_compile_definitions(AssemblyGui PRIVATE _USE_MATH_DEFINES)
|
||||
endif(WIN32)
|
||||
|
||||
target_link_libraries(AssemblyGui ${AssemblyGui_LIBS})
|
||||
if (FREECAD_WARN_ERROR)
|
||||
target_compile_warn_error(AssemblyGui)
|
||||
endif()
|
||||
|
||||
SET_BIN_DIR(AssemblyGui AssemblyGui /Mod/Assembly)
|
||||
SET_PYTHON_PREFIX_SUFFIX(AssemblyGui)
|
||||
|
||||
fc_copy_sources(AssemblyGui "${CMAKE_BINARY_DIR}/${CMAKE_INSTALL_DATADIR}/Mod/Assembly" ${AssemblyGuiIcon_SVG})
|
||||
fc_target_copy_resource(AssemblyGui
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_BINARY_DIR}/Mod/Assembly
|
||||
Assembly_rc.py)
|
||||
|
||||
INSTALL(TARGETS AssemblyGui DESTINATION ${CMAKE_INSTALL_LIBDIR})
|
||||
INSTALL(FILES ${AssemblyGuiIcon_SVG} DESTINATION "${CMAKE_INSTALL_DATADIR}/Mod/Assembly/Resources/icons")
|
||||
INSTALL(FILES ${Assembly_QRC_SRCS} DESTINATION Mod/Assembly
|
||||
)
|
||||
381
src/Mod/Assembly/Gui/Commands.cpp
Normal file
@@ -0,0 +1,381 @@
|
||||
// SPDX - License - Identifier: LGPL - 2.1 - or -later
|
||||
/****************************************************************************
|
||||
* *
|
||||
* Copyright (c) 2025 Pierre-Louis Boyer *
|
||||
* *
|
||||
* This file is part of FreeCAD. *
|
||||
* *
|
||||
* FreeCAD is free software: you can redistribute it and/or modify it *
|
||||
* under the terms of the GNU Lesser General Public License as *
|
||||
* published by the Free Software Foundation, either version 2.1 of the *
|
||||
* License, or (at your option) any later version. *
|
||||
* *
|
||||
* FreeCAD is distributed in the hope that it will be useful, but *
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
|
||||
* Lesser General Public License for more details. *
|
||||
* *
|
||||
* You should have received a copy of the GNU Lesser General Public *
|
||||
* License along with FreeCAD. If not, see *
|
||||
* <https://www.gnu.org/licenses/>. *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
#include <vector>
|
||||
|
||||
#include <App/Document.h>
|
||||
#include <App/DocumentObject.h>
|
||||
#include <Gui/Application.h>
|
||||
#include <Gui/CommandT.h>
|
||||
#include <Gui/Document.h>
|
||||
#include <Gui/MainWindow.h>
|
||||
#include <Gui/Selection/Selection.h>
|
||||
#include <Gui/Tree.h>
|
||||
|
||||
#include <Mod/Assembly/App/AssemblyLink.h>
|
||||
#include <Mod/Assembly/App/AssemblyObject.h>
|
||||
#include <Mod/Assembly/App/AssemblyUtils.h>
|
||||
|
||||
#include "Commands.h"
|
||||
#include "ViewProviderAssembly.h"
|
||||
|
||||
|
||||
using namespace Assembly;
|
||||
using namespace AssemblyGui;
|
||||
|
||||
// Helper function to get the active AssemblyObject in edit mode
|
||||
static AssemblyObject* getActiveAssembly()
|
||||
{
|
||||
Gui::Document* doc = Gui::Application::Instance->activeDocument();
|
||||
if (!doc) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
auto* vp = doc->getInEdit();
|
||||
if (auto* assemblyVP = freecad_cast<ViewProviderAssembly*>(vp)) {
|
||||
return assemblyVP->getObject<AssemblyObject>();
|
||||
}
|
||||
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
void selectObjects(const std::vector<App::DocumentObject*>& objectsToSelect)
|
||||
{
|
||||
if (objectsToSelect.empty()) {
|
||||
return;
|
||||
}
|
||||
|
||||
Gui::Selection().clearSelection();
|
||||
for (App::DocumentObject* obj : objectsToSelect) {
|
||||
Gui::Selection().addSelection(obj->getDocument()->getName(), obj->getNameInDocument());
|
||||
}
|
||||
}
|
||||
|
||||
void selectObjectsByName(AssemblyObject* assembly, const std::vector<std::string>& names)
|
||||
{
|
||||
if (!assembly || names.empty()) {
|
||||
return;
|
||||
}
|
||||
|
||||
std::vector<App::DocumentObject*> objectsToSelect;
|
||||
App::Document* doc = assembly->getDocument();
|
||||
|
||||
for (const auto& name : names) {
|
||||
if (auto* obj = doc->getObject(name.c_str())) {
|
||||
objectsToSelect.push_back(obj);
|
||||
}
|
||||
}
|
||||
|
||||
selectObjects(objectsToSelect);
|
||||
}
|
||||
|
||||
// ================================================================================
|
||||
// Go to Linked Assembly
|
||||
// ================================================================================
|
||||
|
||||
DEF_STD_CMD_A(CmdAssemblyLinkSelectLinked)
|
||||
|
||||
CmdAssemblyLinkSelectLinked::CmdAssemblyLinkSelectLinked()
|
||||
: Command("Assembly_LinkSelectLinked")
|
||||
{
|
||||
sGroup = QT_TR_NOOP("Assembly");
|
||||
sMenuText = QT_TR_NOOP("Go to linked Assembly");
|
||||
sToolTipText = QT_TR_NOOP("Selects the linked assembly and switches to its original document");
|
||||
sWhatsThis = "Assembly_LinkSelectLinked";
|
||||
sStatusTip = sToolTipText;
|
||||
eType = AlterSelection;
|
||||
sPixmap = "LinkSelect";
|
||||
sAccel = "S, G";
|
||||
}
|
||||
|
||||
void CmdAssemblyLinkSelectLinked::activated(int iMsg)
|
||||
{
|
||||
Q_UNUSED(iMsg);
|
||||
|
||||
std::vector<Gui::SelectionObject> selection = Gui::Selection().getSelectionEx();
|
||||
if (selection.size() != 1) {
|
||||
return;
|
||||
}
|
||||
|
||||
auto* asmLink = dynamic_cast<Assembly::AssemblyLink*>(selection[0].getObject());
|
||||
|
||||
if (!asmLink) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Get the linked object (usually an AssemblyObject in another doc)
|
||||
App::DocumentObject* linkedObj = asmLink->getLinkedAssembly();
|
||||
if (!linkedObj) {
|
||||
return;
|
||||
}
|
||||
|
||||
Gui::Selection().clearSelection();
|
||||
Gui::Selection().addSelection(linkedObj->getDocument()->getName(), linkedObj->getNameInDocument());
|
||||
|
||||
// Switch view/tab
|
||||
Gui::Document* guiDoc = Gui::Application::Instance->getDocument(linkedObj->getDocument());
|
||||
if (guiDoc) {
|
||||
// Try to activate the view containing the object
|
||||
Gui::ViewProvider* vp = guiDoc->getViewProvider(linkedObj);
|
||||
if (auto vpDoc = dynamic_cast<Gui::ViewProviderDocumentObject*>(vp)) {
|
||||
guiDoc->setActiveView(vpDoc);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
bool CmdAssemblyLinkSelectLinked::isActive()
|
||||
{
|
||||
std::vector<Gui::SelectionObject> selection = Gui::Selection().getSelectionEx();
|
||||
return (
|
||||
selection.size() == 1 && selection[0].getObject()
|
||||
&& selection[0].getObject()->isDerivedFrom(Assembly::AssemblyLink::getClassTypeId())
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
// ================================================================================
|
||||
// Select Conflicting Constraints
|
||||
// ================================================================================
|
||||
|
||||
DEF_STD_CMD_A(CmdAssemblySelectConflictingConstraints)
|
||||
|
||||
CmdAssemblySelectConflictingConstraints::CmdAssemblySelectConflictingConstraints()
|
||||
: Command("Assembly_SelectConflictingConstraints")
|
||||
{
|
||||
sGroup = QT_TR_NOOP("Assembly");
|
||||
sMenuText = QT_TR_NOOP("Select conflicting constraints");
|
||||
sToolTipText = QT_TR_NOOP("Selects conflicting joints in the active assembly");
|
||||
sWhatsThis = "Assembly_SelectConflictingConstraints";
|
||||
sStatusTip = sToolTipText;
|
||||
eType = ForEdit;
|
||||
}
|
||||
|
||||
void CmdAssemblySelectConflictingConstraints::activated(int iMsg)
|
||||
{
|
||||
Q_UNUSED(iMsg);
|
||||
AssemblyObject* assembly = getActiveAssembly();
|
||||
if (!assembly) {
|
||||
return;
|
||||
}
|
||||
|
||||
// NOTE: The solver currently reports conflicting constraints as redundant.
|
||||
// This uses the redundant list until the solver provides a separate conflicting list.
|
||||
selectObjectsByName(assembly, assembly->getLastRedundant());
|
||||
}
|
||||
|
||||
bool CmdAssemblySelectConflictingConstraints::isActive()
|
||||
{
|
||||
return getActiveAssembly() != nullptr;
|
||||
}
|
||||
|
||||
// ================================================================================
|
||||
// Select Redundant Constraints
|
||||
// ================================================================================
|
||||
|
||||
DEF_STD_CMD_A(CmdAssemblySelectRedundantConstraints)
|
||||
|
||||
CmdAssemblySelectRedundantConstraints::CmdAssemblySelectRedundantConstraints()
|
||||
: Command("Assembly_SelectRedundantConstraints")
|
||||
{
|
||||
sGroup = QT_TR_NOOP("Assembly");
|
||||
sMenuText = QT_TR_NOOP("Select redundant constraints");
|
||||
sToolTipText = QT_TR_NOOP("Selects redundant joints in the active assembly");
|
||||
sWhatsThis = "Assembly_SelectRedundantConstraints";
|
||||
sStatusTip = sToolTipText;
|
||||
eType = ForEdit;
|
||||
}
|
||||
|
||||
void CmdAssemblySelectRedundantConstraints::activated(int iMsg)
|
||||
{
|
||||
Q_UNUSED(iMsg);
|
||||
AssemblyObject* assembly = getActiveAssembly();
|
||||
if (!assembly) {
|
||||
return;
|
||||
}
|
||||
|
||||
selectObjectsByName(assembly, assembly->getLastRedundant());
|
||||
}
|
||||
|
||||
bool CmdAssemblySelectRedundantConstraints::isActive()
|
||||
{
|
||||
return getActiveAssembly() != nullptr;
|
||||
}
|
||||
|
||||
// ================================================================================
|
||||
// Select Malformed Constraints
|
||||
// ================================================================================
|
||||
|
||||
DEF_STD_CMD_A(CmdAssemblySelectMalformedConstraints)
|
||||
|
||||
CmdAssemblySelectMalformedConstraints::CmdAssemblySelectMalformedConstraints()
|
||||
: Command("Assembly_SelectMalformedConstraints")
|
||||
{
|
||||
sGroup = QT_TR_NOOP("Assembly");
|
||||
sMenuText = QT_TR_NOOP("Select malformed constraints");
|
||||
sToolTipText = QT_TR_NOOP("Selects malformed joints in the active assembly");
|
||||
sWhatsThis = "Assembly_SelectMalformedConstraints";
|
||||
sStatusTip = sToolTipText;
|
||||
eType = ForEdit;
|
||||
}
|
||||
|
||||
void CmdAssemblySelectMalformedConstraints::activated(int iMsg)
|
||||
{
|
||||
Q_UNUSED(iMsg);
|
||||
AssemblyObject* assembly = getActiveAssembly();
|
||||
if (!assembly) {
|
||||
return;
|
||||
}
|
||||
|
||||
selectObjectsByName(assembly, assembly->getLastMalformed());
|
||||
}
|
||||
|
||||
bool CmdAssemblySelectMalformedConstraints::isActive()
|
||||
{
|
||||
return getActiveAssembly() != nullptr;
|
||||
}
|
||||
|
||||
|
||||
// ================================================================================
|
||||
// Select Components with Degrees of Freedom
|
||||
// ================================================================================
|
||||
|
||||
DEF_STD_CMD_A(CmdAssemblySelectComponentsWithDoFs)
|
||||
|
||||
CmdAssemblySelectComponentsWithDoFs::CmdAssemblySelectComponentsWithDoFs()
|
||||
: Command("Assembly_SelectComponentsWithDoFs")
|
||||
{
|
||||
sGroup = QT_TR_NOOP("Assembly");
|
||||
sMenuText = QT_TR_NOOP("Select components with DoFs");
|
||||
sToolTipText = QT_TR_NOOP("Selects unconstrained components in the active assembly");
|
||||
sWhatsThis = "Assembly_SelectComponentsWithDoFs";
|
||||
sStatusTip = sToolTipText;
|
||||
eType = ForEdit;
|
||||
}
|
||||
|
||||
void CmdAssemblySelectComponentsWithDoFs::activated(int iMsg)
|
||||
{
|
||||
Q_UNUSED(iMsg);
|
||||
AssemblyObject* assembly = getActiveAssembly();
|
||||
if (!assembly) {
|
||||
return;
|
||||
}
|
||||
|
||||
std::vector<App::DocumentObject*> objectsToSelect;
|
||||
std::vector<App::DocumentObject*> allParts = getAssemblyComponents(assembly);
|
||||
|
||||
// Iterate through all collected parts and check their connectivity
|
||||
for (App::DocumentObject* part : allParts) {
|
||||
if (!assembly->isPartConnected(part)) {
|
||||
objectsToSelect.push_back(part);
|
||||
}
|
||||
}
|
||||
|
||||
selectObjects(objectsToSelect);
|
||||
}
|
||||
|
||||
bool CmdAssemblySelectComponentsWithDoFs::isActive()
|
||||
{
|
||||
return getActiveAssembly() != nullptr;
|
||||
}
|
||||
|
||||
// ================================================================================
|
||||
// Select Joints of Component
|
||||
// ================================================================================
|
||||
|
||||
DEF_STD_CMD_A(CmdAssemblySelectJointsOfComponent)
|
||||
|
||||
CmdAssemblySelectJointsOfComponent::CmdAssemblySelectJointsOfComponent()
|
||||
: Command("Assembly_SelectJointsOfComponent")
|
||||
{
|
||||
sGroup = QT_TR_NOOP("Assembly");
|
||||
sMenuText = QT_TR_NOOP("Select component joints");
|
||||
sToolTipText = QT_TR_NOOP("Selects all joints referencing the selected component");
|
||||
sWhatsThis = "Assembly_SelectJointsOfComponent";
|
||||
sStatusTip = sToolTipText;
|
||||
sPixmap = "Assembly_SelectJointsOfComponent";
|
||||
eType = ForEdit;
|
||||
}
|
||||
|
||||
void CmdAssemblySelectJointsOfComponent::activated(int iMsg)
|
||||
{
|
||||
Q_UNUSED(iMsg);
|
||||
AssemblyObject* assembly = getActiveAssembly();
|
||||
if (!assembly) {
|
||||
return;
|
||||
}
|
||||
|
||||
auto selection = Gui::Selection().getSelectionEx(
|
||||
"",
|
||||
App::DocumentObject::getClassTypeId(),
|
||||
Gui::ResolveMode::NoResolve
|
||||
);
|
||||
if (selection.empty()) {
|
||||
return;
|
||||
}
|
||||
|
||||
std::set<App::DocumentObject*> components;
|
||||
App::Document* doc = assembly->getDocument();
|
||||
|
||||
for (auto& sel : selection) {
|
||||
const std::vector<std::string> subs = sel.getSubNames();
|
||||
std::string sub = subs.empty() ? "" : subs.front();
|
||||
|
||||
if (App::DocumentObject* comp = getMovingPartFromSel(assembly, sel.getObject(), sub)) {
|
||||
components.insert(comp);
|
||||
}
|
||||
}
|
||||
|
||||
if (components.empty()) {
|
||||
return;
|
||||
}
|
||||
|
||||
std::vector<App::DocumentObject*> jointsToSelect;
|
||||
for (auto* comp : components) {
|
||||
std::vector<App::DocumentObject*> partJoints = assembly->getJointsOfPart(comp);
|
||||
jointsToSelect.insert(jointsToSelect.end(), partJoints.begin(), partJoints.end());
|
||||
}
|
||||
|
||||
selectObjects(jointsToSelect);
|
||||
}
|
||||
|
||||
bool CmdAssemblySelectJointsOfComponent::isActive()
|
||||
{
|
||||
return getActiveAssembly() != nullptr && !Gui::Selection().getSelection().empty();
|
||||
}
|
||||
|
||||
|
||||
// ================================================================================
|
||||
// Command Creation
|
||||
// ================================================================================
|
||||
|
||||
void AssemblyGui::CreateAssemblyCommands()
|
||||
{
|
||||
Gui::CommandManager& rcCmdMgr = Gui::Application::Instance->commandManager();
|
||||
|
||||
rcCmdMgr.addCommand(new CmdAssemblyLinkSelectLinked());
|
||||
rcCmdMgr.addCommand(new CmdAssemblySelectConflictingConstraints());
|
||||
rcCmdMgr.addCommand(new CmdAssemblySelectRedundantConstraints());
|
||||
rcCmdMgr.addCommand(new CmdAssemblySelectMalformedConstraints());
|
||||
rcCmdMgr.addCommand(new CmdAssemblySelectComponentsWithDoFs());
|
||||
rcCmdMgr.addCommand(new CmdAssemblySelectJointsOfComponent());
|
||||
}
|
||||
33
src/Mod/Assembly/Gui/Commands.h
Normal file
@@ -0,0 +1,33 @@
|
||||
// SPDX - License - Identifier: LGPL - 2.1 - or -later
|
||||
/****************************************************************************
|
||||
* *
|
||||
* Copyright (c) 2025 Pierre-Louis Boyer *
|
||||
* *
|
||||
* This file is part of FreeCAD. *
|
||||
* *
|
||||
* FreeCAD is free software: you can redistribute it and/or modify it *
|
||||
* under the terms of the GNU Lesser General Public License as *
|
||||
* published by the Free Software Foundation, either version 2.1 of the *
|
||||
* License, or (at your option) any later version. *
|
||||
* *
|
||||
* FreeCAD is distributed in the hope that it will be useful, but *
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
|
||||
* Lesser General Public License for more details. *
|
||||
* *
|
||||
* You should have received a copy of the GNU Lesser General Public *
|
||||
* License along with FreeCAD. If not, see *
|
||||
* <https://www.gnu.org/licenses/>. *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <Mod/Assembly/App/AssemblyObject.h>
|
||||
|
||||
namespace AssemblyGui
|
||||
{
|
||||
|
||||
void CreateAssemblyCommands();
|
||||
|
||||
} // namespace AssemblyGui
|
||||
47
src/Mod/Assembly/Gui/PreCompiled.h
Normal file
@@ -0,0 +1,47 @@
|
||||
// SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
/****************************************************************************
|
||||
* *
|
||||
* Copyright (c) 2023 Ondsel <development@ondsel.com> *
|
||||
* *
|
||||
* This file is part of FreeCAD. *
|
||||
* *
|
||||
* FreeCAD is free software: you can redistribute it and/or modify it *
|
||||
* under the terms of the GNU Lesser General Public License as *
|
||||
* published by the Free Software Foundation, either version 2.1 of the *
|
||||
* License, or (at your option) any later version. *
|
||||
* *
|
||||
* FreeCAD is distributed in the hope that it will be useful, but *
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
|
||||
* Lesser General Public License for more details. *
|
||||
* *
|
||||
* You should have received a copy of the GNU Lesser General Public *
|
||||
* License along with FreeCAD. If not, see *
|
||||
* <https://www.gnu.org/licenses/>. *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <FCConfig.h>
|
||||
|
||||
|
||||
// STL
|
||||
#include <algorithm>
|
||||
#include <cmath>
|
||||
#include <limits>
|
||||
#include <memory>
|
||||
|
||||
#include <vector>
|
||||
#include <sstream>
|
||||
#include <iostream>
|
||||
|
||||
#include <boost/core/ignore_unused.hpp>
|
||||
|
||||
// Qt
|
||||
#include <Gui/QtAll.h>
|
||||
|
||||
#include <QWidgetAction>
|
||||
|
||||
// all of Inventor
|
||||
#include <Gui/InventorAll.h>
|
||||
42
src/Mod/Assembly/Gui/Resources/Assembly.qrc
Normal file
@@ -0,0 +1,42 @@
|
||||
<RCC>
|
||||
<qresource prefix="/">
|
||||
<file>icons/Assembly_ActivateAssembly.svg</file>
|
||||
<file>icons/Assembly_AssemblyLink.svg</file>
|
||||
<file>icons/Assembly_AssemblyLinkRigid.svg</file>
|
||||
<file>icons/Assembly_InsertLink.svg</file>
|
||||
<file>icons/preferences-assembly.svg</file>
|
||||
<file>icons/Assembly_ToggleGrounded.svg</file>
|
||||
<file>icons/Assembly_BillOfMaterials.svg</file>
|
||||
<file>icons/Assembly_BillOfMaterialsGroup.svg</file>
|
||||
<file>icons/Assembly_CreateJointAngle.svg</file>
|
||||
<file>icons/Assembly_CreateJointBall.svg</file>
|
||||
<file>icons/Assembly_CreateJointCylindrical.svg</file>
|
||||
<file>icons/Assembly_CreateJointFixed.svg</file>
|
||||
<file>icons/Assembly_CreateJointParallel.svg</file>
|
||||
<file>icons/Assembly_CreateJointPerpendicular.svg</file>
|
||||
<file>icons/Assembly_CreateJointPlanar.svg</file>
|
||||
<file>icons/Assembly_CreateJointRevolute.svg</file>
|
||||
<file>icons/Assembly_CreateJointSlider.svg</file>
|
||||
<file>icons/Assembly_CreateJointTangent.svg</file>
|
||||
<file>icons/Assembly_CreateJointGears.svg</file>
|
||||
<file>icons/Assembly_CreateJointPulleys.svg</file>
|
||||
<file>icons/Assembly_CreateJointRackPinion.svg</file>
|
||||
<file>icons/Assembly_CreateJointScrew.svg</file>
|
||||
<file>icons/Assembly_ExportASMT.svg</file>
|
||||
<file>icons/Assembly_SelectJointsOfComponent.svg</file>
|
||||
<file>icons/Assembly_SolveAssembly.svg</file>
|
||||
<file>icons/Assembly_JointGroup.svg</file>
|
||||
<file>icons/Assembly_ExplodedView.svg</file>
|
||||
<file>icons/Assembly_ExplodedViewGroup.svg</file>
|
||||
<file>icons/Assembly_CreateSimulation.svg</file>
|
||||
<file>icons/Assembly_SimulationGroup.svg</file>
|
||||
<file>panels/TaskAssemblyCreateBom.ui</file>
|
||||
<file>panels/TaskAssemblyCreateJoint.ui</file>
|
||||
<file>panels/TaskAssemblyInsertLink.ui</file>
|
||||
<file>panels/TaskAssemblyCreateView.ui</file>
|
||||
<file>panels/TaskAssemblyCreateSimulation.ui</file>
|
||||
<file>preferences/Assembly.ui</file>
|
||||
<file>icons/Assembly_CreateJointDistance.svg</file>
|
||||
<file>icons/AssemblyWorkbench.svg</file>
|
||||
</qresource>
|
||||
</RCC>
|
||||
343
src/Mod/Assembly/Gui/Resources/icons/AssemblyWorkbench.svg
Normal file
@@ -0,0 +1,343 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="64"
|
||||
height="64"
|
||||
version="1.1"
|
||||
viewBox="0 0 64 64"
|
||||
id="svg96"
|
||||
sodipodi:docname="Geofeaturegroup.svg"
|
||||
inkscape:version="0.92.5 (2060ec1f9f, 2020-04-08)">
|
||||
<sodipodi:namedview
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1"
|
||||
objecttolerance="10"
|
||||
gridtolerance="10"
|
||||
guidetolerance="10"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:window-width="1255"
|
||||
inkscape:window-height="930"
|
||||
id="namedview98"
|
||||
showgrid="false"
|
||||
inkscape:zoom="3.6875"
|
||||
inkscape:cx="32"
|
||||
inkscape:cy="32"
|
||||
inkscape:window-x="67"
|
||||
inkscape:window-y="23"
|
||||
inkscape:window-maximized="0"
|
||||
inkscape:current-layer="svg96" />
|
||||
<defs
|
||||
id="defs26">
|
||||
<linearGradient
|
||||
id="linearGradient4383">
|
||||
<stop
|
||||
stop-color="#3465a4"
|
||||
offset="0"
|
||||
id="stop2" />
|
||||
<stop
|
||||
stop-color="#729fcf"
|
||||
offset="1"
|
||||
id="stop4" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient4389"
|
||||
x1="20.244"
|
||||
x2="17.244"
|
||||
y1="37.588"
|
||||
y2="27.588"
|
||||
gradientTransform="translate(-1.2435,-2.5881)"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
xlink:href="#linearGradient3774" />
|
||||
<linearGradient
|
||||
id="linearGradient4399"
|
||||
x1="48.714"
|
||||
x2="44.714"
|
||||
y1="45.586"
|
||||
y2="34.586"
|
||||
gradientTransform="translate(1.2856,1.4142)"
|
||||
gradientUnits="userSpaceOnUse">
|
||||
<stop
|
||||
stop-color="#c4a000"
|
||||
offset="0"
|
||||
id="stop8" />
|
||||
<stop
|
||||
stop-color="#edd400"
|
||||
offset="1"
|
||||
id="stop10" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient69042"
|
||||
x1="48.714"
|
||||
x2="44.714"
|
||||
y1="45.586"
|
||||
y2="34.586"
|
||||
gradientTransform="translate(-12.714,-17.586)"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
xlink:href="#linearGradient3774" />
|
||||
<linearGradient
|
||||
id="linearGradient69056"
|
||||
x1="27.244"
|
||||
x2="22.244"
|
||||
y1="54.588"
|
||||
y2="40.588"
|
||||
gradientTransform="translate(-1.2435,-2.5881)"
|
||||
gradientUnits="userSpaceOnUse">
|
||||
<stop
|
||||
stop-color="#c4a000"
|
||||
offset="0"
|
||||
id="stop14" />
|
||||
<stop
|
||||
stop-color="#fce94f"
|
||||
offset="1"
|
||||
id="stop16" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient69709"
|
||||
x1="20.244"
|
||||
x2="17.244"
|
||||
y1="37.588"
|
||||
y2="27.588"
|
||||
gradientTransform="matrix(1,-0.026667,0,1,81.696,-5.3735)"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
xlink:href="#linearGradient4383" />
|
||||
<linearGradient
|
||||
id="linearGradient69717"
|
||||
x1="50.714"
|
||||
x2="48.714"
|
||||
y1="25.586"
|
||||
y2="20.586"
|
||||
gradientTransform="translate(61.2256,1.0356)"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
xlink:href="#linearGradient4383" />
|
||||
<linearGradient
|
||||
id="linearGradient3774">
|
||||
<stop
|
||||
stop-color="#4e9a06"
|
||||
offset="0"
|
||||
id="stop21" />
|
||||
<stop
|
||||
stop-color="#8ae234"
|
||||
offset="1"
|
||||
id="stop23" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient69056"
|
||||
id="linearGradient920"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="translate(-41.2435,-2.5881)"
|
||||
x1="20.243999"
|
||||
y1="37.588001"
|
||||
x2="17.243999"
|
||||
y2="27.587999" />
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient4399"
|
||||
id="linearGradient922"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="translate(-52.714,-17.586)"
|
||||
x1="48.714001"
|
||||
y1="45.585999"
|
||||
x2="44.714001"
|
||||
y2="34.585999" />
|
||||
</defs>
|
||||
<metadata
|
||||
id="metadata28">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title />
|
||||
<dc:title>Path-Stock</dc:title>
|
||||
<dc:date>2015-07-04</dc:date>
|
||||
<dc:relation>https://www.freecad.org/wiki/index.php?title=Artwork</dc:relation>
|
||||
<dc:publisher>
|
||||
<cc:Agent>
|
||||
<dc:title>FreeCAD</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:publisher>
|
||||
<dc:identifier>FreeCAD/src/Mod/Path/Gui/Resources/icons/Path-Stock.svg</dc:identifier>
|
||||
<dc:rights>
|
||||
<cc:Agent>
|
||||
<dc:title>FreeCAD LGPL2+</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:rights>
|
||||
<cc:license>https://www.gnu.org/copyleft/lesser.html</cc:license>
|
||||
<dc:contributor>
|
||||
<cc:Agent>
|
||||
<dc:title>[agryson] Alexander Gryson</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:contributor>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
id="g40"
|
||||
style="stroke-width:2">
|
||||
<path
|
||||
d="M 9,49 V 35 l 28,10 v 14 z"
|
||||
id="path30"
|
||||
style="fill:url(#linearGradient69056);stroke:#302b00;stroke-linejoin:round"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
d="M 37,59 V 45 L 55,28 v 13 z"
|
||||
id="path32"
|
||||
style="fill:url(#linearGradient4399);stroke:#302b00;stroke-linejoin:round"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
d="M 11.008,47.606 11,37.9997 l 24,8 0.0081,10.185 z"
|
||||
id="path34"
|
||||
inkscape:connector-curvature="0"
|
||||
style="fill:none;stroke:#fce94f" />
|
||||
<path
|
||||
d="M 39.005,54.168 39,45.9998 l 14,-13 0.0021,7.1768 z"
|
||||
id="path36"
|
||||
inkscape:connector-curvature="0"
|
||||
style="fill:none;stroke:#edd400" />
|
||||
<path
|
||||
d="M 23,40 42,23 55,28 37,45 Z"
|
||||
id="path38"
|
||||
inkscape:connector-curvature="0"
|
||||
style="fill:#fce94f;stroke:#302b00;stroke-linejoin:round" />
|
||||
</g>
|
||||
<g
|
||||
id="g943"
|
||||
transform="translate(-60)">
|
||||
<path
|
||||
d="m 91,33.5 -0.02739,-14.214 12.967,4.3352 v 14.5 z"
|
||||
id="path54"
|
||||
style="fill:url(#linearGradient69709);stroke:#0b1521;stroke-width:2;stroke-linejoin:round"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
d="m 92.927,32.029 0.04731,-10.141 8.9272,3.29 0.0781,10.042 z"
|
||||
id="path56"
|
||||
inkscape:connector-curvature="0"
|
||||
style="fill:none;stroke:#729fcf;stroke-width:2" />
|
||||
<path
|
||||
d="m 103.94,38.121 v -14.5 l 11,-9 L 115,28 Z"
|
||||
id="path58"
|
||||
style="fill:url(#linearGradient69717);stroke:#0b1521;stroke-width:2;stroke-linejoin:round"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
d="m 105.94,33.621 v -9 l 7,-6 -0.0122,8.5816 z"
|
||||
id="path60"
|
||||
inkscape:connector-curvature="0"
|
||||
style="fill:none;stroke:#729fcf;stroke-width:2" />
|
||||
<path
|
||||
d="M 90.973,19.286 102,9.9998 l 12.94,4.6214 -11,9 z"
|
||||
id="path62"
|
||||
inkscape:connector-curvature="0"
|
||||
style="fill:#729fcf;stroke:#0b1521;stroke-width:2;stroke-linejoin:round" />
|
||||
</g>
|
||||
<g
|
||||
display="none"
|
||||
fill="#ef2929"
|
||||
fill-rule="evenodd"
|
||||
opacity=".588"
|
||||
stroke="#ef2929"
|
||||
stroke-width="1px"
|
||||
id="g94">
|
||||
<path
|
||||
d="m9 35v14"
|
||||
id="path66" />
|
||||
<path
|
||||
d="m9 35 28 10"
|
||||
id="path68" />
|
||||
<path
|
||||
d="m55 28v13"
|
||||
id="path70" />
|
||||
<path
|
||||
d="m37 45 18-17"
|
||||
id="path72" />
|
||||
<path
|
||||
d="m23 40v-14"
|
||||
id="path74" />
|
||||
<path
|
||||
d="m29 5 13 5"
|
||||
id="path76" />
|
||||
<path
|
||||
d="m23 26 19-16"
|
||||
id="path78" />
|
||||
<path
|
||||
d="m19 13 10-8"
|
||||
id="path80" />
|
||||
<path
|
||||
d="m55 15-9 8"
|
||||
id="path82" />
|
||||
<path
|
||||
d="m42 23v-13"
|
||||
id="path84" />
|
||||
<path
|
||||
d="m42 23 14 5"
|
||||
id="path86" />
|
||||
<path
|
||||
d="m23 40 19-17"
|
||||
id="path88" />
|
||||
<path
|
||||
d="m23 10h19"
|
||||
id="path90" />
|
||||
<path
|
||||
d="m34 17v13"
|
||||
id="path92" />
|
||||
</g>
|
||||
<g
|
||||
id="g963"
|
||||
transform="translate(40)">
|
||||
<g
|
||||
style="stroke:#172a04;stroke-width:2;stroke-linejoin:round"
|
||||
transform="translate(-40)"
|
||||
id="g48">
|
||||
<path
|
||||
inkscape:connector-curvature="0"
|
||||
style="fill:url(#linearGradient4389)"
|
||||
id="path42"
|
||||
d="M 9,35 V 21 l 14,5 v 14 z" />
|
||||
<path
|
||||
style="fill:#8ae234"
|
||||
inkscape:connector-curvature="0"
|
||||
id="path44"
|
||||
d="M 9,21 28.585,5.209 42,10.0001 l -19,16 z" />
|
||||
<path
|
||||
inkscape:connector-curvature="0"
|
||||
style="fill:url(#linearGradient69042)"
|
||||
id="path46"
|
||||
d="M 23,40 V 26 l 7.9726,-6.7138 0.02739,13.714 z" />
|
||||
</g>
|
||||
<path
|
||||
inkscape:connector-curvature="0"
|
||||
style="fill:url(#linearGradient920);fill-opacity:1;stroke:#172a04;stroke-width:2;stroke-linejoin:round"
|
||||
id="path912"
|
||||
d="M -31,35 V 21 l 14,5 v 14 z" />
|
||||
<path
|
||||
style="fill:#fce94f;fill-opacity:1;stroke:#172a04;stroke-width:2;stroke-linejoin:round;stroke-opacity:1"
|
||||
inkscape:connector-curvature="0"
|
||||
id="path914"
|
||||
d="M -31,21 -11.415,5.209 2,10.0001 l -19,16 z" />
|
||||
<path
|
||||
inkscape:connector-curvature="0"
|
||||
style="fill:url(#linearGradient922);fill-opacity:1;stroke:#172a04;stroke-width:2;stroke-linejoin:round"
|
||||
id="path916"
|
||||
d="M -17,40 V 26 l 7.9726,-6.7138 0.02739,13.714 z" />
|
||||
<path
|
||||
d="m -15,36 v -9 l 4,-3.5 v 9 z"
|
||||
id="path50"
|
||||
inkscape:connector-curvature="0"
|
||||
style="fill:none;stroke:#fce94f;stroke-width:2;stroke-opacity:1" />
|
||||
<path
|
||||
d="m -29.049,33.746 0.08695,-9.9796 9.9568,3.5229 -0.02105,9.9613 z"
|
||||
id="path52"
|
||||
inkscape:connector-curvature="0"
|
||||
style="fill:none;stroke:#fce94f;stroke-width:2;stroke-opacity:1" />
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 9.8 KiB |
@@ -0,0 +1,424 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
width="64"
|
||||
height="64"
|
||||
id="svg3559"
|
||||
version="1.1"
|
||||
inkscape:version="1.1-beta1 (77e7b44db3, 2021-03-28)"
|
||||
sodipodi:docname="AssemblyWorkbench.svg"
|
||||
viewBox="0 0 64 64"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/">
|
||||
<defs
|
||||
id="defs3561">
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
id="linearGradient1083">
|
||||
<stop
|
||||
style="stop-color:#a50000;stop-opacity:1"
|
||||
offset="0"
|
||||
id="stop1079" />
|
||||
<stop
|
||||
style="stop-color:#ef2929;stop-opacity:1"
|
||||
offset="1"
|
||||
id="stop1081" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient4383-1"
|
||||
inkscape:collect="always">
|
||||
<stop
|
||||
id="stop69725"
|
||||
offset="0"
|
||||
style="stop-color:#c4a000;stop-opacity:1" />
|
||||
<stop
|
||||
id="stop69727"
|
||||
offset="1"
|
||||
style="stop-color:#fce94f;stop-opacity:1" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
id="linearGradient4383">
|
||||
<stop
|
||||
style="stop-color:#3465a4;stop-opacity:1"
|
||||
offset="0"
|
||||
id="stop4385" />
|
||||
<stop
|
||||
style="stop-color:#729fcf;stop-opacity:1"
|
||||
offset="1"
|
||||
id="stop4387" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient4383-1"
|
||||
id="linearGradient4389"
|
||||
x1="20.243532"
|
||||
y1="37.588112"
|
||||
x2="17.243532"
|
||||
y2="27.588112"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="translate(-1.243533,-2.588112)" />
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient4383"
|
||||
id="linearGradient4399"
|
||||
x1="48.714352"
|
||||
y1="45.585785"
|
||||
x2="44.714352"
|
||||
y2="34.585785"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="translate(1.2856487,1.4142136)" />
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient4383-3"
|
||||
id="linearGradient4389-0"
|
||||
x1="27.243532"
|
||||
y1="54.588112"
|
||||
x2="21.243532"
|
||||
y2="30.588112"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="translate(-1.243533,-2.588112)" />
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
id="linearGradient4383-3">
|
||||
<stop
|
||||
style="stop-color:#3465a4;stop-opacity:1"
|
||||
offset="0"
|
||||
id="stop4385-1" />
|
||||
<stop
|
||||
style="stop-color:#729fcf;stop-opacity:1"
|
||||
offset="1"
|
||||
id="stop4387-2" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient4393-9"
|
||||
id="linearGradient4399-7"
|
||||
x1="48.714352"
|
||||
y1="45.585785"
|
||||
x2="40.714352"
|
||||
y2="24.585787"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="translate(1.2856487,1.4142136)" />
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
id="linearGradient4393-9">
|
||||
<stop
|
||||
style="stop-color:#204a87;stop-opacity:1"
|
||||
offset="0"
|
||||
id="stop4395-8" />
|
||||
<stop
|
||||
style="stop-color:#3465a4;stop-opacity:1"
|
||||
offset="1"
|
||||
id="stop4397-1" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient73208"
|
||||
id="linearGradient69042"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="translate(-12.714351,-17.585786)"
|
||||
x1="48.714352"
|
||||
y1="45.585785"
|
||||
x2="44.714352"
|
||||
y2="34.585785" />
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient4383"
|
||||
id="linearGradient69056"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="translate(-1.243533,-2.588112)"
|
||||
x1="27.243532"
|
||||
y1="54.588112"
|
||||
x2="22.243532"
|
||||
y2="40.588112" />
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient1083"
|
||||
id="linearGradient69709"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="translate(21.756467,-5.588112)"
|
||||
x1="20.243532"
|
||||
y1="37.588112"
|
||||
x2="17.243532"
|
||||
y2="27.588112" />
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient1083"
|
||||
id="linearGradient69717"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="translate(1.2856487,1.4142136)"
|
||||
x1="50.714352"
|
||||
y1="25.585787"
|
||||
x2="48.714352"
|
||||
y2="20.585787" />
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
id="linearGradient73208">
|
||||
<stop
|
||||
style="stop-color:#c4a000;stop-opacity:1"
|
||||
offset="0"
|
||||
id="stop73210" />
|
||||
<stop
|
||||
style="stop-color:#edd400;stop-opacity:1"
|
||||
offset="1"
|
||||
id="stop73212" />
|
||||
</linearGradient>
|
||||
</defs>
|
||||
<sodipodi:namedview
|
||||
id="base"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:zoom="3.5355339"
|
||||
inkscape:cx="-6.2225397"
|
||||
inkscape:cy="75.519004"
|
||||
inkscape:current-layer="layer1"
|
||||
showgrid="true"
|
||||
inkscape:document-units="px"
|
||||
inkscape:grid-bbox="true"
|
||||
inkscape:window-width="1857"
|
||||
inkscape:window-height="1104"
|
||||
inkscape:window-x="486"
|
||||
inkscape:window-y="243"
|
||||
inkscape:window-maximized="0"
|
||||
inkscape:snap-global="true"
|
||||
objecttolerance="10.0"
|
||||
gridtolerance="10.0"
|
||||
guidetolerance="10.0"
|
||||
inkscape:pagecheckerboard="0">
|
||||
<inkscape:grid
|
||||
type="xygrid"
|
||||
id="grid3007"
|
||||
empspacing="4"
|
||||
visible="true"
|
||||
enabled="true"
|
||||
snapvisiblegridlinesonly="true"
|
||||
spacingx="0.5"
|
||||
spacingy="0.5" />
|
||||
</sodipodi:namedview>
|
||||
<metadata
|
||||
id="metadata3564">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title>Path-Stock</dc:title>
|
||||
<dc:date>2015-07-04</dc:date>
|
||||
<dc:relation>https://www.freecad.org/wiki/index.php?title=Artwork</dc:relation>
|
||||
<dc:publisher>
|
||||
<cc:Agent>
|
||||
<dc:title>FreeCAD</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:publisher>
|
||||
<dc:identifier>FreeCAD/src/Mod/Path/Gui/Resources/icons/Path-Stock.svg</dc:identifier>
|
||||
<dc:rights>
|
||||
<cc:Agent>
|
||||
<dc:title>FreeCAD LGPL2+</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:rights>
|
||||
<cc:license>https://www.gnu.org/copyleft/lesser.html</cc:license>
|
||||
<dc:contributor>
|
||||
<cc:Agent>
|
||||
<dc:title>[agryson] Alexander Gryson</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:contributor>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
id="layer1"
|
||||
inkscape:label="Layer 1"
|
||||
inkscape:groupmode="layer"
|
||||
style="display:inline">
|
||||
<path
|
||||
sodipodi:nodetypes="ccccc"
|
||||
inkscape:connector-curvature="0"
|
||||
id="path69052"
|
||||
d="m 9,35 0,-14 14,5 0,14 z"
|
||||
style="fill:url(#linearGradient4389);fill-opacity:1.0;fill-rule:nonzero;stroke:#0b1521;stroke-width:2;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none" />
|
||||
<path
|
||||
style="fill:url(#linearGradient69056);fill-opacity:1.0;fill-rule:nonzero;stroke:#0b1521;stroke-width:2;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none"
|
||||
d="M 9,49 9,35 37,45 37,59 Z"
|
||||
id="path4381"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="ccccc" />
|
||||
<path
|
||||
style="fill:url(#linearGradient4399);fill-opacity:1.0;fill-rule:nonzero;stroke:#0b1521;stroke-width:2;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none"
|
||||
d="M 37,59 37,45 55,28 55,41 Z"
|
||||
id="path4391"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="ccccc" />
|
||||
<path
|
||||
style="fill:#fce94f;fill-opacity:1;fill-rule:nonzero;stroke:#0b1521;stroke-width:2;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none"
|
||||
d="M 9,21 29,5 42,10 23,26 Z"
|
||||
id="path4403"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="ccccc" />
|
||||
<path
|
||||
style="fill:none;stroke:#729fcf;stroke-width:2;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="M 11.008035,47.60627 11,38 l 24,8 0.0081,10.184812 z"
|
||||
id="path4381-7"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="ccccc" />
|
||||
<path
|
||||
style="fill:none;stroke:#729fcf;stroke-width:2;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="M 39.005041,54.16825 39,46 53,33 l 0.0021,7.176847 z"
|
||||
id="path4391-0"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="ccccc" />
|
||||
<path
|
||||
sodipodi:nodetypes="ccccc"
|
||||
inkscape:connector-curvature="0"
|
||||
id="path69038"
|
||||
d="M 23,40 42,23 55,28 37,45 Z"
|
||||
style="fill:#729fcf;fill-opacity:1;fill-rule:nonzero;stroke:#0b1521;stroke-width:2;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none" />
|
||||
<path
|
||||
sodipodi:nodetypes="ccccc"
|
||||
inkscape:connector-curvature="0"
|
||||
id="path69040"
|
||||
d="m 23,40 0,-14 8,-7 0,14 z"
|
||||
style="fill:url(#linearGradient69042);fill-opacity:1.0;fill-rule:nonzero;stroke:#0b1521;stroke-width:2;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none" />
|
||||
<path
|
||||
sodipodi:nodetypes="ccccc"
|
||||
inkscape:connector-curvature="0"
|
||||
id="path69044"
|
||||
d="m 25,36 0,-9 4,-3.5 0,9 z"
|
||||
style="fill:none;stroke:#edd400;stroke-width:2;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
|
||||
<path
|
||||
sodipodi:nodetypes="ccccc"
|
||||
inkscape:connector-curvature="0"
|
||||
id="path69048"
|
||||
d="M 11.008,33.60627 11,24 l 10,3 0,10 z"
|
||||
style="fill:none;stroke:#fce94f;stroke-width:2;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
|
||||
<path
|
||||
style="fill:url(#linearGradient69709);fill-opacity:1.0;fill-rule:nonzero;stroke:#302b00;stroke-width:2;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none"
|
||||
d="m 31,33 0,-14 13,5 0,14.5 z"
|
||||
id="path69705"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="ccccc" />
|
||||
<path
|
||||
style="fill:none;stroke:#ef2929;stroke-width:2;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="m 33,32 0,-10 9,3 0,10.5 z"
|
||||
id="path69707"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="ccccc" />
|
||||
<path
|
||||
sodipodi:nodetypes="ccccc"
|
||||
inkscape:connector-curvature="0"
|
||||
id="path69715"
|
||||
d="M 44,38.5 44,24 55,15 55,28 Z"
|
||||
style="fill:url(#linearGradient69717);fill-opacity:1.0;fill-rule:nonzero;stroke:#302b00;stroke-width:2;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none" />
|
||||
<path
|
||||
sodipodi:nodetypes="ccccc"
|
||||
inkscape:connector-curvature="0"
|
||||
id="path69719"
|
||||
d="m 46,34 0,-9 7,-6 0,8 z"
|
||||
style="fill:none;stroke:#ef2929;stroke-width:2;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
|
||||
<path
|
||||
sodipodi:nodetypes="ccccc"
|
||||
inkscape:connector-curvature="0"
|
||||
id="path69721"
|
||||
d="m 31,19 11,-9 13,5 -11,9 z"
|
||||
style="fill:#ef2929;fill-opacity:1;fill-rule:nonzero;stroke:#302b00;stroke-width:2;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none" />
|
||||
</g>
|
||||
<g
|
||||
inkscape:groupmode="layer"
|
||||
id="layer2"
|
||||
inkscape:label="temporal"
|
||||
style="display:none;opacity:0.58800001"
|
||||
sodipodi:insensitive="true">
|
||||
<path
|
||||
inkscape:connector-curvature="0"
|
||||
id="path68967"
|
||||
d="M 9,35 9,49"
|
||||
style="fill:#ef2929;fill-rule:evenodd;stroke:#ef2929;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||
sodipodi:nodetypes="cc" />
|
||||
<path
|
||||
inkscape:connector-curvature="0"
|
||||
id="path68971"
|
||||
d="M 9,35 37,45"
|
||||
style="fill:#ef2929;fill-rule:evenodd;stroke:#ef2929;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
|
||||
<path
|
||||
sodipodi:nodetypes="cc"
|
||||
style="fill:#ef2929;fill-rule:evenodd;stroke:#ef2929;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||
d="m 55,28 0,13"
|
||||
id="path68973"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
style="fill:#ef2929;fill-rule:evenodd;stroke:#ef2929;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||
d="M 37,45 55,28"
|
||||
id="path68977"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="cc" />
|
||||
<path
|
||||
sodipodi:nodetypes="cc"
|
||||
inkscape:connector-curvature="0"
|
||||
id="path68983"
|
||||
d="M 23,40 23,26"
|
||||
style="fill:#ef2929;fill-rule:evenodd;stroke:#ef2929;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
|
||||
<path
|
||||
sodipodi:nodetypes="cc"
|
||||
inkscape:connector-curvature="0"
|
||||
id="path68985"
|
||||
d="m 29,5 13,5"
|
||||
style="fill:#ef2929;fill-rule:evenodd;stroke:#ef2929;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
|
||||
<path
|
||||
style="fill:#ef2929;fill-rule:evenodd;stroke:#ef2929;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||
d="M 23,26 42,10"
|
||||
id="path68989"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="cc" />
|
||||
<path
|
||||
style="fill:#ef2929;fill-rule:evenodd;stroke:#ef2929;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||
d="M 19,13 29,5"
|
||||
id="path68993"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="cc" />
|
||||
<path
|
||||
style="fill:#ef2929;fill-rule:evenodd;stroke:#ef2929;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||
d="m 55,15 -9,8"
|
||||
id="path68997"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="cc" />
|
||||
<path
|
||||
sodipodi:nodetypes="cc"
|
||||
inkscape:connector-curvature="0"
|
||||
id="path69030"
|
||||
d="M 42,23 42,10"
|
||||
style="fill:#ef2929;fill-rule:evenodd;stroke:#ef2929;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
|
||||
<path
|
||||
style="fill:#ef2929;fill-rule:evenodd;stroke:#ef2929;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||
d="m 42,23 14,5"
|
||||
id="path69034"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="cc" />
|
||||
<path
|
||||
sodipodi:nodetypes="cc"
|
||||
inkscape:connector-curvature="0"
|
||||
id="path69036"
|
||||
d="M 23,40 42,23"
|
||||
style="fill:#ef2929;fill-rule:evenodd;stroke:#ef2929;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
|
||||
<path
|
||||
sodipodi:nodetypes="cc"
|
||||
inkscape:connector-curvature="0"
|
||||
id="path69711"
|
||||
d="m 23,10 19,0"
|
||||
style="fill:#ef2929;fill-rule:evenodd;stroke:#ef2929;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
|
||||
<path
|
||||
style="fill:#ef2929;fill-rule:evenodd;stroke:#ef2929;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||
d="m 34,17 0,13"
|
||||
id="path69713"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="cc" />
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 15 KiB |
@@ -0,0 +1,388 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
width="64"
|
||||
height="64"
|
||||
version="1.1"
|
||||
viewBox="0 0 64 64"
|
||||
id="svg96"
|
||||
sodipodi:docname="Assembly_ActivateAssembly.svg"
|
||||
inkscape:version="1.4 (86a8ad7, 2024-10-11)"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/">
|
||||
<sodipodi:namedview
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1"
|
||||
objecttolerance="10"
|
||||
gridtolerance="10"
|
||||
guidetolerance="10"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:window-width="3840"
|
||||
inkscape:window-height="1571"
|
||||
id="namedview98"
|
||||
showgrid="false"
|
||||
inkscape:zoom="7.375"
|
||||
inkscape:cx="19.186441"
|
||||
inkscape:cy="33.152542"
|
||||
inkscape:window-x="-9"
|
||||
inkscape:window-y="-9"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="svg96"
|
||||
inkscape:showpageshadow="2"
|
||||
inkscape:pagecheckerboard="0"
|
||||
inkscape:deskcolor="#d1d1d1" />
|
||||
<defs
|
||||
id="defs26">
|
||||
<linearGradient
|
||||
id="linearGradient4383">
|
||||
<stop
|
||||
stop-color="#3465a4"
|
||||
offset="0"
|
||||
id="stop2" />
|
||||
<stop
|
||||
stop-color="#729fcf"
|
||||
offset="1"
|
||||
id="stop4" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient4389"
|
||||
x1="20.244"
|
||||
x2="17.244"
|
||||
y1="37.588"
|
||||
y2="27.588"
|
||||
gradientTransform="translate(-1.2435,-2.5881)"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
xlink:href="#linearGradient3774" />
|
||||
<linearGradient
|
||||
id="linearGradient4399"
|
||||
x1="48.714"
|
||||
x2="44.714"
|
||||
y1="45.586"
|
||||
y2="34.586"
|
||||
gradientTransform="translate(1.2856,1.4142)"
|
||||
gradientUnits="userSpaceOnUse">
|
||||
<stop
|
||||
stop-color="#c4a000"
|
||||
offset="0"
|
||||
id="stop8" />
|
||||
<stop
|
||||
stop-color="#edd400"
|
||||
offset="1"
|
||||
id="stop10" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient69042"
|
||||
x1="48.714"
|
||||
x2="44.714"
|
||||
y1="45.586"
|
||||
y2="34.586"
|
||||
gradientTransform="translate(-12.714,-17.586)"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
xlink:href="#linearGradient3774" />
|
||||
<linearGradient
|
||||
id="linearGradient69056"
|
||||
x1="27.244"
|
||||
x2="22.244"
|
||||
y1="54.588"
|
||||
y2="40.588"
|
||||
gradientTransform="translate(-1.2435,-2.5881)"
|
||||
gradientUnits="userSpaceOnUse">
|
||||
<stop
|
||||
stop-color="#c4a000"
|
||||
offset="0"
|
||||
id="stop14" />
|
||||
<stop
|
||||
stop-color="#fce94f"
|
||||
offset="1"
|
||||
id="stop16" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient69709"
|
||||
x1="20.244"
|
||||
x2="17.244"
|
||||
y1="37.588"
|
||||
y2="27.588"
|
||||
gradientTransform="matrix(1,-0.026667,0,1,81.696,-5.3735)"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
xlink:href="#linearGradient4383" />
|
||||
<linearGradient
|
||||
id="linearGradient69717"
|
||||
x1="50.714"
|
||||
x2="48.714"
|
||||
y1="25.586"
|
||||
y2="20.586"
|
||||
gradientTransform="translate(61.2256,1.0356)"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
xlink:href="#linearGradient4383" />
|
||||
<linearGradient
|
||||
id="linearGradient3774">
|
||||
<stop
|
||||
stop-color="#4e9a06"
|
||||
offset="0"
|
||||
id="stop21" />
|
||||
<stop
|
||||
stop-color="#8ae234"
|
||||
offset="1"
|
||||
id="stop23" />
|
||||
</linearGradient>
|
||||
<clipPath
|
||||
clipPathUnits="userSpaceOnUse"
|
||||
id="clipPath1">
|
||||
<path
|
||||
style="fill:none;stroke:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;-inkscape-stroke:none"
|
||||
d="m 1128.2358,1230.7769 47.3569,-44.8156 90.1392,-7.1378 98.3518,-93.074 -122.4881,-129.43385 -196.8251,186.26295 z"
|
||||
id="path2" />
|
||||
</clipPath>
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient3774"
|
||||
id="linearGradient5137"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(-0.51964051,0,0,0.50042191,1386.3532,982.21378)"
|
||||
x1="288.11227"
|
||||
y1="358.15811"
|
||||
x2="372.52457"
|
||||
y2="7.5416322" />
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient4383"
|
||||
id="linearGradient1"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(1,-0.026667,0,1,81.696,-5.3735)"
|
||||
x1="20.244"
|
||||
y1="37.588"
|
||||
x2="17.244"
|
||||
y2="27.588" />
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient3774"
|
||||
id="linearGradient2"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="translate(-1.2435,-2.5881)"
|
||||
x1="20.244"
|
||||
y1="37.588"
|
||||
x2="17.244"
|
||||
y2="27.588" />
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient3774"
|
||||
id="linearGradient3"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="translate(-12.714,-17.586)"
|
||||
x1="48.714"
|
||||
y1="45.586"
|
||||
x2="44.714"
|
||||
y2="34.586" />
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient4399"
|
||||
id="linearGradient4"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="translate(-52.714,-17.586)"
|
||||
x1="48.714001"
|
||||
y1="45.585999"
|
||||
x2="44.714001"
|
||||
y2="34.585999" />
|
||||
</defs>
|
||||
<metadata
|
||||
id="metadata28">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title />
|
||||
<dc:title>Path-Stock</dc:title>
|
||||
<dc:date>2015-07-04</dc:date>
|
||||
<dc:relation>https://www.freecad.org/wiki/index.php?title=Artwork</dc:relation>
|
||||
<dc:publisher>
|
||||
<cc:Agent>
|
||||
<dc:title>FreeCAD</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:publisher>
|
||||
<dc:identifier>FreeCAD/src/Mod/Path/Gui/Resources/icons/Path-Stock.svg</dc:identifier>
|
||||
<dc:rights>
|
||||
<cc:Agent>
|
||||
<dc:title>FreeCAD LGPL2+</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:rights>
|
||||
<cc:license>https://www.gnu.org/copyleft/lesser.html</cc:license>
|
||||
<dc:contributor>
|
||||
<cc:Agent>
|
||||
<dc:title>[agryson] Alexander Gryson</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:contributor>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
id="layer1"
|
||||
transform="translate(0.19522715,0.27982587)">
|
||||
<g
|
||||
id="g1124"
|
||||
transform="matrix(1.0964113,0,0,1.0964113,-13.226965,60.643745)"
|
||||
style="opacity:1">
|
||||
<g
|
||||
id="g40-8"
|
||||
style="stroke-width:2"
|
||||
transform="translate(9.249999,-58.229485)">
|
||||
<path
|
||||
d="M 9,49 V 35 l 28,10 v 14 z"
|
||||
id="path30-8"
|
||||
style="fill:#babdb6;stroke:#0b1e23;stroke-linejoin:round;stroke-opacity:1" />
|
||||
<path
|
||||
d="M 37,59 V 45 L 55,28 v 13 z"
|
||||
id="path32-2"
|
||||
style="fill:#babdb6;stroke:#0b1e23;stroke-linejoin:round;stroke-opacity:1" />
|
||||
<path
|
||||
d="M 11.008,47.606 11,37.9997 l 24,8 0.0081,10.185 z"
|
||||
id="path34-4"
|
||||
style="fill:#888a85;stroke:#babdb6" />
|
||||
<path
|
||||
d="M 39.005,54.168 39,45.9998 l 14,-13 0.0021,7.1768 z"
|
||||
id="path36-5"
|
||||
style="fill:#888a85;stroke:#babdb6" />
|
||||
<path
|
||||
d="M 23,40 42,23 55,28 37,45 Z"
|
||||
id="path38-5"
|
||||
style="fill:#d3d7cf;stroke:#0b1e23;stroke-linejoin:round;stroke-opacity:1" />
|
||||
</g>
|
||||
<g
|
||||
id="g943-1"
|
||||
transform="translate(-50.750001,-58.229485)">
|
||||
<path
|
||||
d="m 91,33.5 -0.02739,-14.214 12.967,4.3352 v 14.5 z"
|
||||
id="path54-7"
|
||||
style="fill:url(#linearGradient1);stroke:#0b1e23;stroke-width:2;stroke-linejoin:round;stroke-opacity:1" />
|
||||
<path
|
||||
d="m 92.927,32.029 0.04731,-10.141 8.9272,3.29 0.0781,10.042 z"
|
||||
id="path56-1"
|
||||
style="fill:#888a85;stroke:#babdb6;stroke-width:2" />
|
||||
<path
|
||||
d="m 103.94,38.121 v -14.5 l 11,-9 L 115,28 Z"
|
||||
id="path58-1"
|
||||
style="fill:#edd400;stroke:#0b1e23;stroke-width:2;stroke-linejoin:round;stroke-opacity:1" />
|
||||
<path
|
||||
d="m 105.94,33.621 v -9 l 7,-6 -0.0122,8.5816 z"
|
||||
id="path60-5"
|
||||
style="fill:#888a85;stroke:#babdb6;stroke-width:2" />
|
||||
<path
|
||||
d="M 90.973,19.286 102,9.9998 l 12.94,4.6214 -11,9 z"
|
||||
id="path62-2"
|
||||
style="fill:#d3d7cf;stroke:#0b1e23;stroke-width:2;stroke-linejoin:round;stroke-opacity:1" />
|
||||
</g>
|
||||
<g
|
||||
id="g963-7"
|
||||
transform="translate(49.249999,-58.229485)">
|
||||
<g
|
||||
style="stroke:#172a04;stroke-width:2;stroke-linejoin:round"
|
||||
transform="translate(-40)"
|
||||
id="g48-6">
|
||||
<path
|
||||
style="fill:url(#linearGradient2)"
|
||||
id="path42-1"
|
||||
d="M 9,35 V 21 l 14,5 v 14 z" />
|
||||
<path
|
||||
style="fill:#8ae234"
|
||||
id="path44-4"
|
||||
d="M 9,21 28.585,5.209 42,10.0001 l -19,16 z" />
|
||||
<path
|
||||
style="fill:url(#linearGradient3)"
|
||||
id="path46-2"
|
||||
d="M 23,40 V 26 l 7.9726,-6.7138 0.02739,13.714 z" />
|
||||
</g>
|
||||
<path
|
||||
style="fill:#888a85;fill-opacity:1;stroke:#0b1e23;stroke-width:2;stroke-linejoin:round;stroke-opacity:1"
|
||||
id="path912-3"
|
||||
d="M -31,35 V 21 l 14,5 v 14 z" />
|
||||
<path
|
||||
style="fill:#d3d7cf;fill-opacity:1;stroke:#0b1e23;stroke-width:2;stroke-linejoin:round;stroke-opacity:1"
|
||||
id="path914-2"
|
||||
d="M -31,21 -11.415,5.209 2,10.0001 l -19,16 z" />
|
||||
<path
|
||||
style="fill:url(#linearGradient4);fill-opacity:1;stroke:#0b1e23;stroke-width:2;stroke-linejoin:round;stroke-opacity:1"
|
||||
id="path916-2"
|
||||
d="M -17,40 V 26 l 7.9726,-6.7138 0.02739,13.714 z" />
|
||||
<path
|
||||
d="m -15,36 v -9 l 4,-3.5 v 9 z"
|
||||
id="path50-1"
|
||||
style="fill:#888a85;stroke:#babdb6;stroke-width:2;stroke-opacity:1" />
|
||||
<path
|
||||
d="m -29.049,33.746 0.08695,-9.9796 9.9568,3.5229 -0.02105,9.9613 z"
|
||||
id="path52-6"
|
||||
style="fill:none;stroke:#babdb6;stroke-width:2;stroke-opacity:1" />
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<g
|
||||
display="none"
|
||||
fill="#ef2929"
|
||||
fill-rule="evenodd"
|
||||
opacity=".588"
|
||||
stroke="#ef2929"
|
||||
stroke-width="1px"
|
||||
id="g94">
|
||||
<path
|
||||
d="m9 35v14"
|
||||
id="path66" />
|
||||
<path
|
||||
d="m9 35 28 10"
|
||||
id="path68" />
|
||||
<path
|
||||
d="m55 28v13"
|
||||
id="path70" />
|
||||
<path
|
||||
d="m37 45 18-17"
|
||||
id="path72" />
|
||||
<path
|
||||
d="m23 40v-14"
|
||||
id="path74" />
|
||||
<path
|
||||
d="m29 5 13 5"
|
||||
id="path76" />
|
||||
<path
|
||||
d="m23 26 19-16"
|
||||
id="path78" />
|
||||
<path
|
||||
d="m19 13 10-8"
|
||||
id="path80" />
|
||||
<path
|
||||
d="m55 15-9 8"
|
||||
id="path82" />
|
||||
<path
|
||||
d="m42 23v-13"
|
||||
id="path84" />
|
||||
<path
|
||||
d="m42 23 14 5"
|
||||
id="path86" />
|
||||
<path
|
||||
d="m23 40 19-17"
|
||||
id="path88" />
|
||||
<path
|
||||
d="m23 10h19"
|
||||
id="path90" />
|
||||
<path
|
||||
d="m34 17v13"
|
||||
id="path92" />
|
||||
</g>
|
||||
<g
|
||||
transform="matrix(0.12325184,0.1166378,-0.1166378,0.12325184,11.596839,-245.60194)"
|
||||
id="g4218"
|
||||
clip-path="url(#clipPath1)">
|
||||
<path
|
||||
style="opacity:1;fill:#8ae234;fill-opacity:1;stroke:#172a04;stroke-width:14.7326;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="m 1145.5648,1074.1543 c 18.5937,-18.383 48.2169,-28.9064 88.8688,-31.5737 v -37.4326 c 0,-4.0003 1.9294,-6.80966 5.7868,-8.43006 4.0547,-1.61639 7.5171,-0.95178 10.3849,2.00121 l 75.9581,73.15065 c 1.8799,1.8121 2.8184,3.9543 2.8184,6.4303 0,2.4767 -0.9389,4.6185 -2.8184,6.429 l -75.9602,73.1502 c -1.7833,1.81 -4.0064,2.7148 -6.6772,2.7148 -1.1865,0 -2.4222,-0.2382 -3.7083,-0.7141 -3.8572,-1.6204 -5.7882,-4.4273 -5.7882,-8.4296 v -35.8618 c -15.9228,1.2386 -29.1503,3.7387 -39.6881,7.5008 -10.5331,3.7627 -18.9637,9.0247 -25.2946,15.7879 -14.738,15.7158 -19.9806,42.6214 -15.7274,80.7237 0.1953,2.4775 -0.9389,4.0963 -3.4125,4.858 -0.2967,0.097 -0.7414,0.142 -1.3349,0.142 -1.9778,0 -3.361,-0.8095 -4.154,-2.4285 l -2.9667,-5.7148 c -1.3832,-2.6676 -3.3858,-6.9784 -6.007,-12.9313 -2.6194,-5.9556 -4.9969,-11.9071 -7.1237,-17.8612 -2.1269,-5.9515 -4.0298,-12.5235 -5.7119,-19.7147 -1.6805,-7.194 -2.5219,-13.5508 -2.5219,-19.074 0,-32.0039 8.3606,-56.2428 25.078,-72.7222 z"
|
||||
id="path4228" />
|
||||
<path
|
||||
id="path5135"
|
||||
d="m 1252.6459,1025.0625 c 18.4441,17.7617 37.1632,35.1962 55.3062,53.3235 -19.0906,18.0067 -37.542,36.7844 -56.7747,54.6184 -0.018,-12.2743 -0.087,-24.5491 0.032,-36.8231 -26.4463,1.6409 -53.9694,3.575 -77.8197,17.2303 -17.0095,9.5803 -28.4884,27.8106 -34.5388,47.088 -3.5743,-21.5969 -1.2897,-45.3408 10.607,-63.6609 11.0273,-16.9013 29.5358,-25.7267 47.629,-30.3404 14.7839,-4.3279 30.2561,-4.0127 45.1276,-7.7257 7.8392,-4.3982 10.4187,-14.9284 9.2176,-23.8416 -0.062,-3.7919 -0.2886,-7.6325 -0.4323,-11.451 0.5488,0.5275 1.0977,1.055 1.6465,1.5825 z"
|
||||
style="opacity:1;fill:url(#linearGradient5137);fill-opacity:1;stroke:none;stroke-width:34.7533;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 13 KiB |
359
src/Mod/Assembly/Gui/Resources/icons/Assembly_AssemblyLink.svg
Normal file
@@ -0,0 +1,359 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
width="64"
|
||||
height="64"
|
||||
version="1.1"
|
||||
viewBox="0 0 64 64"
|
||||
id="svg96"
|
||||
sodipodi:docname="Assembly_AssemblyLink.svg"
|
||||
inkscape:version="1.1-beta1 (77e7b44db3, 2021-03-28)"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/">
|
||||
<sodipodi:namedview
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1"
|
||||
objecttolerance="10"
|
||||
gridtolerance="10"
|
||||
guidetolerance="10"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:window-width="3840"
|
||||
inkscape:window-height="1571"
|
||||
id="namedview98"
|
||||
showgrid="false"
|
||||
inkscape:zoom="10.429825"
|
||||
inkscape:cx="-15.388561"
|
||||
inkscape:cy="38.303615"
|
||||
inkscape:window-x="-9"
|
||||
inkscape:window-y="-9"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="svg96"
|
||||
inkscape:pagecheckerboard="0" />
|
||||
<defs
|
||||
id="defs26">
|
||||
<linearGradient
|
||||
id="linearGradient4383">
|
||||
<stop
|
||||
stop-color="#3465a4"
|
||||
offset="0"
|
||||
id="stop2" />
|
||||
<stop
|
||||
stop-color="#729fcf"
|
||||
offset="1"
|
||||
id="stop4" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient4389"
|
||||
x1="20.244"
|
||||
x2="17.244"
|
||||
y1="37.588"
|
||||
y2="27.588"
|
||||
gradientTransform="translate(-1.2435,-2.5881)"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
xlink:href="#linearGradient3774" />
|
||||
<linearGradient
|
||||
id="linearGradient4399"
|
||||
x1="48.714"
|
||||
x2="44.714"
|
||||
y1="45.586"
|
||||
y2="34.586"
|
||||
gradientTransform="translate(1.2856,1.4142)"
|
||||
gradientUnits="userSpaceOnUse">
|
||||
<stop
|
||||
stop-color="#c4a000"
|
||||
offset="0"
|
||||
id="stop8" />
|
||||
<stop
|
||||
stop-color="#edd400"
|
||||
offset="1"
|
||||
id="stop10" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient69042"
|
||||
x1="48.714"
|
||||
x2="44.714"
|
||||
y1="45.586"
|
||||
y2="34.586"
|
||||
gradientTransform="translate(-12.714,-17.586)"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
xlink:href="#linearGradient3774" />
|
||||
<linearGradient
|
||||
id="linearGradient69056"
|
||||
x1="27.244"
|
||||
x2="22.244"
|
||||
y1="54.588"
|
||||
y2="40.588"
|
||||
gradientTransform="translate(-1.2435,-2.5881)"
|
||||
gradientUnits="userSpaceOnUse">
|
||||
<stop
|
||||
stop-color="#c4a000"
|
||||
offset="0"
|
||||
id="stop14" />
|
||||
<stop
|
||||
stop-color="#fce94f"
|
||||
offset="1"
|
||||
id="stop16" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient69709"
|
||||
x1="20.244"
|
||||
x2="17.244"
|
||||
y1="37.588"
|
||||
y2="27.588"
|
||||
gradientTransform="matrix(1,-0.026667,0,1,21.696,-5.3735)"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
xlink:href="#linearGradient4383" />
|
||||
<linearGradient
|
||||
id="linearGradient69717"
|
||||
x1="50.714"
|
||||
x2="48.714"
|
||||
y1="25.586"
|
||||
y2="20.586"
|
||||
gradientTransform="translate(1.2256,1.0356)"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
xlink:href="#linearGradient4383" />
|
||||
<linearGradient
|
||||
id="linearGradient3774">
|
||||
<stop
|
||||
stop-color="#4e9a06"
|
||||
offset="0"
|
||||
id="stop21" />
|
||||
<stop
|
||||
stop-color="#8ae234"
|
||||
offset="1"
|
||||
id="stop23" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient69056"
|
||||
id="linearGradient920"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="translate(-41.2435,-2.5881)"
|
||||
x1="20.243999"
|
||||
y1="37.588001"
|
||||
x2="17.243999"
|
||||
y2="27.587999" />
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient4399"
|
||||
id="linearGradient922"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="translate(-52.714,-17.586)"
|
||||
x1="48.714001"
|
||||
y1="45.585999"
|
||||
x2="44.714001"
|
||||
y2="34.585999" />
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient4383"
|
||||
id="linearGradient5137"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(-0.06404665,0.06060973,-0.05836811,-0.06167792,58.951461,44.497067)"
|
||||
x1="288.11227"
|
||||
y1="358.15811"
|
||||
x2="372.52457"
|
||||
y2="7.5416322" />
|
||||
</defs>
|
||||
<metadata
|
||||
id="metadata28">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title>Path-Stock</dc:title>
|
||||
<dc:date>2015-07-04</dc:date>
|
||||
<dc:relation>https://www.freecad.org/wiki/index.php?title=Artwork</dc:relation>
|
||||
<dc:publisher>
|
||||
<cc:Agent>
|
||||
<dc:title>FreeCAD</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:publisher>
|
||||
<dc:identifier>FreeCAD/src/Mod/Path/Gui/Resources/icons/Path-Stock.svg</dc:identifier>
|
||||
<dc:rights>
|
||||
<cc:Agent>
|
||||
<dc:title>FreeCAD LGPL2+</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:rights>
|
||||
<cc:license>https://www.gnu.org/copyleft/lesser.html</cc:license>
|
||||
<dc:contributor>
|
||||
<cc:Agent>
|
||||
<dc:title>[agryson] Alexander Gryson</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:contributor>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
id="g40"
|
||||
style="stroke-width:2">
|
||||
<path
|
||||
d="M 9,49 V 35 l 28,10 v 14 z"
|
||||
id="path30"
|
||||
style="fill:url(#linearGradient69056);stroke:#302b00;stroke-linejoin:round"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
d="M 37,59 V 45 L 55,28 v 13 z"
|
||||
id="path32"
|
||||
style="fill:url(#linearGradient4399);stroke:#302b00;stroke-linejoin:round"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
d="M 11.008,47.606 11,37.9997 l 24,8 0.0081,10.185 z"
|
||||
id="path34"
|
||||
inkscape:connector-curvature="0"
|
||||
style="fill:none;stroke:#fce94f" />
|
||||
<path
|
||||
d="M 39.005,54.168 39,45.9998 l 14,-13 0.0021,7.1768 z"
|
||||
id="path36"
|
||||
inkscape:connector-curvature="0"
|
||||
style="fill:none;stroke:#edd400" />
|
||||
<path
|
||||
d="M 23,40 42,23 55,28 37,45 Z"
|
||||
id="path38"
|
||||
inkscape:connector-curvature="0"
|
||||
style="fill:#fce94f;stroke:#302b00;stroke-linejoin:round" />
|
||||
</g>
|
||||
<path
|
||||
d="m 31,33.5 -0.02739,-14.214 12.967,4.3352 v 14.5 z"
|
||||
id="path54"
|
||||
style="fill:url(#linearGradient69709);stroke:#0b1521;stroke-width:2;stroke-linejoin:round"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
d="m 32.927,32.029 0.04731,-10.141 8.9272,3.29 0.0781,10.042 z"
|
||||
id="path56"
|
||||
inkscape:connector-curvature="0"
|
||||
style="fill:none;stroke:#729fcf;stroke-width:2" />
|
||||
<path
|
||||
d="m 43.94,38.121 v -14.5 l 11,-9 L 55,28 Z"
|
||||
id="path58"
|
||||
style="fill:url(#linearGradient69717);stroke:#0b1521;stroke-width:2;stroke-linejoin:round"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
d="m 45.94,33.621 v -9 l 7,-6 -0.0122,8.5816 z"
|
||||
id="path60"
|
||||
inkscape:connector-curvature="0"
|
||||
style="fill:none;stroke:#729fcf;stroke-width:2" />
|
||||
<path
|
||||
d="M 30.973,19.286 42,9.9998 l 12.94,4.6214 -11,9 z"
|
||||
id="path62"
|
||||
inkscape:connector-curvature="0"
|
||||
style="fill:#729fcf;stroke:#0b1521;stroke-width:2;stroke-linejoin:round" />
|
||||
<g
|
||||
display="none"
|
||||
fill="#ef2929"
|
||||
fill-rule="evenodd"
|
||||
opacity=".588"
|
||||
stroke="#ef2929"
|
||||
stroke-width="1px"
|
||||
id="g94">
|
||||
<path
|
||||
d="m9 35v14"
|
||||
id="path66" />
|
||||
<path
|
||||
d="m9 35 28 10"
|
||||
id="path68" />
|
||||
<path
|
||||
d="m55 28v13"
|
||||
id="path70" />
|
||||
<path
|
||||
d="m37 45 18-17"
|
||||
id="path72" />
|
||||
<path
|
||||
d="m23 40v-14"
|
||||
id="path74" />
|
||||
<path
|
||||
d="m29 5 13 5"
|
||||
id="path76" />
|
||||
<path
|
||||
d="m23 26 19-16"
|
||||
id="path78" />
|
||||
<path
|
||||
d="m19 13 10-8"
|
||||
id="path80" />
|
||||
<path
|
||||
d="m55 15-9 8"
|
||||
id="path82" />
|
||||
<path
|
||||
d="m42 23v-13"
|
||||
id="path84" />
|
||||
<path
|
||||
d="m42 23 14 5"
|
||||
id="path86" />
|
||||
<path
|
||||
d="m23 40 19-17"
|
||||
id="path88" />
|
||||
<path
|
||||
d="m23 10h19"
|
||||
id="path90" />
|
||||
<path
|
||||
d="m34 17v13"
|
||||
id="path92" />
|
||||
</g>
|
||||
<g
|
||||
id="g963"
|
||||
transform="translate(40)">
|
||||
<g
|
||||
style="stroke:#172a04;stroke-width:2;stroke-linejoin:round"
|
||||
transform="translate(-40)"
|
||||
id="g48">
|
||||
<path
|
||||
inkscape:connector-curvature="0"
|
||||
style="fill:url(#linearGradient4389)"
|
||||
id="path42"
|
||||
d="M 9,35 V 21 l 14,5 v 14 z" />
|
||||
<path
|
||||
style="fill:#8ae234"
|
||||
inkscape:connector-curvature="0"
|
||||
id="path44"
|
||||
d="M 9,21 28.585,5.209 42,10.0001 l -19,16 z" />
|
||||
<path
|
||||
inkscape:connector-curvature="0"
|
||||
style="fill:url(#linearGradient69042)"
|
||||
id="path46"
|
||||
d="M 23,40 V 26 l 7.9726,-6.7138 0.02739,13.714 z" />
|
||||
</g>
|
||||
<path
|
||||
inkscape:connector-curvature="0"
|
||||
style="fill:url(#linearGradient920);fill-opacity:1;stroke:#172a04;stroke-width:2;stroke-linejoin:round"
|
||||
id="path912"
|
||||
d="M -31,35 V 21 l 14,5 v 14 z" />
|
||||
<path
|
||||
style="fill:#fce94f;fill-opacity:1;stroke:#172a04;stroke-width:2;stroke-linejoin:round;stroke-opacity:1"
|
||||
inkscape:connector-curvature="0"
|
||||
id="path914"
|
||||
d="M -31,21 -11.415,5.209 2,10.0001 l -19,16 z" />
|
||||
<path
|
||||
inkscape:connector-curvature="0"
|
||||
style="fill:url(#linearGradient922);fill-opacity:1;stroke:#172a04;stroke-width:2;stroke-linejoin:round"
|
||||
id="path916"
|
||||
d="M -17,40 V 26 l 7.9726,-6.7138 0.02739,13.714 z" />
|
||||
<path
|
||||
d="m -15,36 v -9 l 4,-3.5 v 9 z"
|
||||
id="path50"
|
||||
inkscape:connector-curvature="0"
|
||||
style="fill:none;stroke:#fce94f;stroke-width:2;stroke-opacity:1" />
|
||||
<path
|
||||
d="m -29.049,33.746 0.08695,-9.9796 9.9568,3.5229 -0.02105,9.9613 z"
|
||||
id="path52"
|
||||
inkscape:connector-curvature="0"
|
||||
style="fill:none;stroke:#fce94f;stroke-width:2;stroke-opacity:1" />
|
||||
</g>
|
||||
<path
|
||||
style="fill:#729fcf;fill-opacity:1;stroke:#0d0324;stroke-width:2.50001;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
inkscape:connector-curvature="0"
|
||||
d="m 18.550108,61.250258 c 4.43586,0.09701 9.3144,-2.061146 14.63593,-6.473945 l 4.366056,4.613637 c 0.466586,0.493045 1.032066,0.614262 1.696497,0.364061 0.688282,-0.273708 1.03751,-0.759469 1.046541,-1.457925 l 0.829845,-17.875538 c 0.02034,-0.442612 -0.113848,-0.816106 -0.402643,-1.121278 -0.288877,-0.305258 -0.654413,-0.459727 -1.097237,-0.463654 L 21.730784,38.67955 c -0.43091,-0.01509 -0.810445,0.132693 -1.139626,0.44421 -0.146238,0.13839 -0.270757,0.311878 -0.373763,0.520542 -0.286407,0.649612 -0.197016,1.220796 0.269803,1.714086 l 4.182842,4.420033 c -2.106982,1.704541 -4.028902,2.939225 -5.766508,3.704646 C 17.166435,50.247864 15.5136,50.58264 13.94446,50.487485 10.294918,50.269492 6.5105477,47.564813 2.590594,42.37255 2.3256949,42.044414 1.9970894,41.977185 1.6033706,42.171819 1.555488,42.19447 1.4954292,42.240793 1.4222792,42.310017 1.1785117,42.540703 1.1024481,42.801809 1.1935459,43.093848 l 0.3009105,1.050389 c 0.1406611,0.49012 0.3966392,1.255013 0.7679046,2.294449 0.3718022,1.03956 0.7729408,2.0504 1.2052819,3.032319 0.4320256,0.98161 0.9640333,2.013571 1.5954771,3.096096 0.6319676,1.082684 1.2697067,1.96431 1.9139206,2.645055 3.7328644,3.944539 7.5904954,5.956866 11.5730674,6.038102 z"
|
||||
id="path4228" />
|
||||
<path
|
||||
inkscape:connector-curvature="0"
|
||||
id="path5135"
|
||||
d="m 37.47401,54.811209 c 0.201583,-4.340442 0.475225,-8.67263 0.597055,-13.023013 -4.453213,0.0073 -8.917572,-0.154929 -13.368156,-0.109742 1.429429,1.514929 2.85263,3.035869 4.298909,4.534782 -3.450946,2.882394 -7.068808,5.854247 -11.601125,6.953052 -3.213878,0.803162 -6.755015,-0.104883 -9.7492117,-1.775153 2.0784758,3.078757 5.1294937,5.738765 8.7325997,6.609146 3.330465,0.796917 6.641047,-0.274127 9.409199,-1.815831 2.32694,-1.19094 4.197153,-3.034433 6.463169,-4.311377 1.479192,-0.372261 3.025339,0.624738 3.916918,1.8634 0.434637,0.47459 0.854667,0.974381 1.282337,1.461779 0.0061,-0.129026 0.01224,-0.258064 0.01835,-0.38709 z"
|
||||
style="fill:url(#linearGradient5137);fill-opacity:1.0;stroke:none;stroke-width:5.89736;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 12 KiB |
@@ -0,0 +1,354 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
width="64"
|
||||
height="64"
|
||||
version="1.1"
|
||||
viewBox="0 0 64 64"
|
||||
id="svg96"
|
||||
sodipodi:docname="Assembly_AssemblyLinkRigid.svg"
|
||||
inkscape:version="1.1-beta1 (77e7b44db3, 2021-03-28)"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/">
|
||||
<sodipodi:namedview
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1"
|
||||
objecttolerance="10"
|
||||
gridtolerance="10"
|
||||
guidetolerance="10"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:window-width="3840"
|
||||
inkscape:window-height="1571"
|
||||
id="namedview98"
|
||||
showgrid="false"
|
||||
inkscape:zoom="7.375"
|
||||
inkscape:cx="-66.644068"
|
||||
inkscape:cy="61.627119"
|
||||
inkscape:window-x="-9"
|
||||
inkscape:window-y="-9"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="svg96"
|
||||
inkscape:pagecheckerboard="0" />
|
||||
<defs
|
||||
id="defs26">
|
||||
<linearGradient
|
||||
id="linearGradient4383">
|
||||
<stop
|
||||
stop-color="#3465a4"
|
||||
offset="0"
|
||||
id="stop2" />
|
||||
<stop
|
||||
stop-color="#729fcf"
|
||||
offset="1"
|
||||
id="stop4" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient4389"
|
||||
x1="20.244"
|
||||
x2="17.244"
|
||||
y1="37.588"
|
||||
y2="27.588"
|
||||
gradientTransform="translate(-1.2435,-2.5881)"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
xlink:href="#linearGradient3774" />
|
||||
<linearGradient
|
||||
id="linearGradient4399"
|
||||
x1="48.714"
|
||||
x2="44.714"
|
||||
y1="45.586"
|
||||
y2="34.586"
|
||||
gradientTransform="translate(1.2856,1.4142)"
|
||||
gradientUnits="userSpaceOnUse">
|
||||
<stop
|
||||
stop-color="#c4a000"
|
||||
offset="0"
|
||||
id="stop8" />
|
||||
<stop
|
||||
stop-color="#edd400"
|
||||
offset="1"
|
||||
id="stop10" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient69042"
|
||||
x1="48.714"
|
||||
x2="44.714"
|
||||
y1="45.586"
|
||||
y2="34.586"
|
||||
gradientTransform="translate(-12.714,-17.586)"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
xlink:href="#linearGradient3774" />
|
||||
<linearGradient
|
||||
id="linearGradient69056"
|
||||
x1="27.244"
|
||||
x2="22.244"
|
||||
y1="54.588"
|
||||
y2="40.588"
|
||||
gradientTransform="translate(-1.2435,-2.5881)"
|
||||
gradientUnits="userSpaceOnUse">
|
||||
<stop
|
||||
stop-color="#c4a000"
|
||||
offset="0"
|
||||
id="stop14" />
|
||||
<stop
|
||||
stop-color="#fce94f"
|
||||
offset="1"
|
||||
id="stop16" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient69709"
|
||||
x1="20.243999"
|
||||
x2="17.243999"
|
||||
y1="37.588001"
|
||||
y2="27.587999"
|
||||
gradientTransform="matrix(1,-0.026667,0,1,21.696,-5.3735)"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
xlink:href="#linearGradient3774" />
|
||||
<linearGradient
|
||||
id="linearGradient69717"
|
||||
x1="50.714001"
|
||||
x2="48.714001"
|
||||
y1="25.586"
|
||||
y2="20.586"
|
||||
gradientTransform="translate(1.2256,1.0356)"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
xlink:href="#linearGradient3774" />
|
||||
<linearGradient
|
||||
id="linearGradient3774">
|
||||
<stop
|
||||
stop-color="#4e9a06"
|
||||
offset="0"
|
||||
id="stop21" />
|
||||
<stop
|
||||
stop-color="#8ae234"
|
||||
offset="1"
|
||||
id="stop23" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient69056"
|
||||
id="linearGradient920"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="translate(-1.2435,-2.5881)"
|
||||
x1="20.243999"
|
||||
y1="37.588001"
|
||||
x2="17.243999"
|
||||
y2="27.587999" />
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient4399"
|
||||
id="linearGradient922"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="translate(-12.714,-17.586)"
|
||||
x1="48.714001"
|
||||
y1="45.585999"
|
||||
x2="44.714001"
|
||||
y2="34.585999" />
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient4383"
|
||||
id="linearGradient5137"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(-0.06404665,0.06060973,-0.05836811,-0.06167792,58.951461,44.497067)"
|
||||
x1="288.11227"
|
||||
y1="358.15811"
|
||||
x2="372.52457"
|
||||
y2="7.5416322" />
|
||||
</defs>
|
||||
<metadata
|
||||
id="metadata28">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title>Path-Stock</dc:title>
|
||||
<dc:date>2015-07-04</dc:date>
|
||||
<dc:relation>https://www.freecad.org/wiki/index.php?title=Artwork</dc:relation>
|
||||
<dc:publisher>
|
||||
<cc:Agent>
|
||||
<dc:title>FreeCAD</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:publisher>
|
||||
<dc:identifier>FreeCAD/src/Mod/Path/Gui/Resources/icons/Path-Stock.svg</dc:identifier>
|
||||
<dc:rights>
|
||||
<cc:Agent>
|
||||
<dc:title>FreeCAD LGPL2+</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:rights>
|
||||
<cc:license>https://www.gnu.org/copyleft/lesser.html</cc:license>
|
||||
<dc:contributor>
|
||||
<cc:Agent>
|
||||
<dc:title>[agryson] Alexander Gryson</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:contributor>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
id="g40"
|
||||
style="stroke-width:2">
|
||||
<path
|
||||
d="M 9,49 V 35 l 28,10 v 14 z"
|
||||
id="path30"
|
||||
style="fill:url(#linearGradient69056);stroke:#302b00;stroke-linejoin:round"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
d="M 37,59 V 45 L 55,28 v 13 z"
|
||||
id="path32"
|
||||
style="fill:url(#linearGradient4399);stroke:#302b00;stroke-linejoin:round"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
d="M 11.008,47.606 11,37.9997 l 24,8 0.0081,10.185 z"
|
||||
id="path34"
|
||||
inkscape:connector-curvature="0"
|
||||
style="fill:none;stroke:#fce94f" />
|
||||
<path
|
||||
d="M 39.005,54.168 39,45.9998 l 14,-13 0.0021,7.1768 z"
|
||||
id="path36"
|
||||
inkscape:connector-curvature="0"
|
||||
style="fill:none;stroke:#edd400" />
|
||||
<path
|
||||
d="M 23,40 42,23 55,28 37,45 Z"
|
||||
id="path38"
|
||||
inkscape:connector-curvature="0"
|
||||
style="fill:#fce94f;stroke:#302b00;stroke-linejoin:round" />
|
||||
</g>
|
||||
<path
|
||||
d="m 31,33.5 -0.02739,-14.214 12.967,4.3352 v 14.5 z"
|
||||
id="path54"
|
||||
style="fill:url(#linearGradient69709);stroke:#0b1521;stroke-width:2;stroke-linejoin:round;fill-opacity:1.0"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
d="m 32.927,32.029 0.04731,-10.141 8.9272,3.29 0.0781,10.042 z"
|
||||
id="path56"
|
||||
inkscape:connector-curvature="0"
|
||||
style="fill:none;stroke:#fce94f;stroke-width:2;stroke-opacity:1" />
|
||||
<path
|
||||
d="m 43.94,38.121 v -14.5 l 11,-9 L 55,28 Z"
|
||||
id="path58"
|
||||
style="fill:url(#linearGradient69717);stroke:#0b1521;stroke-width:2;stroke-linejoin:round;fill-opacity:1.0"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
d="m 45.94,33.621 v -9 l 7,-6 -0.0122,8.5816 z"
|
||||
id="path60"
|
||||
inkscape:connector-curvature="0"
|
||||
style="fill:none;stroke:#fce94f;stroke-width:2;stroke-opacity:1" />
|
||||
<path
|
||||
d="M 30.973,19.286 42,9.9998 l 12.94,4.6214 -11,9 z"
|
||||
id="path62"
|
||||
inkscape:connector-curvature="0"
|
||||
style="fill:#fce94f;stroke:#0b1521;stroke-width:2;stroke-linejoin:round;fill-opacity:1" />
|
||||
<g
|
||||
display="none"
|
||||
fill="#ef2929"
|
||||
fill-rule="evenodd"
|
||||
opacity=".588"
|
||||
stroke="#ef2929"
|
||||
stroke-width="1px"
|
||||
id="g94">
|
||||
<path
|
||||
d="m9 35v14"
|
||||
id="path66" />
|
||||
<path
|
||||
d="m9 35 28 10"
|
||||
id="path68" />
|
||||
<path
|
||||
d="m55 28v13"
|
||||
id="path70" />
|
||||
<path
|
||||
d="m37 45 18-17"
|
||||
id="path72" />
|
||||
<path
|
||||
d="m23 40v-14"
|
||||
id="path74" />
|
||||
<path
|
||||
d="m29 5 13 5"
|
||||
id="path76" />
|
||||
<path
|
||||
d="m23 26 19-16"
|
||||
id="path78" />
|
||||
<path
|
||||
d="m19 13 10-8"
|
||||
id="path80" />
|
||||
<path
|
||||
d="m55 15-9 8"
|
||||
id="path82" />
|
||||
<path
|
||||
d="m42 23v-13"
|
||||
id="path84" />
|
||||
<path
|
||||
d="m42 23 14 5"
|
||||
id="path86" />
|
||||
<path
|
||||
d="m23 40 19-17"
|
||||
id="path88" />
|
||||
<path
|
||||
d="m23 10h19"
|
||||
id="path90" />
|
||||
<path
|
||||
d="m34 17v13"
|
||||
id="path92" />
|
||||
</g>
|
||||
<g
|
||||
style="stroke:#172a04;stroke-width:2;stroke-linejoin:round"
|
||||
id="g48">
|
||||
<path
|
||||
inkscape:connector-curvature="0"
|
||||
style="fill:url(#linearGradient4389)"
|
||||
id="path42"
|
||||
d="M 9,35 V 21 l 14,5 v 14 z" />
|
||||
<path
|
||||
style="fill:#8ae234"
|
||||
inkscape:connector-curvature="0"
|
||||
id="path44"
|
||||
d="M 9,21 28.585,5.209 42,10.0001 l -19,16 z" />
|
||||
<path
|
||||
inkscape:connector-curvature="0"
|
||||
style="fill:url(#linearGradient69042)"
|
||||
id="path46"
|
||||
d="M 23,40 V 26 l 7.9726,-6.7138 0.02739,13.714 z" />
|
||||
</g>
|
||||
<path
|
||||
inkscape:connector-curvature="0"
|
||||
style="fill:url(#linearGradient920);fill-opacity:1;stroke:#172a04;stroke-width:2;stroke-linejoin:round"
|
||||
id="path912"
|
||||
d="M 9,35 V 21 l 14,5 v 14 z" />
|
||||
<path
|
||||
style="fill:#fce94f;fill-opacity:1;stroke:#172a04;stroke-width:2;stroke-linejoin:round;stroke-opacity:1"
|
||||
inkscape:connector-curvature="0"
|
||||
id="path914"
|
||||
d="M 9,21 28.585,5.209 42,10.0001 l -19,16 z" />
|
||||
<path
|
||||
inkscape:connector-curvature="0"
|
||||
style="fill:url(#linearGradient922);fill-opacity:1;stroke:#172a04;stroke-width:2;stroke-linejoin:round"
|
||||
id="path916"
|
||||
d="M 23,40 V 26 l 7.9726,-6.7138 0.02739,13.714 z" />
|
||||
<path
|
||||
d="m 25,36 v -9 l 4,-3.5 v 9 z"
|
||||
id="path50"
|
||||
inkscape:connector-curvature="0"
|
||||
style="fill:none;stroke:#fce94f;stroke-width:2;stroke-opacity:1" />
|
||||
<path
|
||||
d="m 10.951,33.746 0.08695,-9.9796 9.9568,3.5229 -0.02105,9.9613 z"
|
||||
id="path52"
|
||||
inkscape:connector-curvature="0"
|
||||
style="fill:none;stroke:#fce94f;stroke-width:2;stroke-opacity:1" />
|
||||
<path
|
||||
style="fill:#729fcf;fill-opacity:1;stroke:#0d0324;stroke-width:2.50001;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
inkscape:connector-curvature="0"
|
||||
d="m 18.550108,61.250258 c 4.43586,0.09701 9.3144,-2.061146 14.63593,-6.473945 l 4.366056,4.613637 c 0.466586,0.493045 1.032066,0.614262 1.696497,0.364061 0.688282,-0.273708 1.03751,-0.759469 1.046541,-1.457925 l 0.829845,-17.875538 c 0.02034,-0.442612 -0.113848,-0.816106 -0.402643,-1.121278 -0.288877,-0.305258 -0.654413,-0.459727 -1.097237,-0.463654 L 21.730784,38.67955 c -0.43091,-0.01509 -0.810445,0.132693 -1.139626,0.44421 -0.146238,0.13839 -0.270757,0.311878 -0.373763,0.520542 -0.286407,0.649612 -0.197016,1.220796 0.269803,1.714086 l 4.182842,4.420033 c -2.106982,1.704541 -4.028902,2.939225 -5.766508,3.704646 C 17.166435,50.247864 15.5136,50.58264 13.94446,50.487485 10.294918,50.269492 6.5105477,47.564813 2.590594,42.37255 2.3256949,42.044414 1.9970894,41.977185 1.6033706,42.171819 1.555488,42.19447 1.4954292,42.240793 1.4222792,42.310017 1.1785117,42.540703 1.1024481,42.801809 1.1935459,43.093848 l 0.3009105,1.050389 c 0.1406611,0.49012 0.3966392,1.255013 0.7679046,2.294449 0.3718022,1.03956 0.7729408,2.0504 1.2052819,3.032319 0.4320256,0.98161 0.9640333,2.013571 1.5954771,3.096096 0.6319676,1.082684 1.2697067,1.96431 1.9139206,2.645055 3.7328644,3.944539 7.5904954,5.956866 11.5730674,6.038102 z"
|
||||
id="path4228" />
|
||||
<path
|
||||
inkscape:connector-curvature="0"
|
||||
id="path5135"
|
||||
d="m 37.47401,54.811209 c 0.201583,-4.340442 0.475225,-8.67263 0.597055,-13.023013 -4.453213,0.0073 -8.917572,-0.154929 -13.368156,-0.109742 1.429429,1.514929 2.85263,3.035869 4.298909,4.534782 -3.450946,2.882394 -7.068808,5.854247 -11.601125,6.953052 -3.213878,0.803162 -6.755015,-0.104883 -9.7492117,-1.775153 2.0784758,3.078757 5.1294937,5.738765 8.7325997,6.609146 3.330465,0.796917 6.641047,-0.274127 9.409199,-1.815831 2.32694,-1.19094 4.197153,-3.034433 6.463169,-4.311377 1.479192,-0.372261 3.025339,0.624738 3.916918,1.8634 0.434637,0.47459 0.854667,0.974381 1.282337,1.461779 0.0061,-0.129026 0.01224,-0.258064 0.01835,-0.38709 z"
|
||||
style="fill:url(#linearGradient5137);fill-opacity:1.0;stroke:none;stroke-width:5.89736;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 12 KiB |
@@ -0,0 +1,600 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
width="64"
|
||||
height="64"
|
||||
viewBox="0 0 16.933333 16.933333"
|
||||
version="1.1"
|
||||
id="svg1"
|
||||
inkscape:version="1.1-beta1 (77e7b44db3, 2021-03-28)"
|
||||
xml:space="preserve"
|
||||
sodipodi:docname="Assembly_BillOfMaterials.svg"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"><sodipodi:namedview
|
||||
id="namedview1"
|
||||
pagecolor="#505050"
|
||||
bordercolor="#eeeeee"
|
||||
borderopacity="1"
|
||||
inkscape:showpageshadow="0"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pagecheckerboard="false"
|
||||
inkscape:deskcolor="#505050"
|
||||
inkscape:document-units="px"
|
||||
showgrid="true"
|
||||
inkscape:zoom="8"
|
||||
inkscape:cx="60.4375"
|
||||
inkscape:cy="43.4375"
|
||||
inkscape:window-width="3840"
|
||||
inkscape:window-height="1571"
|
||||
inkscape:window-x="-9"
|
||||
inkscape:window-y="-9"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="layer1"
|
||||
objecttolerance="10.0"
|
||||
gridtolerance="10.0"
|
||||
guidetolerance="10.0"
|
||||
inkscape:pageshadow="0"><inkscape:grid
|
||||
id="grid1"
|
||||
units="px"
|
||||
originx="0"
|
||||
originy="0"
|
||||
spacingx="0.26458333"
|
||||
spacingy="0.26458333"
|
||||
empcolor="#0099e5"
|
||||
empopacity="0.30196078"
|
||||
color="#0099e5"
|
||||
opacity="0.14901961"
|
||||
empspacing="5"
|
||||
dotted="false"
|
||||
gridanglex="30"
|
||||
gridanglez="30"
|
||||
visible="true" /></sodipodi:namedview><defs
|
||||
id="defs1"><linearGradient
|
||||
id="swatch2"
|
||||
inkscape:swatch="solid"><stop
|
||||
style="stop-color:#ffffff;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop4" /></linearGradient><linearGradient
|
||||
id="swatch7"
|
||||
inkscape:swatch="solid"><stop
|
||||
style="stop-color:#292600;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop7" /></linearGradient><linearGradient
|
||||
id="swatch3"
|
||||
inkscape:swatch="solid"><stop
|
||||
style="stop-color:#2b2800;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop3" /></linearGradient><linearGradient
|
||||
id="linearGradient1"
|
||||
inkscape:swatch="gradient"><stop
|
||||
style="stop-color:#000000;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop1" /><stop
|
||||
style="stop-color:#ffdd00;stop-opacity:0;"
|
||||
offset="1"
|
||||
id="stop2" /></linearGradient><radialGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient3377"
|
||||
id="radialGradient3692"
|
||||
cx="45.883327"
|
||||
cy="28.869568"
|
||||
fx="45.883327"
|
||||
fy="28.869568"
|
||||
r="19.467436"
|
||||
gradientUnits="userSpaceOnUse" /><radialGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient3377"
|
||||
id="radialGradient3703"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
cx="135.38333"
|
||||
cy="97.369568"
|
||||
fx="135.38333"
|
||||
fy="97.369568"
|
||||
r="19.467436"
|
||||
gradientTransform="matrix(0.97435,0.2250379,-0.4623105,2.0016728,48.487554,-127.99883)" /><linearGradient
|
||||
id="linearGradient3377"><stop
|
||||
id="stop3379"
|
||||
offset="0"
|
||||
style="stop-color:#faff2b;stop-opacity:1;" /><stop
|
||||
id="stop3381"
|
||||
offset="1"
|
||||
style="stop-color:#ffaa00;stop-opacity:1;" /></linearGradient><radialGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient3377"
|
||||
id="radialGradient3705"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
cx="148.88333"
|
||||
cy="81.869568"
|
||||
fx="148.88333"
|
||||
fy="81.869568"
|
||||
r="19.467436"
|
||||
gradientTransform="matrix(1.3852588,-0.05136783,0.03705629,0.9993132,-60.392403,7.7040438)" /><inkscape:perspective
|
||||
sodipodi:type="inkscape:persp3d"
|
||||
inkscape:vp_x="0 : 32 : 1"
|
||||
inkscape:vp_y="0 : 1000 : 0"
|
||||
inkscape:vp_z="64 : 32 : 1"
|
||||
inkscape:persp3d-origin="32 : 21.333333 : 1"
|
||||
id="perspective2868" /><marker
|
||||
orient="auto"
|
||||
refY="0"
|
||||
refX="0"
|
||||
id="marker3034"
|
||||
style="overflow:visible"><path
|
||||
id="path3032"
|
||||
d="M 0,0 5,-5 -12.5,0 5,5 Z"
|
||||
style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1.00000003pt;stroke-opacity:1"
|
||||
transform="matrix(-0.4,0,0,-0.4,-4,0)" /></marker><marker
|
||||
orient="auto"
|
||||
refY="0"
|
||||
refX="0"
|
||||
id="marker2976"
|
||||
style="overflow:visible"><path
|
||||
id="path2974"
|
||||
d="M 0,0 5,-5 -12.5,0 5,5 Z"
|
||||
style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1.00000003pt;stroke-opacity:1"
|
||||
transform="matrix(0.4,0,0,0.4,4,0)" /></marker><marker
|
||||
style="overflow:visible"
|
||||
id="Arrow1Sstart"
|
||||
refX="0"
|
||||
refY="0"
|
||||
orient="auto"><path
|
||||
transform="matrix(0.2,0,0,0.2,1.2,0)"
|
||||
style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1.00000003pt;stroke-opacity:1"
|
||||
d="M 0,0 5,-5 -12.5,0 5,5 Z"
|
||||
id="path839" /></marker><linearGradient
|
||||
id="linearGradient3794"><stop
|
||||
style="stop-color:#000000;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop3796" /><stop
|
||||
style="stop-color:#000000;stop-opacity:0;"
|
||||
offset="1"
|
||||
id="stop3798" /></linearGradient><linearGradient
|
||||
id="linearGradient3864"><stop
|
||||
id="stop3866"
|
||||
offset="0"
|
||||
style="stop-color:#71b2f8;stop-opacity:1;" /><stop
|
||||
id="stop3868"
|
||||
offset="1"
|
||||
style="stop-color:#002795;stop-opacity:1;" /></linearGradient><linearGradient
|
||||
id="linearGradient3767"><stop
|
||||
style="stop-color:#3465a4;stop-opacity:1"
|
||||
offset="0"
|
||||
id="stop3769" /><stop
|
||||
style="stop-color:#729fcf;stop-opacity:1"
|
||||
offset="1"
|
||||
id="stop3771" /></linearGradient><linearGradient
|
||||
id="linearGradient3777"><stop
|
||||
style="stop-color:#204a87;stop-opacity:1"
|
||||
offset="0"
|
||||
id="stop3779" /><stop
|
||||
style="stop-color:#3465a4;stop-opacity:1"
|
||||
offset="1"
|
||||
id="stop3781" /></linearGradient><radialGradient
|
||||
xlink:href="#linearGradient3794"
|
||||
id="radialGradient3800"
|
||||
cx="1"
|
||||
cy="45"
|
||||
fx="1"
|
||||
fy="45"
|
||||
r="41"
|
||||
gradientTransform="matrix(0.93348213,-2.2905276e-8,0,0.28687573,0.06651751,32.090592)"
|
||||
gradientUnits="userSpaceOnUse" /><linearGradient
|
||||
y2="21.83742"
|
||||
x2="47.502235"
|
||||
y1="51.179787"
|
||||
x1="53.896763"
|
||||
gradientTransform="matrix(0.66145831,-0.38958979,0,0.63269947,49.344787,283.66808)"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
id="linearGradient1141"
|
||||
xlink:href="#linearGradient3777" /><linearGradient
|
||||
y2="21.31134"
|
||||
x2="17.328547"
|
||||
y1="55.717518"
|
||||
x1="22.116516"
|
||||
gradientTransform="matrix(2.882353,0.59358255,0,2.3181818,136.36158,-174.5987)"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
id="linearGradient1143"
|
||||
xlink:href="#linearGradient3767" /><linearGradient
|
||||
y2="21.31134"
|
||||
x2="17.328547"
|
||||
y1="55.717518"
|
||||
x1="22.116516"
|
||||
gradientTransform="matrix(0.76262255,0.15705205,0,0.61335226,45.601725,262.63108)"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
id="linearGradient1148"
|
||||
xlink:href="#linearGradient3767" /><radialGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient3864"
|
||||
id="radialGradient3850"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(0.6028459,1.0471639,-1.9794021,1.1395295,127.9588,-74.456907)"
|
||||
cx="51.328892"
|
||||
cy="31.074146"
|
||||
fx="51.328892"
|
||||
fy="31.074146"
|
||||
r="19.571428" /><inkscape:perspective
|
||||
sodipodi:type="inkscape:persp3d"
|
||||
inkscape:vp_x="0 : 32 : 1"
|
||||
inkscape:vp_y="0 : 1000 : 0"
|
||||
inkscape:vp_z="64 : 32 : 1"
|
||||
inkscape:persp3d-origin="32 : 21.333333 : 1"
|
||||
id="perspective2988" /><radialGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient3377-6"
|
||||
id="radialGradient3699"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
cx="76.383331"
|
||||
cy="94.369568"
|
||||
fx="76.383331"
|
||||
fy="94.369568"
|
||||
r="19.467436"
|
||||
gradientTransform="matrix(0.9818943,0.1894295,-0.4109427,2.1300924,40.163453,-121.11559)" /><radialGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient3377"
|
||||
id="radialGradient3701"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
cx="84.883324"
|
||||
cy="77.042847"
|
||||
fx="84.883324"
|
||||
fy="77.042847"
|
||||
r="19.467436"
|
||||
gradientTransform="matrix(2.8492421,1.2585119,-0.4040415,0.9147407,-125.84131,-100.25805)" /><radialGradient
|
||||
r="19.467436"
|
||||
fy="77.042847"
|
||||
fx="84.883324"
|
||||
cy="77.042847"
|
||||
cx="84.883324"
|
||||
gradientTransform="matrix(2.8492421,1.2585119,-0.4040415,0.9147407,-125.84131,-100.25805)"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
id="radialGradient3017"
|
||||
xlink:href="#linearGradient3377-6"
|
||||
inkscape:collect="always" /><radialGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient3377-6"
|
||||
id="radialGradient3699-2"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
cx="76.383331"
|
||||
cy="94.369568"
|
||||
fx="76.383331"
|
||||
fy="94.369568"
|
||||
r="19.467436"
|
||||
gradientTransform="matrix(0.9818943,0.1894295,-0.4109427,2.1300924,40.163453,-121.11559)" /><linearGradient
|
||||
id="linearGradient3377-6"><stop
|
||||
id="stop3379-2"
|
||||
offset="0"
|
||||
style="stop-color:#00afff;stop-opacity:1;" /><stop
|
||||
id="stop3381-4"
|
||||
offset="1"
|
||||
style="stop-color:#0034ff;stop-opacity:1;" /></linearGradient><radialGradient
|
||||
r="19.467436"
|
||||
fy="77.042847"
|
||||
fx="84.883324"
|
||||
cy="77.042847"
|
||||
cx="84.883324"
|
||||
gradientTransform="matrix(2.8492421,1.2585119,-0.4040415,0.9147407,-125.84131,-100.25805)"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
id="radialGradient3017-8"
|
||||
xlink:href="#linearGradient3377-6"
|
||||
inkscape:collect="always" /><radialGradient
|
||||
r="19.467436"
|
||||
fy="77.042847"
|
||||
fx="84.883324"
|
||||
cy="77.042847"
|
||||
cx="84.883324"
|
||||
gradientTransform="matrix(2.8492421,1.2585119,-0.4040415,0.9147407,-125.84131,-100.25805)"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
id="radialGradient3844"
|
||||
xlink:href="#linearGradient3377-6"
|
||||
inkscape:collect="always" /><radialGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient3377-6"
|
||||
id="radialGradient3699-7"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
cx="76.383331"
|
||||
cy="94.369568"
|
||||
fx="76.383331"
|
||||
fy="94.369568"
|
||||
r="19.467436"
|
||||
gradientTransform="matrix(0.9818943,0.1894295,-0.4109427,2.1300924,40.163453,-121.11559)" /><radialGradient
|
||||
r="19.467436"
|
||||
fy="77.042847"
|
||||
fx="84.883324"
|
||||
cy="77.042847"
|
||||
cx="84.883324"
|
||||
gradientTransform="matrix(2.8492421,1.2585119,-0.4040415,0.9147407,-125.84131,-100.25805)"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
id="radialGradient3017-6"
|
||||
xlink:href="#linearGradient3377"
|
||||
inkscape:collect="always" /><radialGradient
|
||||
r="19.467436"
|
||||
fy="77.042847"
|
||||
fx="84.883324"
|
||||
cy="77.042847"
|
||||
cx="84.883324"
|
||||
gradientTransform="matrix(2.8492421,1.2585119,-0.4040415,0.9147407,-125.84131,-100.25805)"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
id="radialGradient3844-7"
|
||||
xlink:href="#linearGradient3377-6"
|
||||
inkscape:collect="always" /><radialGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient3864"
|
||||
id="radialGradient4112"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(-0.19157613,0.46621455,-1.1364164,-0.41904304,156.5648,24.076707)"
|
||||
cx="86.836884"
|
||||
cy="90.601151"
|
||||
fx="86.836884"
|
||||
fy="90.601151"
|
||||
r="19.467436" /><radialGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient3864"
|
||||
id="radialGradient4114"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(0.19036833,-0.61386357,1.99853,-0.19092801,-47.133199,165.45559)"
|
||||
cx="113.50187"
|
||||
cy="65.849281"
|
||||
fx="113.50187"
|
||||
fy="65.849281"
|
||||
r="19.467436" /><radialGradient
|
||||
r="19.467436"
|
||||
fy="65.849281"
|
||||
fx="113.50187"
|
||||
cy="65.849281"
|
||||
cx="113.50187"
|
||||
gradientTransform="matrix(0.19036833,-0.61386357,1.99853,-0.19092801,-47.133199,165.45559)"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
id="radialGradient3180"
|
||||
xlink:href="#linearGradient3864"
|
||||
inkscape:collect="always" /><radialGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient3864"
|
||||
id="radialGradient4112-9"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(-0.19157613,0.46621455,-1.1364164,-0.41904304,162.99236,26.56694)"
|
||||
cx="86.836884"
|
||||
cy="90.601151"
|
||||
fx="86.836884"
|
||||
fy="90.601151"
|
||||
r="19.467436" /><radialGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient3864"
|
||||
id="radialGradient4114-3"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(0.19036833,-0.61386357,1.99853,-0.19092801,-47.133199,165.45559)"
|
||||
cx="113.50187"
|
||||
cy="65.849281"
|
||||
fx="113.50187"
|
||||
fy="65.849281"
|
||||
r="19.467436" /><radialGradient
|
||||
r="19.467436"
|
||||
fy="65.849281"
|
||||
fx="113.50187"
|
||||
cy="65.849281"
|
||||
cx="113.50187"
|
||||
gradientTransform="matrix(0.19036833,-0.61386357,1.99853,-0.19092801,-47.133199,165.45559)"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
id="radialGradient3180-6"
|
||||
xlink:href="#linearGradient3864"
|
||||
inkscape:collect="always" /><radialGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient3864"
|
||||
id="radialGradient4112-7"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(-0.19157613,0.46621455,-1.1364164,-0.41904304,156.5648,24.076707)"
|
||||
cx="86.836884"
|
||||
cy="90.601151"
|
||||
fx="86.836884"
|
||||
fy="90.601151"
|
||||
r="19.467436" /><radialGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient3864"
|
||||
id="radialGradient4114-9"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(0.19036833,-0.61386357,1.99853,-0.19092801,-47.133199,165.45559)"
|
||||
cx="113.50187"
|
||||
cy="65.849281"
|
||||
fx="113.50187"
|
||||
fy="65.849281"
|
||||
r="19.467436" /><radialGradient
|
||||
r="19.467436"
|
||||
fy="65.849281"
|
||||
fx="113.50187"
|
||||
cy="65.849281"
|
||||
cx="113.50187"
|
||||
gradientTransform="matrix(0.19036833,-0.61386357,1.99853,-0.19092801,-47.133199,165.45559)"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
id="radialGradient3180-9"
|
||||
xlink:href="#linearGradient3864"
|
||||
inkscape:collect="always" /><linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient3864"
|
||||
id="linearGradient3822"
|
||||
x1="154.13527"
|
||||
y1="33.267025"
|
||||
x2="165.61629"
|
||||
y2="46.429642"
|
||||
gradientUnits="userSpaceOnUse" /><radialGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient3864"
|
||||
id="radialGradient3703-5"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
cx="132.70454"
|
||||
cy="90.193245"
|
||||
fx="132.70454"
|
||||
fy="90.193245"
|
||||
r="19.467436"
|
||||
gradientTransform="matrix(-0.08162339,1.3949072,-1.1572569,-0.26963374,245.22773,-105.44363)" /><radialGradient
|
||||
r="19.467436"
|
||||
fy="90.193245"
|
||||
fx="132.70454"
|
||||
cy="90.193245"
|
||||
cx="132.70454"
|
||||
gradientTransform="matrix(-0.08162339,1.3949072,-1.1572569,-0.26963374,245.22773,-105.44363)"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
id="radialGradient3294"
|
||||
xlink:href="#linearGradient3864"
|
||||
inkscape:collect="always" /><linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient4023"
|
||||
id="linearGradient4029"
|
||||
x1="45"
|
||||
y1="34"
|
||||
x2="50"
|
||||
y2="59"
|
||||
gradientUnits="userSpaceOnUse" /><linearGradient
|
||||
inkscape:collect="always"
|
||||
id="linearGradient4023"><stop
|
||||
style="stop-color:#8ae234;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop4025" /><stop
|
||||
style="stop-color:#4e9a06;stop-opacity:1"
|
||||
offset="1"
|
||||
id="stop4027" /></linearGradient><linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient3801-6-1"
|
||||
id="linearGradient3807-3-9"
|
||||
x1="110"
|
||||
y1="35"
|
||||
x2="85"
|
||||
y2="35"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
spreadMethod="reflect"
|
||||
gradientTransform="matrix(0.45833337,0,0,0.51724135,7.374997,5.432404)" /><linearGradient
|
||||
inkscape:collect="always"
|
||||
id="linearGradient3801-6-1"><stop
|
||||
style="stop-color:#204a87;stop-opacity:1"
|
||||
offset="0"
|
||||
id="stop3803-7-2" /><stop
|
||||
style="stop-color:#729fcf;stop-opacity:1"
|
||||
offset="1"
|
||||
id="stop3805-5-7" /></linearGradient><linearGradient
|
||||
inkscape:collect="always"
|
||||
id="linearGradient3801-6"><stop
|
||||
style="stop-color:#c4a000;stop-opacity:1"
|
||||
offset="0"
|
||||
id="stop3803-7" /><stop
|
||||
style="stop-color:#fce94f;stop-opacity:1"
|
||||
offset="1"
|
||||
id="stop3805-5" /></linearGradient><linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient3801-6"
|
||||
id="linearGradient3807-3-9-3"
|
||||
x1="110"
|
||||
y1="35"
|
||||
x2="85"
|
||||
y2="35"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
spreadMethod="reflect"
|
||||
gradientTransform="matrix(0.45833337,0,0,0.51724135,7.374996,33.448275)" /><linearGradient
|
||||
id="linearGradient4389"
|
||||
x1="20.244"
|
||||
x2="17.244"
|
||||
y1="37.588"
|
||||
y2="27.588"
|
||||
gradientTransform="translate(-1.2435,-2.5881)"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
xlink:href="#linearGradient3774" /><linearGradient
|
||||
id="linearGradient4399"
|
||||
x1="48.714"
|
||||
x2="44.714"
|
||||
y1="45.586"
|
||||
y2="34.586"
|
||||
gradientTransform="translate(1.2856,1.4142)"
|
||||
gradientUnits="userSpaceOnUse"><stop
|
||||
stop-color="#c4a000"
|
||||
offset="0"
|
||||
id="stop8" /><stop
|
||||
stop-color="#edd400"
|
||||
offset="1"
|
||||
id="stop10" /></linearGradient><linearGradient
|
||||
id="linearGradient69042"
|
||||
x1="48.714"
|
||||
x2="44.714"
|
||||
y1="45.586"
|
||||
y2="34.586"
|
||||
gradientTransform="translate(-12.714,-17.586)"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
xlink:href="#linearGradient3774" /><linearGradient
|
||||
id="linearGradient69056"
|
||||
x1="27.244"
|
||||
x2="22.244"
|
||||
y1="54.588"
|
||||
y2="40.588"
|
||||
gradientTransform="translate(-1.2435,-2.5881)"
|
||||
gradientUnits="userSpaceOnUse"><stop
|
||||
stop-color="#c4a000"
|
||||
offset="0"
|
||||
id="stop14" /><stop
|
||||
stop-color="#fce94f"
|
||||
offset="1"
|
||||
id="stop16" /></linearGradient><linearGradient
|
||||
id="linearGradient69709"
|
||||
x1="20.244"
|
||||
x2="17.244"
|
||||
y1="37.588"
|
||||
y2="27.588"
|
||||
gradientTransform="matrix(1,-0.026667,0,1,81.696,-5.3735)"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
xlink:href="#linearGradient3767" /><linearGradient
|
||||
id="linearGradient69717"
|
||||
x1="50.714"
|
||||
x2="48.714"
|
||||
y1="25.586"
|
||||
y2="20.586"
|
||||
gradientTransform="translate(61.2256,1.0356)"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
xlink:href="#linearGradient3767" /><linearGradient
|
||||
id="linearGradient3774"><stop
|
||||
stop-color="#4e9a06"
|
||||
offset="0"
|
||||
id="stop21" /><stop
|
||||
stop-color="#8ae234"
|
||||
offset="1"
|
||||
id="stop23" /></linearGradient></defs><g
|
||||
inkscape:label="Layer 1"
|
||||
inkscape:groupmode="layer"
|
||||
id="layer1"><g
|
||||
id="layer1-2"
|
||||
inkscape:label="Layer 1"
|
||||
transform="matrix(0.26458333,0,0,0.26458333,-2.1375e-7,1.8190105)"
|
||||
style="fill:#cccccc"><rect
|
||||
style="color:#000000;display:inline;overflow:visible;visibility:visible;fill:#cccccc;stroke:#2e3436;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;paint-order:fill markers stroke;enable-background:accumulate"
|
||||
id="rect3002-9"
|
||||
width="56"
|
||||
height="44"
|
||||
x="4"
|
||||
y="8" /><rect
|
||||
style="color:#000000;display:inline;overflow:visible;visibility:visible;fill:#cccccc;fill-opacity:1;stroke:none;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;enable-background:accumulate"
|
||||
id="rect3002-9-3"
|
||||
width="54"
|
||||
height="42"
|
||||
x="5"
|
||||
y="9" /><path
|
||||
style="fill:#cccccc;stroke:#2e3436;stroke-width:4;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="M 3,18 H 61"
|
||||
id="path3790"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="cc" /><path
|
||||
style="fill:#cccccc;stroke:#2e3436;stroke-width:4;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="M 22,6 V 54"
|
||||
id="path3792"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="cc" /><path
|
||||
style="fill:#cccccc;stroke:#2e3436;stroke-width:4;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="M 3,30 H 61"
|
||||
id="path3794"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="cc" /><path
|
||||
style="fill:#cccccc;stroke:#2e3436;stroke-width:4;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="M 3,42 H 61"
|
||||
id="path3796"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="cc" /></g><rect
|
||||
style="fill:#217844;fill-opacity:1;stroke:#2e3436;stroke-width:0.813824;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:normal"
|
||||
id="rect6"
|
||||
width="15.08098"
|
||||
height="2.6350014"
|
||||
x="0.92617661"
|
||||
y="1.1682484" /></g></svg>
|
||||
|
After Width: | Height: | Size: 22 KiB |
@@ -0,0 +1,298 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
width="64"
|
||||
height="64"
|
||||
version="1.1"
|
||||
viewBox="0 0 64 64"
|
||||
id="svg96"
|
||||
sodipodi:docname="Assembly_BillOfMaterialsGroup.svg"
|
||||
inkscape:version="1.1-beta1 (77e7b44db3, 2021-03-28)"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/">
|
||||
<sodipodi:namedview
|
||||
id="namedview68"
|
||||
pagecolor="#505050"
|
||||
bordercolor="#eeeeee"
|
||||
borderopacity="1"
|
||||
objecttolerance="10.0"
|
||||
gridtolerance="10.0"
|
||||
guidetolerance="10.0"
|
||||
inkscape:pageshadow="0"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pagecheckerboard="0"
|
||||
showgrid="false"
|
||||
inkscape:zoom="5.8828125"
|
||||
inkscape:cx="-24.563081"
|
||||
inkscape:cy="18.273572"
|
||||
inkscape:window-width="3840"
|
||||
inkscape:window-height="1571"
|
||||
inkscape:window-x="-9"
|
||||
inkscape:window-y="-9"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="svg96" />
|
||||
<defs
|
||||
id="defs26">
|
||||
<linearGradient
|
||||
id="linearGradient1">
|
||||
<stop
|
||||
style="stop-color:#efdc3d;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop1" />
|
||||
<stop
|
||||
style="stop-color:#bba80d;stop-opacity:1;"
|
||||
offset="1"
|
||||
id="stop3" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient4383">
|
||||
<stop
|
||||
stop-color="#3465a4"
|
||||
offset="0"
|
||||
id="stop2" />
|
||||
<stop
|
||||
stop-color="#729fcf"
|
||||
offset="1"
|
||||
id="stop4" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient4399"
|
||||
x1="48.714"
|
||||
x2="44.714"
|
||||
y1="45.586"
|
||||
y2="34.586"
|
||||
gradientTransform="translate(1.2856,1.4142)"
|
||||
gradientUnits="userSpaceOnUse">
|
||||
<stop
|
||||
stop-color="#c4a000"
|
||||
offset="0"
|
||||
id="stop8" />
|
||||
<stop
|
||||
stop-color="#edd400"
|
||||
offset="1"
|
||||
id="stop10" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient69056"
|
||||
x1="27.244"
|
||||
x2="22.244"
|
||||
y1="54.588"
|
||||
y2="40.588"
|
||||
gradientTransform="translate(-1.2435,-2.5881)"
|
||||
gradientUnits="userSpaceOnUse">
|
||||
<stop
|
||||
stop-color="#c4a000"
|
||||
offset="0"
|
||||
id="stop14" />
|
||||
<stop
|
||||
stop-color="#fce94f"
|
||||
offset="1"
|
||||
id="stop16" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient3774">
|
||||
<stop
|
||||
stop-color="#4e9a06"
|
||||
offset="0"
|
||||
id="stop21" />
|
||||
<stop
|
||||
stop-color="#8ae234"
|
||||
offset="1"
|
||||
id="stop23" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient4383"
|
||||
id="linearGradient9"
|
||||
x1="32"
|
||||
y1="64"
|
||||
x2="32"
|
||||
y2="14.419661"
|
||||
gradientUnits="userSpaceOnUse" />
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient4399"
|
||||
id="linearGradient13"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="translate(1.2856,1.4142)"
|
||||
x1="48.714"
|
||||
y1="45.586"
|
||||
x2="44.714"
|
||||
y2="34.586" />
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient1"
|
||||
id="linearGradient14"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
x1="8.000092"
|
||||
y1="31.5"
|
||||
x2="55.999914"
|
||||
y2="31.5" />
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient3774"
|
||||
id="linearGradient15"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="translate(-1.2435,-2.5881)"
|
||||
x1="20.244"
|
||||
y1="37.588"
|
||||
x2="17.244"
|
||||
y2="27.588" />
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient3774"
|
||||
id="linearGradient16"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="translate(-12.714,-17.586)"
|
||||
x1="48.714"
|
||||
y1="45.586"
|
||||
x2="44.714"
|
||||
y2="34.586" />
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient69056"
|
||||
id="linearGradient17"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="translate(-41.2435,-2.5881)"
|
||||
x1="20.243999"
|
||||
y1="37.588001"
|
||||
x2="17.243999"
|
||||
y2="27.587999" />
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient4399"
|
||||
id="linearGradient18"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="translate(-52.714,-17.586)"
|
||||
x1="48.714001"
|
||||
y1="45.585999"
|
||||
x2="44.714001"
|
||||
y2="34.585999" />
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient4383"
|
||||
id="linearGradient19"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(1,-0.026667,0,1,81.696,-5.3735)"
|
||||
x1="20.244"
|
||||
y1="37.588"
|
||||
x2="17.244"
|
||||
y2="27.588" />
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient4383"
|
||||
id="linearGradient20"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="translate(61.2256,1.0356)"
|
||||
x1="50.714"
|
||||
y1="25.586"
|
||||
x2="48.714"
|
||||
y2="20.586" />
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient69056"
|
||||
id="linearGradient21"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="translate(-1.2435,-2.5881)"
|
||||
x1="27.244"
|
||||
y1="54.588"
|
||||
x2="22.244"
|
||||
y2="40.588" />
|
||||
</defs>
|
||||
<metadata
|
||||
id="metadata28">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:date>2015-07-04</dc:date>
|
||||
<dc:relation>https://www.freecad.org/wiki/index.php?title=Artwork</dc:relation>
|
||||
<dc:publisher>
|
||||
<cc:Agent>
|
||||
<dc:title>FreeCAD</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:publisher>
|
||||
<dc:identifier>FreeCAD/src/Mod/Path/Gui/Resources/icons/Path-Stock.svg</dc:identifier>
|
||||
<dc:rights>
|
||||
<cc:Agent>
|
||||
<dc:title>FreeCAD LGPL2+</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:rights>
|
||||
<cc:license>https://www.gnu.org/copyleft/lesser.html</cc:license>
|
||||
<dc:contributor>
|
||||
<cc:Agent>
|
||||
<dc:title>[agryson] Alexander Gryson</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:contributor>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
id="layer3"
|
||||
style="display:inline">
|
||||
<path
|
||||
style="fill:#204a87;fill-opacity:1;stroke:#0c1522;stroke-width:2;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:normal"
|
||||
id="path4"
|
||||
d="M 29.921921,10.073012 26.993293,6.1977395 C 26.21651,5.1698698 25.163057,4.5924975 24.064598,4.5924975 H 5.0714589 c -1.1437425,0 -2.0708717,1.2268134 -2.0708717,2.740257 V 58.484215 c 0,0.504481 0.309043,0.913419 0.6902905,0.913419 H 60.294706 c 0.381247,0 0.690291,-0.408938 0.690291,-0.913419 V 12.813269 c 0,-1.513445 -0.927129,-2.740257 -2.070872,-2.740257 z" />
|
||||
<path
|
||||
style="fill:#204a87;fill-opacity:1;stroke:#3465a4;stroke-width:2;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:normal"
|
||||
id="path7"
|
||||
d="M 5.2089844,6.5917969 H 24.064453 c 0.375444,0 0.874561,0.2026195 1.333984,0.8105468 l 3.527344,4.6699223 h 29.84961 c 0.0082,0.01044 0.01784,0.02289 0.02734,0.03711 0.01056,0.0158 0.02193,0.03237 0.0332,0.05273 0.08049,0.145363 0.148438,0.361331 0.148438,0.650391 v 44.58594 H 5 V 7.3320312 C 5,7.0436394 5.0678061,6.828994 5.1484375,6.6835937 c 0.011294,-0.020366 0.022609,-0.038859 0.033203,-0.054687 0.00953,-0.014245 0.019073,-0.026632 0.027344,-0.03711 z" />
|
||||
<path
|
||||
style="fill:#729fcf;fill-opacity:1;stroke:#0c1522;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:normal"
|
||||
id="path6-0"
|
||||
d="m 29.919347,14.419661 -2.927223,3.534545 C 26.215716,18.891703 25.16247,19.41831 24.064012,19.41831 H 3.0000008 l 0.015588,39.156085 c 2.171e-4,0.460126 0.3093777,0.833108 0.6906252,0.833108 h 56.603828 c 0.381248,0 0.690139,-0.372982 0.689957,-0.833108 L 60.983419,16.918986 C 60.982865,15.538609 60.055293,14.419661 58.91155,14.419661 H 29.919344 Z" />
|
||||
<path
|
||||
style="fill:url(#linearGradient9);fill-opacity:1;stroke:#729fcf;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:normal"
|
||||
id="path8"
|
||||
d="m 30.861328,16.419922 h 28.050781 c 0,0 0.07225,0.463543 0.07227,0.5 L 59,57.408203 H 5.015625 L 5,21.417969 h 19.064453 c 1.756119,0 3.349555,-0.836095 4.46875,-2.1875 z" />
|
||||
</g>
|
||||
<g
|
||||
id="layer1-2"
|
||||
inkscape:label="Layer 1"
|
||||
transform="matrix(0.61968135,0,0,0.56329122,15.349257,25.353936)"
|
||||
style="fill:#cccccc">
|
||||
<rect
|
||||
style="color:#000000;display:inline;overflow:visible;visibility:visible;fill:#cccccc;stroke:#2e3436;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;paint-order:fill markers stroke;enable-background:accumulate"
|
||||
id="rect3002-9"
|
||||
width="56"
|
||||
height="44"
|
||||
x="4"
|
||||
y="8" />
|
||||
<rect
|
||||
style="color:#000000;display:inline;overflow:visible;visibility:visible;fill:#cccccc;fill-opacity:1;stroke:none;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;enable-background:accumulate"
|
||||
id="rect3002-9-3"
|
||||
width="54"
|
||||
height="42"
|
||||
x="5"
|
||||
y="9" />
|
||||
<path
|
||||
style="fill:#cccccc;stroke:#2e3436;stroke-width:4;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="M 3,18 H 61"
|
||||
id="path3790"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="cc" />
|
||||
<path
|
||||
style="fill:#cccccc;stroke:#2e3436;stroke-width:4;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="M 22,6 V 54"
|
||||
id="path3792"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="cc" />
|
||||
<path
|
||||
style="fill:#cccccc;stroke:#2e3436;stroke-width:4;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="M 3,30 H 61"
|
||||
id="path3794"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="cc" />
|
||||
<path
|
||||
style="fill:#cccccc;stroke:#2e3436;stroke-width:4;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="M 3,42 H 61"
|
||||
id="path3796"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="cc" />
|
||||
</g>
|
||||
<rect
|
||||
style="fill:#217844;fill-opacity:1;stroke:#2e3436;stroke-width:1.81727;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:normal"
|
||||
id="rect6"
|
||||
width="35.321205"
|
||||
height="5.6098514"
|
||||
x="17.518461"
|
||||
y="23.968481" />
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 11 KiB |
@@ -0,0 +1,247 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
width="64px"
|
||||
height="64px"
|
||||
id="svg2821"
|
||||
sodipodi:version="0.32"
|
||||
inkscape:version="1.1-beta1 (77e7b44db3, 2021-03-28)"
|
||||
sodipodi:docname="Assembly_CreateJointAngle.svg.2024_05_14_12_23_06.0.svg"
|
||||
inkscape:output_extension="org.inkscape.output.svg.inkscape"
|
||||
version="1.1"
|
||||
xml:space="preserve"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"><defs
|
||||
id="defs2823"><linearGradient
|
||||
id="linearGradient2"
|
||||
inkscape:collect="always"><stop
|
||||
style="stop-color:#3465a4;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop1" /><stop
|
||||
style="stop-color:#729fcf;stop-opacity:1;"
|
||||
offset="1"
|
||||
id="stop2" /></linearGradient><linearGradient
|
||||
id="linearGradient5"
|
||||
inkscape:collect="always"><stop
|
||||
style="stop-color:#c5a202;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop5" /><stop
|
||||
style="stop-color:#f6e76f;stop-opacity:1;"
|
||||
offset="1"
|
||||
id="stop6" /></linearGradient><radialGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient3377"
|
||||
id="radialGradient3701"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
cx="84.883324"
|
||||
cy="77.042847"
|
||||
fx="84.883324"
|
||||
fy="77.042847"
|
||||
r="19.467436"
|
||||
gradientTransform="matrix(2.8492421,1.2585119,-0.4040415,0.9147407,-125.84131,-100.25805)" /><linearGradient
|
||||
id="linearGradient3377"><stop
|
||||
id="stop3379"
|
||||
offset="0"
|
||||
style="stop-color:#faff2b;stop-opacity:1;" /><stop
|
||||
id="stop3381"
|
||||
offset="1"
|
||||
style="stop-color:#ffaa00;stop-opacity:1;" /></linearGradient><radialGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient3377"
|
||||
id="radialGradient3699"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
cx="76.383331"
|
||||
cy="94.369568"
|
||||
fx="76.383331"
|
||||
fy="94.369568"
|
||||
r="19.467436"
|
||||
gradientTransform="matrix(0.9818943,0.1894295,-0.4109427,2.1300924,40.163453,-121.11559)" /><inkscape:perspective
|
||||
sodipodi:type="inkscape:persp3d"
|
||||
inkscape:vp_x="0 : 32 : 1"
|
||||
inkscape:vp_y="0 : 1000 : 0"
|
||||
inkscape:vp_z="64 : 32 : 1"
|
||||
inkscape:persp3d-origin="32 : 21.333333 : 1"
|
||||
id="perspective2829" /><linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient3801-5"
|
||||
id="linearGradient3807-7"
|
||||
x1="110"
|
||||
y1="35"
|
||||
x2="85"
|
||||
y2="35"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
spreadMethod="reflect"
|
||||
gradientTransform="translate(-62,-16)" /><linearGradient
|
||||
inkscape:collect="always"
|
||||
id="linearGradient3801-5"><stop
|
||||
style="stop-color:#c4a000;stop-opacity:1"
|
||||
offset="0"
|
||||
id="stop3803-3" /><stop
|
||||
style="stop-color:#fce94f;stop-opacity:1"
|
||||
offset="1"
|
||||
id="stop3805-5" /></linearGradient><linearGradient
|
||||
xlink:href="#linearGradient3838"
|
||||
id="linearGradient3844"
|
||||
x1="2802.9631"
|
||||
y1="538.36249"
|
||||
x2="2859.7263"
|
||||
y2="786.05646"
|
||||
gradientUnits="userSpaceOnUse" /><linearGradient
|
||||
id="linearGradient3838"><stop
|
||||
style="stop-color:#34e0e2;stop-opacity:1"
|
||||
offset="0"
|
||||
id="stop3840" /><stop
|
||||
style="stop-color:#06989a;stop-opacity:1"
|
||||
offset="1"
|
||||
id="stop3842" /></linearGradient><linearGradient
|
||||
y2="786.05646"
|
||||
x2="2859.7263"
|
||||
y1="538.36249"
|
||||
x1="2802.9631"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
id="linearGradient3045"
|
||||
xlink:href="#linearGradient3172" /><linearGradient
|
||||
id="linearGradient3172"><stop
|
||||
id="stop3174"
|
||||
offset="0"
|
||||
style="stop-color:#ef2929;stop-opacity:1" /><stop
|
||||
id="stop3176"
|
||||
offset="1"
|
||||
style="stop-color:#a40000;stop-opacity:1" /></linearGradient><linearGradient
|
||||
xlink:href="#linearGradient3172"
|
||||
id="linearGradient3880"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
x1="2802.9631"
|
||||
y1="626.0874"
|
||||
x2="2849.4058"
|
||||
y2="822.17853" /><linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient5"
|
||||
id="linearGradient6"
|
||||
x1="51"
|
||||
y1="53"
|
||||
x2="11"
|
||||
y2="12"
|
||||
gradientUnits="userSpaceOnUse" /><linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient2"
|
||||
id="linearGradient7"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
x1="51"
|
||||
y1="53"
|
||||
x2="11"
|
||||
y2="12" /><linearGradient
|
||||
id="linearGradient3602"><stop
|
||||
style="stop-color:#ff2600;stop-opacity:1"
|
||||
offset="0"
|
||||
id="stop3604" /><stop
|
||||
style="stop-color:#ff5f00;stop-opacity:1"
|
||||
offset="1"
|
||||
id="stop3606" /></linearGradient><linearGradient
|
||||
xlink:href="#linearGradient3602-7"
|
||||
id="linearGradient3608-5"
|
||||
x1="3.909091"
|
||||
y1="14.363636"
|
||||
x2="24.81818"
|
||||
y2="14.363636"
|
||||
gradientUnits="userSpaceOnUse" /><linearGradient
|
||||
id="linearGradient3602-7"><stop
|
||||
style="stop-color:#c51900;stop-opacity:1"
|
||||
offset="0"
|
||||
id="stop3604-1" /><stop
|
||||
style="stop-color:#ff5f00;stop-opacity:1"
|
||||
offset="1"
|
||||
id="stop3606-3" /></linearGradient><linearGradient
|
||||
xlink:href="#linearGradient3602"
|
||||
id="linearGradient3608"
|
||||
x1="3.909091"
|
||||
y1="14.363636"
|
||||
x2="24.81818"
|
||||
y2="14.363636"
|
||||
gradientUnits="userSpaceOnUse" /></defs><sodipodi:namedview
|
||||
id="base"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:zoom="7.9999996"
|
||||
inkscape:cx="33.562502"
|
||||
inkscape:cy="26.812501"
|
||||
inkscape:current-layer="layer1"
|
||||
showgrid="true"
|
||||
inkscape:document-units="px"
|
||||
inkscape:grid-bbox="true"
|
||||
inkscape:window-width="3840"
|
||||
inkscape:window-height="1571"
|
||||
inkscape:window-x="-9"
|
||||
inkscape:window-y="-9"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:showpageshadow="2"
|
||||
inkscape:pagecheckerboard="0"
|
||||
inkscape:deskcolor="#d1d1d1"
|
||||
objecttolerance="10.0"
|
||||
gridtolerance="10.0"
|
||||
guidetolerance="10.0"><inkscape:grid
|
||||
type="xygrid"
|
||||
id="grid2992"
|
||||
empspacing="2"
|
||||
visible="true"
|
||||
enabled="true"
|
||||
snapvisiblegridlinesonly="true"
|
||||
originx="0"
|
||||
originy="0"
|
||||
spacingy="1"
|
||||
spacingx="1"
|
||||
units="px" /></sodipodi:namedview><metadata
|
||||
id="metadata2826"><rdf:RDF><cc:Work
|
||||
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:creator><cc:Agent><dc:title>[wmayer]</dc:title></cc:Agent></dc:creator><dc:title>Part_Cylinder</dc:title><dc:date>2011-10-10</dc:date><dc:relation>https://www.freecad.org/wiki/index.php?title=Artwork</dc:relation><dc:publisher><cc:Agent><dc:title>FreeCAD</dc:title></cc:Agent></dc:publisher><dc:identifier>FreeCAD/src/Mod/Part/Gui/Resources/icons/Part_Cylinder.svg</dc:identifier><dc:rights><cc:Agent><dc:title>FreeCAD LGPL2+</dc:title></cc:Agent></dc:rights><cc:license>https://www.gnu.org/copyleft/lesser.html</cc:license><dc:contributor><cc:Agent><dc:title>[agryson] Alexander Gryson</dc:title></cc:Agent></dc:contributor></cc:Work></rdf:RDF></metadata><g
|
||||
id="layer1"
|
||||
inkscape:label="Layer 1"
|
||||
inkscape:groupmode="layer"><g
|
||||
id="g6"
|
||||
inkscape:label="Plane"
|
||||
transform="matrix(0.8230368,-1.0288144,0.20180509,1.1485202,-23.11664,40.23718)"><rect
|
||||
style="fill:url(#linearGradient6);fill-opacity:1;stroke:#302b00;stroke-width:1.5;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="rect3"
|
||||
width="18.741289"
|
||||
height="31.970434"
|
||||
x="27.590284"
|
||||
y="9.9514246" /><rect
|
||||
style="display:inline;fill:none;fill-opacity:1;stroke:#fce94f;stroke-width:1.41052;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="rect4"
|
||||
width="15.985626"
|
||||
height="29.16909"
|
||||
x="29.03376"
|
||||
y="11.394899" /></g><g
|
||||
id="g7"
|
||||
inkscape:label="Plane"
|
||||
transform="matrix(0.7973634,1.0488376,0.23012353,-1.1431829,15.480955,23.808429)"><rect
|
||||
style="fill:url(#linearGradient7);fill-opacity:1;stroke:#0b1521;stroke-width:1.5;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="rect5"
|
||||
width="18.741289"
|
||||
height="31.970434"
|
||||
x="27.590284"
|
||||
y="9.9514246" /><rect
|
||||
style="display:inline;fill:none;fill-opacity:1;stroke:#729fcf;stroke-width:1.41052;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="rect6"
|
||||
width="15.985626"
|
||||
height="29.16909"
|
||||
x="29.03376"
|
||||
y="11.394899" /></g><g
|
||||
id="g3894"
|
||||
transform="matrix(0.00813826,0.66936644,-0.66936644,0.00813826,55.226519,-4.6753121)"><path
|
||||
id="path3034-34"
|
||||
style="fill:#cc0000;stroke:#280000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1"
|
||||
d="m 39.727861,59.856357 -7.931696,1.051156 16.468003,13.415414 9.308602,-16.824452 -7.931071,1.047948 c 0,0 -4.769344,-11.438514 -4.482124,-23.814377 0.28722,-12.375864 1.516836,-15.35858 4.39628,-21.679188 L 57.428979,14.472015 48.79528,-3.6228801 31.841329,9.8597542 39.714452,11.278912 c -2.215519,7.193925 -4.338433,11.514683 -4.491101,23.232511 -0.152668,11.717827 4.50451,25.344934 4.50451,25.344934 z"
|
||||
sodipodi:nodetypes="cccccscccccsc" /><path
|
||||
id="path3034-3-3"
|
||||
style="fill:none;stroke:#ef2929;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||
d="M 42.294596,61.458559 36.569302,62.26303 47.6973,71.281842 53.888294,59.977938 47.993171,60.40505 c 0,0 -5.098096,-12.019738 -4.755572,-25.591292 0.342524,-13.571554 1.305822,-15.996059 5.390456,-23.690189 l 5.444938,0.870018 -5.828556,-12.39576816 -11.632888,9.19343146 5.69744,1.2620077 c -2.622347,8.275164 -4.424811,10.151942 -5.031073,24.467329 -0.606263,14.315386 5.01668,26.937972 5.01668,26.937972 z"
|
||||
sodipodi:nodetypes="cccccscccccsc" /></g></g></svg>
|
||||
|
After Width: | Height: | Size: 10 KiB |
@@ -0,0 +1,225 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
width="64px"
|
||||
height="64px"
|
||||
id="svg2784"
|
||||
sodipodi:version="0.32"
|
||||
inkscape:version="1.3 (0e150ed6c4, 2023-07-21)"
|
||||
sodipodi:docname="Assembly_CreateJointBall.svg"
|
||||
inkscape:output_extension="org.inkscape.output.svg.inkscape"
|
||||
version="1.1"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/">
|
||||
<defs
|
||||
id="defs2786">
|
||||
<linearGradient
|
||||
id="linearGradient3377">
|
||||
<stop
|
||||
id="stop3379"
|
||||
offset="0"
|
||||
style="stop-color:#faff2b;stop-opacity:1;" />
|
||||
<stop
|
||||
id="stop3381"
|
||||
offset="1"
|
||||
style="stop-color:#ffaa00;stop-opacity:1;" />
|
||||
</linearGradient>
|
||||
<inkscape:perspective
|
||||
sodipodi:type="inkscape:persp3d"
|
||||
inkscape:vp_x="0 : 32 : 1"
|
||||
inkscape:vp_y="0 : 1000 : 0"
|
||||
inkscape:vp_z="64 : 32 : 1"
|
||||
inkscape:persp3d-origin="32 : 21.333333 : 1"
|
||||
id="perspective2792" />
|
||||
<linearGradient
|
||||
id="linearGradient3600">
|
||||
<stop
|
||||
style="stop-color:#fce94f;stop-opacity:1"
|
||||
offset="0"
|
||||
id="stop3602" />
|
||||
<stop
|
||||
style="stop-color:#c4a000;stop-opacity:1"
|
||||
offset="1"
|
||||
id="stop3604" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient3836-0-6-92-4-62"
|
||||
id="linearGradient3801-1-3-14-0-35"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
x1="-18"
|
||||
y1="18"
|
||||
x2="-22"
|
||||
y2="5"
|
||||
gradientTransform="matrix(0.76342439,0,0,0.75750425,-4.596389,2.7525637)" />
|
||||
<linearGradient
|
||||
id="linearGradient3836-0-6-92-4-62">
|
||||
<stop
|
||||
style="stop-color:#a40000;stop-opacity:1"
|
||||
offset="0"
|
||||
id="stop3838-2-7-06-8-9" />
|
||||
<stop
|
||||
style="stop-color:#ef2929;stop-opacity:1"
|
||||
offset="1"
|
||||
id="stop3840-5-5-8-7-1" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient3836-0-6-92-4-6"
|
||||
id="linearGradient3801-1-3-14-0-3"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
x1="-18"
|
||||
y1="18"
|
||||
x2="-22"
|
||||
y2="5"
|
||||
gradientTransform="matrix(0.76342439,0,0,0.75750425,-4.596389,2.7525637)" />
|
||||
<linearGradient
|
||||
id="linearGradient3836-0-6-92-4-6">
|
||||
<stop
|
||||
style="stop-color:#a40000;stop-opacity:1"
|
||||
offset="0"
|
||||
id="stop3838-2-7-06-8-7" />
|
||||
<stop
|
||||
style="stop-color:#ef2929;stop-opacity:1"
|
||||
offset="1"
|
||||
id="stop3840-5-5-8-7-5" />
|
||||
</linearGradient>
|
||||
<radialGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient3600"
|
||||
id="radialGradient3808"
|
||||
cx="20.802507"
|
||||
cy="18.626959"
|
||||
fx="20.802507"
|
||||
fy="18.626959"
|
||||
r="27.084639"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(0.66666671,0.70000004,-1.3510775,1.2867404,32.100634,-19.902858)" />
|
||||
</defs>
|
||||
<sodipodi:namedview
|
||||
id="base"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:zoom="12.830829"
|
||||
inkscape:cx="35.344558"
|
||||
inkscape:cy="26.225896"
|
||||
inkscape:current-layer="layer1"
|
||||
showgrid="true"
|
||||
inkscape:document-units="px"
|
||||
inkscape:grid-bbox="true"
|
||||
inkscape:window-width="2560"
|
||||
inkscape:window-height="1355"
|
||||
inkscape:window-x="0"
|
||||
inkscape:window-y="0"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:snap-bbox="false"
|
||||
inkscape:snap-nodes="true"
|
||||
inkscape:showpageshadow="2"
|
||||
inkscape:pagecheckerboard="0"
|
||||
inkscape:deskcolor="#d1d1d1">
|
||||
<inkscape:grid
|
||||
type="xygrid"
|
||||
id="grid2990"
|
||||
empspacing="2"
|
||||
visible="true"
|
||||
enabled="true"
|
||||
snapvisiblegridlinesonly="true"
|
||||
originx="0"
|
||||
originy="0"
|
||||
spacingy="1"
|
||||
spacingx="1"
|
||||
units="px" />
|
||||
</sodipodi:namedview>
|
||||
<metadata
|
||||
id="metadata2789">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title />
|
||||
<dc:creator>
|
||||
<cc:Agent>
|
||||
<dc:title>[wmayer]</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:creator>
|
||||
<dc:title>Part_Sphere</dc:title>
|
||||
<dc:date>2011-10-10</dc:date>
|
||||
<dc:relation>https://www.freecad.org/wiki/index.php?title=Artwork</dc:relation>
|
||||
<dc:publisher>
|
||||
<cc:Agent>
|
||||
<dc:title>FreeCAD</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:publisher>
|
||||
<dc:identifier>FreeCAD/src/Mod/Part/Gui/Resources/icons/Part_Sphere.svg</dc:identifier>
|
||||
<dc:rights>
|
||||
<cc:Agent>
|
||||
<dc:title>FreeCAD LGPL2+</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:rights>
|
||||
<cc:license>https://www.gnu.org/copyleft/lesser.html</cc:license>
|
||||
<dc:contributor>
|
||||
<cc:Agent>
|
||||
<dc:title>[agryson] Alexander Gryson</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:contributor>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
id="layer1"
|
||||
inkscape:label="Layer 1"
|
||||
inkscape:groupmode="layer">
|
||||
<g
|
||||
id="g1"
|
||||
inkscape:label="Part"
|
||||
transform="matrix(0.93353917,0,0,0.93353917,3.1649726,2.1267463)">
|
||||
<circle
|
||||
style="color:#000000;display:inline;overflow:visible;visibility:visible;fill:url(#radialGradient3808);fill-opacity:1;fill-rule:evenodd;stroke:#0b1521;stroke-width:1.80564;marker:none;enable-background:accumulate"
|
||||
id="path2826"
|
||||
transform="matrix(1.1076389,0,0,1.1076389,-3.0416672,-1.6319442)"
|
||||
cx="31.636364"
|
||||
cy="30.363636"
|
||||
r="26.181818" />
|
||||
<circle
|
||||
style="color:#000000;display:inline;overflow:visible;visibility:visible;fill:none;stroke:#fce94f;stroke-width:1.93939;marker:none;enable-background:accumulate"
|
||||
id="path2826-4"
|
||||
transform="matrix(1.03125,0,0,1.03125,-0.62500046,0.68750048)"
|
||||
cx="31.636364"
|
||||
cy="30.363636"
|
||||
r="26.181818" />
|
||||
<circle
|
||||
style="color:#000000;display:inline;overflow:visible;visibility:visible;fill:none;stroke:#302b00;stroke-width:1.80564;marker:none;enable-background:accumulate"
|
||||
id="path2826-5"
|
||||
transform="matrix(1.1076389,0,0,1.1076389,-3.0416672,-1.631944)"
|
||||
cx="31.636364"
|
||||
cy="30.363636"
|
||||
r="26.181818" />
|
||||
</g>
|
||||
<g
|
||||
id="g3894"
|
||||
transform="matrix(0.6694159,0,0,0.6694159,4.2205539,10.00682)">
|
||||
<path
|
||||
id="path3034"
|
||||
style="fill:#cc0000;stroke:#280000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1"
|
||||
d="M 39.435689,-9.2193606 22.481738,4.2632737 30.354861,5.682431 C 28.139342,12.876357 25.779589,21.326435 25.647513,28.336153 20.621027,28.097648 14.680826,27.982405 9.5795924,27.283697 V 19.282422 L -0.65406509,32.000136 9.5795924,45.283299 v -8.001276 c 5.2486296,0.563335 11.3491586,0.593405 16.5222416,0.781171 0.212452,10.975605 3.660408,22.398156 3.660408,22.398156 l -7.931696,1.051156 16.468003,13.415414 9.308602,-16.824452 -7.931071,1.047948 c 0,0 -3.320978,-11.786086 -3.588994,-20.895381 14.850801,0.04335 27.346547,-0.931521 27.346547,-0.931521 v 8.001275 L 78.494857,32.304106 63.433633,19.324912 v 7.998007 c 0,0 -12.763121,1.324855 -27.898923,1.261639 0.130526,-6.080064 1.78211,-14.807572 4.661554,-21.1281804 l 7.873124,1.4191567 z"
|
||||
sodipodi:nodetypes="ccccccccccccccccccccccccc" />
|
||||
<path
|
||||
id="path3034-3"
|
||||
style="fill:none;stroke:#ef2929;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||
d="M 38.707758,-6.0384473 27.07487,3.1549846 32.77231,4.4169926 C 30.149963,12.692156 27.521021,22.413058 27.600114,30.412309 21.174352,30.192993 14.021635,29.972526 7.846693,28.957167 L 7.6063922,24.90512 2.100653,32.037723 7.7104845,39.628047 7.988123,35.176229 c 6.656397,0.656479 14.060757,0.678825 20.270241,0.829137 -0.754789,10.41466 4.070613,26.058186 4.070613,26.058186 l -5.725294,0.804471 11.127998,9.018812 6.190994,-11.303904 -5.895123,0.427112 c 0,0 -4.00476,-13.644713 -3.981744,-24.656272 17.439557,0.09516 31.322143,-1.235491 31.322143,-1.235491 l -0.06521,6.138862 10.037393,-9.106656 -9.972181,-8.777479 v 5.747585 c 0,0 -14.932878,1.653558 -31.635918,1.529655 -0.09452,-7.467681 1.274707,-17.468814 5.359341,-25.1629439 l 5.444938,0.8700179 z"
|
||||
sodipodi:nodetypes="ccccccccccccccccccccccccc" />
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 8.7 KiB |
@@ -0,0 +1,315 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
width="64px"
|
||||
height="64px"
|
||||
id="svg2821"
|
||||
version="1.1"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/">
|
||||
<defs
|
||||
id="defs2823">
|
||||
<radialGradient
|
||||
xlink:href="#linearGradient3377"
|
||||
id="radialGradient3701"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
cx="84.883324"
|
||||
cy="77.042847"
|
||||
fx="84.883324"
|
||||
fy="77.042847"
|
||||
r="19.467436"
|
||||
gradientTransform="matrix(2.8492421,1.2585119,-0.4040415,0.9147407,-125.84131,-100.25805)" />
|
||||
<linearGradient
|
||||
id="linearGradient3377">
|
||||
<stop
|
||||
id="stop3379"
|
||||
offset="0"
|
||||
style="stop-color:#faff2b;stop-opacity:1;" />
|
||||
<stop
|
||||
id="stop3381"
|
||||
offset="1"
|
||||
style="stop-color:#ffaa00;stop-opacity:1;" />
|
||||
</linearGradient>
|
||||
<radialGradient
|
||||
xlink:href="#linearGradient3377"
|
||||
id="radialGradient3699"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
cx="76.383331"
|
||||
cy="94.369568"
|
||||
fx="76.383331"
|
||||
fy="94.369568"
|
||||
r="19.467436"
|
||||
gradientTransform="matrix(0.9818943,0.1894295,-0.4109427,2.1300924,40.163453,-121.11559)" />
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient3801-5"
|
||||
id="linearGradient3807-7"
|
||||
x1="110"
|
||||
y1="35"
|
||||
x2="85"
|
||||
y2="35"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
spreadMethod="reflect"
|
||||
gradientTransform="translate(-62,-16)" />
|
||||
<linearGradient
|
||||
id="linearGradient3801-5">
|
||||
<stop
|
||||
style="stop-color:#c4a000;stop-opacity:1"
|
||||
offset="0"
|
||||
id="stop3803-3" />
|
||||
<stop
|
||||
style="stop-color:#fce94f;stop-opacity:1"
|
||||
offset="1"
|
||||
id="stop3805-5" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient3838"
|
||||
id="linearGradient3844"
|
||||
x1="2802.9631"
|
||||
y1="538.36249"
|
||||
x2="2859.7263"
|
||||
y2="786.05646"
|
||||
gradientUnits="userSpaceOnUse" />
|
||||
<linearGradient
|
||||
id="linearGradient3838">
|
||||
<stop
|
||||
style="stop-color:#34e0e2;stop-opacity:1"
|
||||
offset="0"
|
||||
id="stop3840" />
|
||||
<stop
|
||||
style="stop-color:#06989a;stop-opacity:1"
|
||||
offset="1"
|
||||
id="stop3842" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
y2="786.05646"
|
||||
x2="2859.7263"
|
||||
y1="538.36249"
|
||||
x1="2802.9631"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
id="linearGradient3045"
|
||||
xlink:href="#linearGradient3172" />
|
||||
<linearGradient
|
||||
id="linearGradient3172">
|
||||
<stop
|
||||
id="stop3174"
|
||||
offset="0"
|
||||
style="stop-color:#ef2929;stop-opacity:1" />
|
||||
<stop
|
||||
id="stop3176"
|
||||
offset="1"
|
||||
style="stop-color:#a40000;stop-opacity:1" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient3172"
|
||||
id="linearGradient3880"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
x1="2802.9631"
|
||||
y1="626.0874"
|
||||
x2="2849.4058"
|
||||
y2="822.17853" />
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient14"
|
||||
id="linearGradient1202"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
x1="20.84487"
|
||||
y1="23.22938"
|
||||
x2="59.215775"
|
||||
y2="21.504377" />
|
||||
<linearGradient
|
||||
id="linearGradient14">
|
||||
<stop
|
||||
style="stop-color:#3465a4;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop13" />
|
||||
<stop
|
||||
style="stop-color:#729fcf;stop-opacity:1;"
|
||||
offset="0.44444445"
|
||||
id="stop15" />
|
||||
<stop
|
||||
style="stop-color:#3465a4;stop-opacity:1;"
|
||||
offset="0.6388889"
|
||||
id="stop14" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient3801-5"
|
||||
id="linearGradient3807"
|
||||
x1="74.090889"
|
||||
y1="36.438313"
|
||||
x2="98.940155"
|
||||
y2="39.402027"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
spreadMethod="reflect"
|
||||
gradientTransform="translate(-61,-0.19620034)" />
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient3"
|
||||
id="linearGradient1032"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
x1="22.892637"
|
||||
y1="20.68401"
|
||||
x2="57.249859"
|
||||
y2="18.718092" />
|
||||
<linearGradient
|
||||
id="linearGradient3">
|
||||
<stop
|
||||
style="stop-color:#3465a4;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop1" />
|
||||
<stop
|
||||
style="stop-color:#729fcf;stop-opacity:1;"
|
||||
offset="0.4285714"
|
||||
id="stop2" />
|
||||
<stop
|
||||
style="stop-color:#3465a4;stop-opacity:1;"
|
||||
offset="0.72727275"
|
||||
id="stop3" />
|
||||
</linearGradient>
|
||||
</defs>
|
||||
<metadata
|
||||
id="metadata2826">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:creator>
|
||||
<cc:Agent>
|
||||
<dc:title>[wmayer]</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:creator>
|
||||
<dc:date>2011-10-10</dc:date>
|
||||
<dc:relation>https://www.freecad.org/wiki/index.php?title=Artwork</dc:relation>
|
||||
<dc:publisher>
|
||||
<cc:Agent>
|
||||
<dc:title>FreeCAD</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:publisher>
|
||||
<dc:identifier>FreeCAD/src/Mod/Part/Gui/Resources/icons/Part_Cylinder.svg</dc:identifier>
|
||||
<dc:rights>
|
||||
<cc:Agent>
|
||||
<dc:title>FreeCAD LGPL2+</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:rights>
|
||||
<cc:license>https://www.gnu.org/copyleft/lesser.html</cc:license>
|
||||
<dc:contributor>
|
||||
<cc:Agent>
|
||||
<dc:title>[agryson] Alexander Gryson</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:contributor>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
id="layer1">
|
||||
<g
|
||||
id="g3"
|
||||
transform="rotate(-120,31.879612,32.082447)">
|
||||
<g
|
||||
id="g15-6"
|
||||
transform="matrix(1.1122207,0,0,1.1122207,-3.793277,28.042367)">
|
||||
<path
|
||||
id="ellipse12-0"
|
||||
style="fill:url(#linearGradient1202);stroke:#0b1521;stroke-width:1.43649;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4.5;stroke-dashoffset:20.4;stroke-opacity:1"
|
||||
d="m 44,26 c 0,2.209139 -5.372583,4 -12,4 -6.627417,0 -12,-1.790861 -12,-4 0,-0.97756 0,-12.999156 0,-12.999156 L 44,13 c 0,0 0,10.790861 0,13 z" />
|
||||
<path
|
||||
id="path15-7"
|
||||
style="fill:none;stroke:#729fcf;stroke-width:1.436;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4.5;stroke-dasharray:none;stroke-dashoffset:20.4;stroke-opacity:1"
|
||||
d="m 42.613211,25.495355 c 0,1.885463 -4.934755,3.259253 -10.613211,3.259253 -5.678457,0 -10.657405,-1.417985 -10.657405,-3.303448 V 16.3125 C 27.4375,19 36,19.375 42.613211,16.35597 Z" />
|
||||
<ellipse
|
||||
style="fill:#729fcf;fill-opacity:1;stroke:#0b1521;stroke-width:1.43649;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4.5;stroke-dasharray:none;stroke-dashoffset:20.4;stroke-opacity:1"
|
||||
id="path2994-7-7"
|
||||
cx="32"
|
||||
cy="13.000844"
|
||||
rx="12"
|
||||
ry="3.9999998" />
|
||||
</g>
|
||||
<g
|
||||
id="g2"
|
||||
transform="matrix(0,-0.70000239,0.70000239,0,10.072048,65.638672)"
|
||||
style="display:inline">
|
||||
<path
|
||||
id="path1"
|
||||
d="M 15,27 V 19 L 0.87149136,31.999999 15,45 v -8 h 14.714369 c 0,2.2e-5 0,0 0,0 V 27 Z"
|
||||
style="fill:#cc0000;stroke:#280000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" />
|
||||
<path
|
||||
id="path2"
|
||||
d="m 13.066964,29 0.02232,-5.529467 -9.1754064,8.529466 9.2200494,8.574111 V 35.089285 L 27.762035,35 v -6 0 z"
|
||||
style="fill:none;stroke:#ef2929;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
|
||||
</g>
|
||||
<g
|
||||
id="g2-7"
|
||||
transform="matrix(0.91296596,0,0,0.91296596,2.582875,-2.7977076)">
|
||||
<path
|
||||
style="fill:#fce94f;stroke:#302b00;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4.5;stroke-dashoffset:20.4;stroke-opacity:1"
|
||||
d="m 56.000001,50.3673 c 0,4.418278 -10.745166,8 -24,8 -13.254833,0 -23.9999985,-3.581722 -23.9999985,-8 l -2e-6,-23.901751 H 56 Z"
|
||||
id="path2994-3" />
|
||||
<path
|
||||
style="fill:url(#linearGradient3807);fill-opacity:1;stroke:#fce94f;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4.5;stroke-dashoffset:20.4;stroke-opacity:1"
|
||||
d="m 54,49.094573 c 0,4.016616 -9.84973,7.272727 -22,7.272727 -12.150264,0 -21.999999,-3.256111 -21.999999,-7.272727 L 9.9999995,28.21155 H 54 Z"
|
||||
id="path2994-3-6" />
|
||||
<path
|
||||
style="fill:none;stroke:#fce94f;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4.5;stroke-dashoffset:20.4;stroke-opacity:1"
|
||||
d="m 54,30.64805 c -2,3.272727 -9.84973,5.272727 -22,5.272727 -12.150264,0 -19,-2 -21.999999,-5.272727"
|
||||
id="path2994-3-6-9" />
|
||||
<ellipse
|
||||
style="fill:#fce94f;stroke:#302b00;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4.5;stroke-dasharray:none;stroke-dashoffset:20.4;stroke-opacity:1"
|
||||
id="path2994"
|
||||
cx="32"
|
||||
cy="26.465549"
|
||||
rx="24"
|
||||
ry="7.9999995" />
|
||||
</g>
|
||||
<g
|
||||
id="g15"
|
||||
transform="matrix(1.1122207,0,0,1.1122207,-3.793277,-7.0714821)">
|
||||
<path
|
||||
id="ellipse12"
|
||||
style="fill:url(#linearGradient1032);stroke:#0b1521;stroke-width:1.43649;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4.5;stroke-dashoffset:20.4;stroke-opacity:1"
|
||||
d="m 44,24 c 0,2.209139 -5.372583,4 -12,4 -6.627417,0 -12,-1.790861 -12,-4 V 13.000844 L 44,13 Z" />
|
||||
<path
|
||||
id="path15"
|
||||
style="fill:none;stroke:#729fcf;stroke-width:1.436;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4.5;stroke-dasharray:none;stroke-dashoffset:20.4;stroke-opacity:1"
|
||||
d="m 42.613211,23.495355 c 0,1.885463 -4.934755,3.259253 -10.613211,3.259253 -5.678457,0 -10.657405,-1.417985 -10.657405,-3.303448 V 16.3125 C 27.4375,19 36,19.375 42.613211,16.35597 Z" />
|
||||
<ellipse
|
||||
style="fill:#729fcf;fill-opacity:1;stroke:#0b1521;stroke-width:1.43649;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4.5;stroke-dasharray:none;stroke-dashoffset:20.4;stroke-opacity:1"
|
||||
id="path2994-7"
|
||||
cx="32"
|
||||
cy="13.000844"
|
||||
rx="12"
|
||||
ry="3.9999998" />
|
||||
</g>
|
||||
</g>
|
||||
<g
|
||||
id="g13"
|
||||
transform="rotate(-120,32.120361,31.864491)">
|
||||
<g
|
||||
id="g12"
|
||||
transform="matrix(0,0.70000239,-0.70000239,0,54.300069,4.2920858)"
|
||||
style="display:inline">
|
||||
<path
|
||||
id="path11"
|
||||
d="M 15,27 V 19 L 0.87149136,31.999999 15,45 v -8 h 14.714369 c 0,2.2e-5 0,0 0,0 V 27 Z"
|
||||
style="fill:#cc0000;stroke:#280000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" />
|
||||
<path
|
||||
id="path12"
|
||||
d="m 13.066964,29 0.02232,-5.529467 -9.1754064,8.529466 9.2200494,8.574111 V 35.089285 L 27.762035,35 v -6 0 z"
|
||||
style="fill:none;stroke:#ef2929;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
|
||||
</g>
|
||||
<g
|
||||
id="g3894"
|
||||
transform="matrix(-0.03889488,-0.66828501,0.66828501,-0.03889488,13.898176,69.121863)">
|
||||
<path
|
||||
id="path3034"
|
||||
style="fill:#cc0000;stroke:#280000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1"
|
||||
d="m 39.727861,59.856357 -7.931696,1.051156 16.468003,13.415414 9.308602,-16.824452 -7.931071,1.047948 c 0,0 -4.769344,-11.438514 -4.482124,-23.814377 0.28722,-12.375864 2.122864,-21.560053 5.002308,-27.8806611 L 58.035007,8.2705416 49.401308,-9.8243533 32.447357,3.658281 40.32048,5.0774383 c -2.215519,7.1939257 -4.944461,17.7161567 -5.097129,29.4339847 -0.152668,11.717827 4.50451,25.344934 4.50451,25.344934 z" />
|
||||
<path
|
||||
id="path3034-3"
|
||||
style="fill:none;stroke:#ef2929;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||
d="M 42.294596,61.458559 36.569302,62.26303 47.6973,71.281842 53.888294,59.977938 47.993171,60.40505 c 0,0 -5.098096,-12.019738 -4.755572,-25.591292 C 43.580123,21.242204 44.972361,12.57644 49.056995,4.8823104 L 54.501933,5.7523283 48.673377,-6.64344 37.040489,2.5499919 l 5.69744,1.262008 C 40.115582,12.087163 37.884178,20.2052 37.277916,34.520587 c -0.606263,14.315386 5.01668,26.937972 5.01668,26.937972 z" />
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 12 KiB |
@@ -0,0 +1,251 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
width="64px"
|
||||
height="64px"
|
||||
id="svg2821"
|
||||
sodipodi:version="0.32"
|
||||
inkscape:version="1.3 (0e150ed6c4, 2023-07-21)"
|
||||
sodipodi:docname="Assembly_CreateJointParallel.svg"
|
||||
inkscape:output_extension="org.inkscape.output.svg.inkscape"
|
||||
version="1.1"
|
||||
xml:space="preserve"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"><defs
|
||||
id="defs2823"><linearGradient
|
||||
id="linearGradient2"
|
||||
inkscape:collect="always"><stop
|
||||
style="stop-color:#3465a4;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop1" /><stop
|
||||
style="stop-color:#729fcf;stop-opacity:1;"
|
||||
offset="1"
|
||||
id="stop2" /></linearGradient><linearGradient
|
||||
id="linearGradient5"
|
||||
inkscape:collect="always"><stop
|
||||
style="stop-color:#c5a202;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop5" /><stop
|
||||
style="stop-color:#f6e76f;stop-opacity:1;"
|
||||
offset="1"
|
||||
id="stop6" /></linearGradient><radialGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient3377"
|
||||
id="radialGradient3701"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
cx="84.883324"
|
||||
cy="77.042847"
|
||||
fx="84.883324"
|
||||
fy="77.042847"
|
||||
r="19.467436"
|
||||
gradientTransform="matrix(2.8492421,1.2585119,-0.4040415,0.9147407,-125.84131,-100.25805)" /><linearGradient
|
||||
id="linearGradient3377"><stop
|
||||
id="stop3379"
|
||||
offset="0"
|
||||
style="stop-color:#faff2b;stop-opacity:1;" /><stop
|
||||
id="stop3381"
|
||||
offset="1"
|
||||
style="stop-color:#ffaa00;stop-opacity:1;" /></linearGradient><radialGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient3377"
|
||||
id="radialGradient3699"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
cx="76.383331"
|
||||
cy="94.369568"
|
||||
fx="76.383331"
|
||||
fy="94.369568"
|
||||
r="19.467436"
|
||||
gradientTransform="matrix(0.9818943,0.1894295,-0.4109427,2.1300924,40.163453,-121.11559)" /><inkscape:perspective
|
||||
sodipodi:type="inkscape:persp3d"
|
||||
inkscape:vp_x="0 : 32 : 1"
|
||||
inkscape:vp_y="0 : 1000 : 0"
|
||||
inkscape:vp_z="64 : 32 : 1"
|
||||
inkscape:persp3d-origin="32 : 21.333333 : 1"
|
||||
id="perspective2829" /><linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient3801-5"
|
||||
id="linearGradient3807-7"
|
||||
x1="110"
|
||||
y1="35"
|
||||
x2="85"
|
||||
y2="35"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
spreadMethod="reflect"
|
||||
gradientTransform="translate(-62,-16)" /><linearGradient
|
||||
inkscape:collect="always"
|
||||
id="linearGradient3801-5"><stop
|
||||
style="stop-color:#c4a000;stop-opacity:1"
|
||||
offset="0"
|
||||
id="stop3803-3" /><stop
|
||||
style="stop-color:#fce94f;stop-opacity:1"
|
||||
offset="1"
|
||||
id="stop3805-5" /></linearGradient><linearGradient
|
||||
xlink:href="#linearGradient3838"
|
||||
id="linearGradient3844"
|
||||
x1="2802.9631"
|
||||
y1="538.36249"
|
||||
x2="2859.7263"
|
||||
y2="786.05646"
|
||||
gradientUnits="userSpaceOnUse" /><linearGradient
|
||||
id="linearGradient3838"><stop
|
||||
style="stop-color:#34e0e2;stop-opacity:1"
|
||||
offset="0"
|
||||
id="stop3840" /><stop
|
||||
style="stop-color:#06989a;stop-opacity:1"
|
||||
offset="1"
|
||||
id="stop3842" /></linearGradient><linearGradient
|
||||
y2="786.05646"
|
||||
x2="2859.7263"
|
||||
y1="538.36249"
|
||||
x1="2802.9631"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
id="linearGradient3045"
|
||||
xlink:href="#linearGradient3172" /><linearGradient
|
||||
id="linearGradient3172"><stop
|
||||
id="stop3174"
|
||||
offset="0"
|
||||
style="stop-color:#ef2929;stop-opacity:1" /><stop
|
||||
id="stop3176"
|
||||
offset="1"
|
||||
style="stop-color:#a40000;stop-opacity:1" /></linearGradient><linearGradient
|
||||
xlink:href="#linearGradient3172"
|
||||
id="linearGradient3880"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
x1="2802.9631"
|
||||
y1="626.0874"
|
||||
x2="2849.4058"
|
||||
y2="822.17853" /><linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient5"
|
||||
id="linearGradient6"
|
||||
x1="51"
|
||||
y1="53"
|
||||
x2="11"
|
||||
y2="12"
|
||||
gradientUnits="userSpaceOnUse" /><linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient2"
|
||||
id="linearGradient7"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
x1="51"
|
||||
y1="53"
|
||||
x2="11"
|
||||
y2="12" /><linearGradient
|
||||
id="linearGradient3602"><stop
|
||||
style="stop-color:#ff2600;stop-opacity:1"
|
||||
offset="0"
|
||||
id="stop3604" /><stop
|
||||
style="stop-color:#ff5f00;stop-opacity:1"
|
||||
offset="1"
|
||||
id="stop3606" /></linearGradient><linearGradient
|
||||
xlink:href="#linearGradient3602-7"
|
||||
id="linearGradient3608-5"
|
||||
x1="3.909091"
|
||||
y1="14.363636"
|
||||
x2="24.81818"
|
||||
y2="14.363636"
|
||||
gradientUnits="userSpaceOnUse" /><linearGradient
|
||||
id="linearGradient3602-7"><stop
|
||||
style="stop-color:#c51900;stop-opacity:1"
|
||||
offset="0"
|
||||
id="stop3604-1" /><stop
|
||||
style="stop-color:#ff5f00;stop-opacity:1"
|
||||
offset="1"
|
||||
id="stop3606-3" /></linearGradient><linearGradient
|
||||
xlink:href="#linearGradient3602"
|
||||
id="linearGradient3608"
|
||||
x1="3.909091"
|
||||
y1="14.363636"
|
||||
x2="24.81818"
|
||||
y2="14.363636"
|
||||
gradientUnits="userSpaceOnUse" /></defs><sodipodi:namedview
|
||||
id="base"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:zoom="7.9999996"
|
||||
inkscape:cx="33.562501"
|
||||
inkscape:cy="26.812501"
|
||||
inkscape:current-layer="layer1"
|
||||
showgrid="true"
|
||||
inkscape:document-units="px"
|
||||
inkscape:grid-bbox="true"
|
||||
inkscape:window-width="2560"
|
||||
inkscape:window-height="1355"
|
||||
inkscape:window-x="0"
|
||||
inkscape:window-y="0"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:showpageshadow="2"
|
||||
inkscape:pagecheckerboard="0"
|
||||
inkscape:deskcolor="#d1d1d1"><inkscape:grid
|
||||
type="xygrid"
|
||||
id="grid2992"
|
||||
empspacing="2"
|
||||
visible="true"
|
||||
enabled="true"
|
||||
snapvisiblegridlinesonly="true"
|
||||
originx="0"
|
||||
originy="0"
|
||||
spacingy="1"
|
||||
spacingx="1"
|
||||
units="px" /></sodipodi:namedview><metadata
|
||||
id="metadata2826"><rdf:RDF><cc:Work
|
||||
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:creator><cc:Agent><dc:title>[wmayer]</dc:title></cc:Agent></dc:creator><dc:title>Part_Cylinder</dc:title><dc:date>2011-10-10</dc:date><dc:relation>https://www.freecad.org/wiki/index.php?title=Artwork</dc:relation><dc:publisher><cc:Agent><dc:title>FreeCAD</dc:title></cc:Agent></dc:publisher><dc:identifier>FreeCAD/src/Mod/Part/Gui/Resources/icons/Part_Cylinder.svg</dc:identifier><dc:rights><cc:Agent><dc:title>FreeCAD LGPL2+</dc:title></cc:Agent></dc:rights><cc:license>https://www.gnu.org/copyleft/lesser.html</cc:license><dc:contributor><cc:Agent><dc:title>[agryson] Alexander Gryson</dc:title></cc:Agent></dc:contributor></cc:Work></rdf:RDF></metadata><g
|
||||
id="layer1"
|
||||
inkscape:label="Layer 1"
|
||||
inkscape:groupmode="layer"><g
|
||||
id="g8"
|
||||
inkscape:label="Main"
|
||||
transform="matrix(1.0899303,0,0,1.0899303,-2.9693267,-3.1787843)"><g
|
||||
id="g6"
|
||||
inkscape:label="Plane"
|
||||
transform="matrix(0.90708807,-0.79900391,0,1.0698986,-19.299267,34.058528)"><rect
|
||||
style="fill:url(#linearGradient6);fill-opacity:1;stroke:#302b00;stroke-width:1.5;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="rect3"
|
||||
width="18.741289"
|
||||
height="31.970434"
|
||||
x="27.590284"
|
||||
y="9.9514246" /><rect
|
||||
style="display:inline;fill:none;fill-opacity:1;stroke:#fce94f;stroke-width:1.41052;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="rect4"
|
||||
width="15.985626"
|
||||
height="29.16909"
|
||||
x="29.03376"
|
||||
y="11.394899" /></g><g
|
||||
id="g3"
|
||||
inkscape:label="Arrows"
|
||||
style="display:inline"
|
||||
transform="matrix(0.95956976,0,0,0.95956976,6.0777992,1.5699449)"><path
|
||||
id="path3034"
|
||||
d="M 19.907291,29.012195 V 24.231708 L 7.3585107,32 19.907291,39.768293 v -4.780488 h 12.543928 v 4.780488 L 45,32 32.451219,24.231708 v 4.780487 z"
|
||||
style="fill:#cc0000;stroke:#280000;stroke-width:1.19512;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1"
|
||||
sodipodi:nodetypes="ccccccccccc" /><path
|
||||
id="path3034-3"
|
||||
d="m 18.712169,30.207317 v -3.82439 L 9.6292424,32 18.712169,37.617074 v -3.824391 h 14.954718 v 3.824391 L 42.749814,32 33.666887,26.382927 v 3.82439 z"
|
||||
style="fill:none;stroke:#ef2929;stroke-width:1.19512;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||
sodipodi:nodetypes="ccccccccccc" /></g><g
|
||||
id="g7"
|
||||
inkscape:label="Plane"
|
||||
transform="matrix(0.90708807,-0.79900391,0,1.0698986,16.413637,34.058528)"><rect
|
||||
style="fill:url(#linearGradient7);fill-opacity:1;stroke:#0b1521;stroke-width:1.5;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="rect5"
|
||||
width="18.741289"
|
||||
height="31.970434"
|
||||
x="27.590284"
|
||||
y="9.9514246" /><rect
|
||||
style="display:inline;fill:none;fill-opacity:1;stroke:#729fcf;stroke-width:1.41052;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="rect6"
|
||||
width="15.985626"
|
||||
height="29.16909"
|
||||
x="29.03376"
|
||||
y="11.394899" /></g></g></g></svg>
|
||||
|
After Width: | Height: | Size: 9.9 KiB |
@@ -0,0 +1,361 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
width="64px"
|
||||
height="64px"
|
||||
id="svg2821"
|
||||
sodipodi:version="0.32"
|
||||
inkscape:version="1.3 (0e150ed6c4, 2023-07-21)"
|
||||
sodipodi:docname="Assembly_CreateJointFixedNew.svg"
|
||||
inkscape:output_extension="org.inkscape.output.svg.inkscape"
|
||||
version="1.1"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/">
|
||||
<defs
|
||||
id="defs2823">
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
id="linearGradient4">
|
||||
<stop
|
||||
style="stop-color:#3465a4;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop3" />
|
||||
<stop
|
||||
style="stop-color:#729fcf;stop-opacity:1;"
|
||||
offset="1"
|
||||
id="stop4" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
id="linearGradient3801">
|
||||
<stop
|
||||
style="stop-color:#c4a000;stop-opacity:1"
|
||||
offset="0"
|
||||
id="stop3803" />
|
||||
<stop
|
||||
style="stop-color:#fce94f;stop-opacity:1"
|
||||
offset="1"
|
||||
id="stop3805" />
|
||||
</linearGradient>
|
||||
<radialGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient3377"
|
||||
id="radialGradient3701"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
cx="84.883324"
|
||||
cy="77.042847"
|
||||
fx="84.883324"
|
||||
fy="77.042847"
|
||||
r="19.467436"
|
||||
gradientTransform="matrix(2.8492421,1.2585119,-0.4040415,0.9147407,-125.84131,-100.25805)" />
|
||||
<linearGradient
|
||||
id="linearGradient3377">
|
||||
<stop
|
||||
id="stop3379"
|
||||
offset="0"
|
||||
style="stop-color:#faff2b;stop-opacity:1;" />
|
||||
<stop
|
||||
id="stop3381"
|
||||
offset="1"
|
||||
style="stop-color:#ffaa00;stop-opacity:1;" />
|
||||
</linearGradient>
|
||||
<radialGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient3377"
|
||||
id="radialGradient3699"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
cx="76.383331"
|
||||
cy="94.369568"
|
||||
fx="76.383331"
|
||||
fy="94.369568"
|
||||
r="19.467436"
|
||||
gradientTransform="matrix(0.9818943,0.1894295,-0.4109427,2.1300924,40.163453,-121.11559)" />
|
||||
<inkscape:perspective
|
||||
sodipodi:type="inkscape:persp3d"
|
||||
inkscape:vp_x="0 : 32 : 1"
|
||||
inkscape:vp_y="0 : 1000 : 0"
|
||||
inkscape:vp_z="64 : 32 : 1"
|
||||
inkscape:persp3d-origin="32 : 21.333333 : 1"
|
||||
id="perspective2829" />
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient3801"
|
||||
id="linearGradient3807"
|
||||
x1="110"
|
||||
y1="35"
|
||||
x2="85"
|
||||
y2="35"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
spreadMethod="reflect"
|
||||
gradientTransform="translate(-61,-0.19620034)" />
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient3801-5"
|
||||
id="linearGradient3807-7"
|
||||
x1="110"
|
||||
y1="35"
|
||||
x2="85"
|
||||
y2="35"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
spreadMethod="reflect"
|
||||
gradientTransform="translate(-62,-16)" />
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
id="linearGradient3801-5">
|
||||
<stop
|
||||
style="stop-color:#c4a000;stop-opacity:1"
|
||||
offset="0"
|
||||
id="stop3803-3" />
|
||||
<stop
|
||||
style="stop-color:#fce94f;stop-opacity:1"
|
||||
offset="1"
|
||||
id="stop3805-5" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient3838"
|
||||
id="linearGradient3844"
|
||||
x1="2802.9631"
|
||||
y1="538.36249"
|
||||
x2="2859.7263"
|
||||
y2="786.05646"
|
||||
gradientUnits="userSpaceOnUse" />
|
||||
<linearGradient
|
||||
id="linearGradient3838">
|
||||
<stop
|
||||
style="stop-color:#34e0e2;stop-opacity:1"
|
||||
offset="0"
|
||||
id="stop3840" />
|
||||
<stop
|
||||
style="stop-color:#06989a;stop-opacity:1"
|
||||
offset="1"
|
||||
id="stop3842" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
y2="786.05646"
|
||||
x2="2859.7263"
|
||||
y1="538.36249"
|
||||
x1="2802.9631"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
id="linearGradient3045"
|
||||
xlink:href="#linearGradient3172" />
|
||||
<linearGradient
|
||||
id="linearGradient3172">
|
||||
<stop
|
||||
id="stop3174"
|
||||
offset="0"
|
||||
style="stop-color:#ef2929;stop-opacity:1" />
|
||||
<stop
|
||||
id="stop3176"
|
||||
offset="1"
|
||||
style="stop-color:#a40000;stop-opacity:1" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient3172"
|
||||
id="linearGradient3880"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
x1="2802.9631"
|
||||
y1="626.0874"
|
||||
x2="2849.4058"
|
||||
y2="822.17853" />
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient4"
|
||||
id="linearGradient3"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="translate(-61,-0.19620034)"
|
||||
x1="110"
|
||||
y1="35"
|
||||
x2="85"
|
||||
y2="35"
|
||||
spreadMethod="reflect" />
|
||||
<linearGradient
|
||||
id="linearGradient4067-6">
|
||||
<stop
|
||||
style="stop-color:#888a85;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop4069-7" />
|
||||
<stop
|
||||
style="stop-color:#2e3436;stop-opacity:1;"
|
||||
offset="1"
|
||||
id="stop4071-5" />
|
||||
</linearGradient>
|
||||
</defs>
|
||||
<sodipodi:namedview
|
||||
id="base"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:zoom="7.2080076"
|
||||
inkscape:cx="44.186968"
|
||||
inkscape:cy="8.4628102"
|
||||
inkscape:current-layer="g2"
|
||||
showgrid="true"
|
||||
inkscape:document-units="px"
|
||||
inkscape:grid-bbox="true"
|
||||
inkscape:window-width="2560"
|
||||
inkscape:window-height="1356"
|
||||
inkscape:window-x="0"
|
||||
inkscape:window-y="0"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:showpageshadow="2"
|
||||
inkscape:pagecheckerboard="0"
|
||||
inkscape:deskcolor="#d1d1d1"
|
||||
showguides="true">
|
||||
<inkscape:grid
|
||||
type="xygrid"
|
||||
id="grid2992"
|
||||
empspacing="2"
|
||||
visible="true"
|
||||
enabled="true"
|
||||
snapvisiblegridlinesonly="true"
|
||||
originx="0"
|
||||
originy="0"
|
||||
spacingy="1"
|
||||
spacingx="1"
|
||||
units="px" />
|
||||
<sodipodi:guide
|
||||
position="32,65.942284"
|
||||
orientation="-1,0"
|
||||
id="guide1"
|
||||
inkscape:locked="false"
|
||||
inkscape:label=""
|
||||
inkscape:color="rgb(0,134,229)" />
|
||||
<sodipodi:guide
|
||||
position="22,67.121528"
|
||||
orientation="-1,0"
|
||||
id="guide2"
|
||||
inkscape:locked="false"
|
||||
inkscape:label=""
|
||||
inkscape:color="rgb(0,134,229)" />
|
||||
<sodipodi:guide
|
||||
position="42,66.289121"
|
||||
orientation="-1,0"
|
||||
id="guide3"
|
||||
inkscape:locked="false"
|
||||
inkscape:label=""
|
||||
inkscape:color="rgb(0,134,229)" />
|
||||
</sodipodi:namedview>
|
||||
<metadata
|
||||
id="metadata2826">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:creator>
|
||||
<cc:Agent>
|
||||
<dc:title>[wmayer]</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:creator>
|
||||
<dc:title>Part_Cylinder</dc:title>
|
||||
<dc:date>2011-10-10</dc:date>
|
||||
<dc:relation>https://www.freecad.org/wiki/index.php?title=Artwork</dc:relation>
|
||||
<dc:publisher>
|
||||
<cc:Agent>
|
||||
<dc:title>FreeCAD</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:publisher>
|
||||
<dc:identifier>FreeCAD/src/Mod/Part/Gui/Resources/icons/Part_Cylinder.svg</dc:identifier>
|
||||
<dc:rights>
|
||||
<cc:Agent>
|
||||
<dc:title>FreeCAD LGPL2+</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:rights>
|
||||
<cc:license>https://www.gnu.org/copyleft/lesser.html</cc:license>
|
||||
<dc:contributor>
|
||||
<cc:Agent>
|
||||
<dc:title>[agryson] Alexander Gryson</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:contributor>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
id="layer1"
|
||||
inkscape:label="Layer 1"
|
||||
inkscape:groupmode="layer">
|
||||
<g
|
||||
id="g2"
|
||||
inkscape:label="Main"
|
||||
transform="matrix(1.0416665,0,0,1.0416665,-1.3333273,-2.3320947)">
|
||||
<g
|
||||
id="g1"
|
||||
inkscape:label="Part"
|
||||
transform="translate(3.6192085e-6,-0.89630564)">
|
||||
<path
|
||||
style="fill:#fce94f;stroke:#302b00;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4.5;stroke-dashoffset:20.4;stroke-opacity:1"
|
||||
d="m 56.000001,52.8038 c 0,4.418278 -10.745166,8 -24,8 -13.254833,0 -23.9999985,-3.581722 -23.9999985,-8 l -2e-6,-22.788679 L 56,30.015122 Z"
|
||||
id="path2994-3"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="sscccs" />
|
||||
<path
|
||||
style="fill:url(#linearGradient3807);fill-opacity:1;stroke:#fce94f;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4.5;stroke-dashoffset:20.4;stroke-opacity:1"
|
||||
d="m 54,51.531073 c 0,4.016616 -9.84973,7.272727 -22,7.272727 -12.150264,0 -21.999999,-3.256111 -21.999999,-7.272727 l -1.5e-6,-17.675951 H 54 Z"
|
||||
id="path2994-3-6"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="sscccs" />
|
||||
<path
|
||||
style="fill:none;stroke:#fce94f;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4.5;stroke-dashoffset:20.4;stroke-opacity:1"
|
||||
d="m 53.883463,36.735122 c -2.106548,1.373238 -5.918402,2.880001 -9.403465,3.127242 l -0.005,9.10552 c 0,0 -4.321609,1.454482 -12.474967,1.454482 -8.153358,0 -12.5599,-1.348891 -12.5599,-1.348891 l 0.07989,-9.211111 c -2.251676,-0.247241 -6.445502,-1.207241 -9.370239,-3.127242"
|
||||
id="path2994-3-6-9"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="ccczccc" />
|
||||
<ellipse
|
||||
style="fill:#fce94f;stroke:#302b00;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4.5;stroke-dasharray:none;stroke-dashoffset:20.4;stroke-opacity:1"
|
||||
id="path2994"
|
||||
cx="32"
|
||||
cy="31.700123"
|
||||
ry="7.9999995"
|
||||
rx="24" />
|
||||
</g>
|
||||
<path
|
||||
d="m 42.539277,35.800977 0.02691,10.547767 c 0,0 -3.169859,1.167493 -10.566183,1.116355 -7.396326,-0.05114 -10.566196,-1.116355 -10.566196,-1.116355 l -0.02323,-10.555835"
|
||||
style="fill:none;fill-opacity:1;stroke:#302b00;stroke-width:2.22135;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4.5;stroke-dashoffset:20.4;stroke-opacity:1"
|
||||
id="path1-6"
|
||||
sodipodi:nodetypes="ccscc" />
|
||||
<g
|
||||
id="g3"
|
||||
inkscape:label="Part 2"
|
||||
transform="translate(3.6192085e-6,-20.496033)">
|
||||
<path
|
||||
style="fill:#729fcf;fill-opacity:1;stroke:#0b1521;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4.5;stroke-dashoffset:20.4;stroke-opacity:1"
|
||||
d="m 56,49.614849 c -10e-7,3.283664 -5.935052,6.10526 -14.424452,7.337886 l 0.02445,8.673166 c 0,0 -2.880002,0.96 -9.599996,0.917951 -6.719994,-0.04205 -9.600007,-0.917951 -9.600007,-0.917951 l -0.0211,-8.6798 C 13.913825,55.710006 8.000001,52.892635 8.000001,49.614849 l -5e-7,-15.028454 H 56 Z"
|
||||
id="path1"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="scczcccccs" />
|
||||
<path
|
||||
style="fill:url(#linearGradient3);fill-opacity:1;stroke:#729fcf;stroke-width:1.68;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4.5;stroke-dasharray:none;stroke-dashoffset:20.4;stroke-opacity:1"
|
||||
d="m 54.079999,48.654848 c 0.01917,3.133054 -5.916694,5.700603 -14.320003,6.723777 V 63.8129 c 0,0 -2.247749,0.778588 -7.76,0.778588 -5.512251,0 -7.600003,-0.572862 -7.600003,-0.572862 V 55.542947 C 16.171126,54.490553 10.08,51.746576 10.08,48.654848 L 9.9999995,35.580766 H 54 Z"
|
||||
id="path2"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="scczcccccs" />
|
||||
<path
|
||||
style="fill:none;stroke:#729fcf;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4.5;stroke-dashoffset:20.4;stroke-opacity:1"
|
||||
d="m 54,38.835626 c -2,3.272727 -9.84973,5.272727 -22,5.272727 -12.150264,0 -19,-2 -21.999999,-5.272727"
|
||||
id="path3"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="csc" />
|
||||
<ellipse
|
||||
style="fill:#729fcf;fill-opacity:1;stroke:#0b1521;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4.5;stroke-dasharray:none;stroke-dashoffset:20.4;stroke-opacity:1"
|
||||
id="ellipse3"
|
||||
cx="32"
|
||||
cy="34.381172"
|
||||
rx="24"
|
||||
ry="7.9999995" />
|
||||
</g>
|
||||
</g>
|
||||
<g
|
||||
id="g4"
|
||||
transform="matrix(0.53791749,0,0,0.53791749,5.3006475,37.927524)" />
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 13 KiB |
|
After Width: | Height: | Size: 49 KiB |
@@ -0,0 +1,240 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
width="64px"
|
||||
height="64px"
|
||||
id="svg2821"
|
||||
sodipodi:version="0.32"
|
||||
inkscape:version="1.1-beta1 (77e7b44db3, 2021-03-28)"
|
||||
sodipodi:docname="Assembly_CreateJointParallel.svg"
|
||||
inkscape:output_extension="org.inkscape.output.svg.inkscape"
|
||||
version="1.1"
|
||||
xml:space="preserve"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"><defs
|
||||
id="defs2823"><linearGradient
|
||||
id="linearGradient2"
|
||||
inkscape:collect="always"><stop
|
||||
style="stop-color:#3465a4;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop1" /><stop
|
||||
style="stop-color:#729fcf;stop-opacity:1;"
|
||||
offset="1"
|
||||
id="stop2" /></linearGradient><linearGradient
|
||||
id="linearGradient5"
|
||||
inkscape:collect="always"><stop
|
||||
style="stop-color:#c5a202;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop5" /><stop
|
||||
style="stop-color:#f6e76f;stop-opacity:1;"
|
||||
offset="1"
|
||||
id="stop6" /></linearGradient><radialGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient3377"
|
||||
id="radialGradient3701"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
cx="84.883324"
|
||||
cy="77.042847"
|
||||
fx="84.883324"
|
||||
fy="77.042847"
|
||||
r="19.467436"
|
||||
gradientTransform="matrix(2.8492421,1.2585119,-0.4040415,0.9147407,-125.84131,-100.25805)" /><linearGradient
|
||||
id="linearGradient3377"><stop
|
||||
id="stop3379"
|
||||
offset="0"
|
||||
style="stop-color:#faff2b;stop-opacity:1;" /><stop
|
||||
id="stop3381"
|
||||
offset="1"
|
||||
style="stop-color:#ffaa00;stop-opacity:1;" /></linearGradient><radialGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient3377"
|
||||
id="radialGradient3699"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
cx="76.383331"
|
||||
cy="94.369568"
|
||||
fx="76.383331"
|
||||
fy="94.369568"
|
||||
r="19.467436"
|
||||
gradientTransform="matrix(0.9818943,0.1894295,-0.4109427,2.1300924,40.163453,-121.11559)" /><inkscape:perspective
|
||||
sodipodi:type="inkscape:persp3d"
|
||||
inkscape:vp_x="0 : 32 : 1"
|
||||
inkscape:vp_y="0 : 1000 : 0"
|
||||
inkscape:vp_z="64 : 32 : 1"
|
||||
inkscape:persp3d-origin="32 : 21.333333 : 1"
|
||||
id="perspective2829" /><linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient3801-5"
|
||||
id="linearGradient3807-7"
|
||||
x1="110"
|
||||
y1="35"
|
||||
x2="85"
|
||||
y2="35"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
spreadMethod="reflect"
|
||||
gradientTransform="translate(-62,-16)" /><linearGradient
|
||||
inkscape:collect="always"
|
||||
id="linearGradient3801-5"><stop
|
||||
style="stop-color:#c4a000;stop-opacity:1"
|
||||
offset="0"
|
||||
id="stop3803-3" /><stop
|
||||
style="stop-color:#fce94f;stop-opacity:1"
|
||||
offset="1"
|
||||
id="stop3805-5" /></linearGradient><linearGradient
|
||||
xlink:href="#linearGradient3838"
|
||||
id="linearGradient3844"
|
||||
x1="2802.9631"
|
||||
y1="538.36249"
|
||||
x2="2859.7263"
|
||||
y2="786.05646"
|
||||
gradientUnits="userSpaceOnUse" /><linearGradient
|
||||
id="linearGradient3838"><stop
|
||||
style="stop-color:#34e0e2;stop-opacity:1"
|
||||
offset="0"
|
||||
id="stop3840" /><stop
|
||||
style="stop-color:#06989a;stop-opacity:1"
|
||||
offset="1"
|
||||
id="stop3842" /></linearGradient><linearGradient
|
||||
y2="786.05646"
|
||||
x2="2859.7263"
|
||||
y1="538.36249"
|
||||
x1="2802.9631"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
id="linearGradient3045"
|
||||
xlink:href="#linearGradient3172" /><linearGradient
|
||||
id="linearGradient3172"><stop
|
||||
id="stop3174"
|
||||
offset="0"
|
||||
style="stop-color:#ef2929;stop-opacity:1" /><stop
|
||||
id="stop3176"
|
||||
offset="1"
|
||||
style="stop-color:#a40000;stop-opacity:1" /></linearGradient><linearGradient
|
||||
xlink:href="#linearGradient3172"
|
||||
id="linearGradient3880"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
x1="2802.9631"
|
||||
y1="626.0874"
|
||||
x2="2849.4058"
|
||||
y2="822.17853" /><linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient5"
|
||||
id="linearGradient6"
|
||||
x1="51"
|
||||
y1="53"
|
||||
x2="11"
|
||||
y2="12"
|
||||
gradientUnits="userSpaceOnUse" /><linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient2"
|
||||
id="linearGradient7"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
x1="51"
|
||||
y1="53"
|
||||
x2="11"
|
||||
y2="12"
|
||||
gradientTransform="matrix(1.7926537,2.3508725e-8,0,0.98766367,-140.64507,-133.33526)" /><linearGradient
|
||||
id="linearGradient3602"><stop
|
||||
style="stop-color:#ff2600;stop-opacity:1"
|
||||
offset="0"
|
||||
id="stop3604" /><stop
|
||||
style="stop-color:#ff5f00;stop-opacity:1"
|
||||
offset="1"
|
||||
id="stop3606" /></linearGradient><linearGradient
|
||||
xlink:href="#linearGradient3602-7"
|
||||
id="linearGradient3608-5"
|
||||
x1="3.909091"
|
||||
y1="14.363636"
|
||||
x2="24.81818"
|
||||
y2="14.363636"
|
||||
gradientUnits="userSpaceOnUse" /><linearGradient
|
||||
id="linearGradient3602-7"><stop
|
||||
style="stop-color:#c51900;stop-opacity:1"
|
||||
offset="0"
|
||||
id="stop3604-1" /><stop
|
||||
style="stop-color:#ff5f00;stop-opacity:1"
|
||||
offset="1"
|
||||
id="stop3606-3" /></linearGradient><linearGradient
|
||||
xlink:href="#linearGradient3602"
|
||||
id="linearGradient3608"
|
||||
x1="3.909091"
|
||||
y1="14.363636"
|
||||
x2="24.81818"
|
||||
y2="14.363636"
|
||||
gradientUnits="userSpaceOnUse" /></defs><sodipodi:namedview
|
||||
id="base"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:zoom="7.9999996"
|
||||
inkscape:cx="33.562502"
|
||||
inkscape:cy="26.812501"
|
||||
inkscape:current-layer="layer1"
|
||||
showgrid="true"
|
||||
inkscape:document-units="px"
|
||||
inkscape:grid-bbox="true"
|
||||
inkscape:window-width="3840"
|
||||
inkscape:window-height="1571"
|
||||
inkscape:window-x="-9"
|
||||
inkscape:window-y="-9"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:showpageshadow="2"
|
||||
inkscape:pagecheckerboard="0"
|
||||
inkscape:deskcolor="#d1d1d1"
|
||||
objecttolerance="10.0"
|
||||
gridtolerance="10.0"
|
||||
guidetolerance="10.0"><inkscape:grid
|
||||
type="xygrid"
|
||||
id="grid2992"
|
||||
empspacing="2"
|
||||
visible="true"
|
||||
enabled="true"
|
||||
snapvisiblegridlinesonly="true"
|
||||
originx="0"
|
||||
originy="0"
|
||||
spacingy="1"
|
||||
spacingx="1"
|
||||
units="px" /></sodipodi:namedview><metadata
|
||||
id="metadata2826"><rdf:RDF><cc:Work
|
||||
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:creator><cc:Agent><dc:title>[wmayer]</dc:title></cc:Agent></dc:creator><dc:title>Part_Cylinder</dc:title><dc:date>2011-10-10</dc:date><dc:relation>https://www.freecad.org/wiki/index.php?title=Artwork</dc:relation><dc:publisher><cc:Agent><dc:title>FreeCAD</dc:title></cc:Agent></dc:publisher><dc:identifier>FreeCAD/src/Mod/Part/Gui/Resources/icons/Part_Cylinder.svg</dc:identifier><dc:rights><cc:Agent><dc:title>FreeCAD LGPL2+</dc:title></cc:Agent></dc:rights><cc:license>https://www.gnu.org/copyleft/lesser.html</cc:license><dc:contributor><cc:Agent><dc:title>[agryson] Alexander Gryson</dc:title></cc:Agent></dc:contributor></cc:Work></rdf:RDF></metadata><g
|
||||
id="layer1"
|
||||
inkscape:label="Layer 1"
|
||||
inkscape:groupmode="layer"><g
|
||||
id="g6"
|
||||
inkscape:label="Plane"
|
||||
transform="matrix(-0.86950053,-0.9898573,1.1661138,0.00160078,34.385273,83.294514)"><rect
|
||||
style="fill:url(#linearGradient6);fill-opacity:1;stroke:#302b00;stroke-width:1.5;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="rect3"
|
||||
width="18.741289"
|
||||
height="31.970434"
|
||||
x="27.590284"
|
||||
y="9.9514246" /><rect
|
||||
style="display:inline;fill:none;fill-opacity:1;stroke:#fce94f;stroke-width:1.41052;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="rect4"
|
||||
width="15.985626"
|
||||
height="29.16909"
|
||||
x="29.03376"
|
||||
y="11.394899" /></g><g
|
||||
id="g7"
|
||||
inkscape:label="Plane"
|
||||
transform="matrix(0.87778303,-0.98252006,-1.1660861,-0.00819269,-59.784571,63.865153)"><rect
|
||||
style="fill:url(#linearGradient7);fill-opacity:1;stroke:#0b1521;stroke-width:1.99593;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="rect5"
|
||||
width="33.596642"
|
||||
height="31.576036"
|
||||
x="-91.185242"
|
||||
y="-123.50659"
|
||||
transform="matrix(-0.55087306,-0.83458905,-0.01677987,0.99985921,0,0)" /><rect
|
||||
style="display:inline;fill:none;fill-opacity:1;stroke:#729fcf;stroke-width:1.87686;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="rect6"
|
||||
width="28.656693"
|
||||
height="28.80925"
|
||||
x="-88.597588"
|
||||
y="-122.08092"
|
||||
transform="matrix(-0.55087306,-0.83458905,-0.01677987,0.99985921,0,0)" /></g></g></svg>
|
||||
|
After Width: | Height: | Size: 9.1 KiB |
@@ -0,0 +1,237 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
width="64px"
|
||||
height="64px"
|
||||
id="svg2821"
|
||||
sodipodi:version="0.32"
|
||||
inkscape:version="1.1-beta1 (77e7b44db3, 2021-03-28)"
|
||||
sodipodi:docname="Assembly_CreateJointPerpendicular.svg"
|
||||
inkscape:output_extension="org.inkscape.output.svg.inkscape"
|
||||
version="1.1"
|
||||
xml:space="preserve"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"><defs
|
||||
id="defs2823"><linearGradient
|
||||
id="linearGradient2"
|
||||
inkscape:collect="always"><stop
|
||||
style="stop-color:#3465a4;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop1" /><stop
|
||||
style="stop-color:#729fcf;stop-opacity:1;"
|
||||
offset="1"
|
||||
id="stop2" /></linearGradient><linearGradient
|
||||
id="linearGradient5"
|
||||
inkscape:collect="always"><stop
|
||||
style="stop-color:#c5a202;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop5" /><stop
|
||||
style="stop-color:#f6e76f;stop-opacity:1;"
|
||||
offset="1"
|
||||
id="stop6" /></linearGradient><radialGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient3377"
|
||||
id="radialGradient3701"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
cx="84.883324"
|
||||
cy="77.042847"
|
||||
fx="84.883324"
|
||||
fy="77.042847"
|
||||
r="19.467436"
|
||||
gradientTransform="matrix(2.8492421,1.2585119,-0.4040415,0.9147407,-125.84131,-100.25805)" /><linearGradient
|
||||
id="linearGradient3377"><stop
|
||||
id="stop3379"
|
||||
offset="0"
|
||||
style="stop-color:#faff2b;stop-opacity:1;" /><stop
|
||||
id="stop3381"
|
||||
offset="1"
|
||||
style="stop-color:#ffaa00;stop-opacity:1;" /></linearGradient><radialGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient3377"
|
||||
id="radialGradient3699"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
cx="76.383331"
|
||||
cy="94.369568"
|
||||
fx="76.383331"
|
||||
fy="94.369568"
|
||||
r="19.467436"
|
||||
gradientTransform="matrix(0.9818943,0.1894295,-0.4109427,2.1300924,40.163453,-121.11559)" /><inkscape:perspective
|
||||
sodipodi:type="inkscape:persp3d"
|
||||
inkscape:vp_x="0 : 32 : 1"
|
||||
inkscape:vp_y="0 : 1000 : 0"
|
||||
inkscape:vp_z="64 : 32 : 1"
|
||||
inkscape:persp3d-origin="32 : 21.333333 : 1"
|
||||
id="perspective2829" /><linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient3801-5"
|
||||
id="linearGradient3807-7"
|
||||
x1="110"
|
||||
y1="35"
|
||||
x2="85"
|
||||
y2="35"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
spreadMethod="reflect"
|
||||
gradientTransform="translate(-62,-16)" /><linearGradient
|
||||
inkscape:collect="always"
|
||||
id="linearGradient3801-5"><stop
|
||||
style="stop-color:#c4a000;stop-opacity:1"
|
||||
offset="0"
|
||||
id="stop3803-3" /><stop
|
||||
style="stop-color:#fce94f;stop-opacity:1"
|
||||
offset="1"
|
||||
id="stop3805-5" /></linearGradient><linearGradient
|
||||
xlink:href="#linearGradient3838"
|
||||
id="linearGradient3844"
|
||||
x1="2802.9631"
|
||||
y1="538.36249"
|
||||
x2="2859.7263"
|
||||
y2="786.05646"
|
||||
gradientUnits="userSpaceOnUse" /><linearGradient
|
||||
id="linearGradient3838"><stop
|
||||
style="stop-color:#34e0e2;stop-opacity:1"
|
||||
offset="0"
|
||||
id="stop3840" /><stop
|
||||
style="stop-color:#06989a;stop-opacity:1"
|
||||
offset="1"
|
||||
id="stop3842" /></linearGradient><linearGradient
|
||||
y2="786.05646"
|
||||
x2="2859.7263"
|
||||
y1="538.36249"
|
||||
x1="2802.9631"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
id="linearGradient3045"
|
||||
xlink:href="#linearGradient3172" /><linearGradient
|
||||
id="linearGradient3172"><stop
|
||||
id="stop3174"
|
||||
offset="0"
|
||||
style="stop-color:#ef2929;stop-opacity:1" /><stop
|
||||
id="stop3176"
|
||||
offset="1"
|
||||
style="stop-color:#a40000;stop-opacity:1" /></linearGradient><linearGradient
|
||||
xlink:href="#linearGradient3172"
|
||||
id="linearGradient3880"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
x1="2802.9631"
|
||||
y1="626.0874"
|
||||
x2="2849.4058"
|
||||
y2="822.17853" /><linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient5"
|
||||
id="linearGradient6"
|
||||
x1="51"
|
||||
y1="53"
|
||||
x2="11"
|
||||
y2="12"
|
||||
gradientUnits="userSpaceOnUse" /><linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient2"
|
||||
id="linearGradient7"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
x1="51"
|
||||
y1="53"
|
||||
x2="11"
|
||||
y2="12" /><linearGradient
|
||||
id="linearGradient3602"><stop
|
||||
style="stop-color:#ff2600;stop-opacity:1"
|
||||
offset="0"
|
||||
id="stop3604" /><stop
|
||||
style="stop-color:#ff5f00;stop-opacity:1"
|
||||
offset="1"
|
||||
id="stop3606" /></linearGradient><linearGradient
|
||||
xlink:href="#linearGradient3602-7"
|
||||
id="linearGradient3608-5"
|
||||
x1="3.909091"
|
||||
y1="14.363636"
|
||||
x2="24.81818"
|
||||
y2="14.363636"
|
||||
gradientUnits="userSpaceOnUse" /><linearGradient
|
||||
id="linearGradient3602-7"><stop
|
||||
style="stop-color:#c51900;stop-opacity:1"
|
||||
offset="0"
|
||||
id="stop3604-1" /><stop
|
||||
style="stop-color:#ff5f00;stop-opacity:1"
|
||||
offset="1"
|
||||
id="stop3606-3" /></linearGradient><linearGradient
|
||||
xlink:href="#linearGradient3602"
|
||||
id="linearGradient3608"
|
||||
x1="3.909091"
|
||||
y1="14.363636"
|
||||
x2="24.81818"
|
||||
y2="14.363636"
|
||||
gradientUnits="userSpaceOnUse" /></defs><sodipodi:namedview
|
||||
id="base"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:zoom="7.9999996"
|
||||
inkscape:cx="33.562502"
|
||||
inkscape:cy="26.812501"
|
||||
inkscape:current-layer="layer1"
|
||||
showgrid="true"
|
||||
inkscape:document-units="px"
|
||||
inkscape:grid-bbox="true"
|
||||
inkscape:window-width="3840"
|
||||
inkscape:window-height="1571"
|
||||
inkscape:window-x="-9"
|
||||
inkscape:window-y="-9"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:showpageshadow="2"
|
||||
inkscape:pagecheckerboard="0"
|
||||
inkscape:deskcolor="#d1d1d1"
|
||||
objecttolerance="10.0"
|
||||
gridtolerance="10.0"
|
||||
guidetolerance="10.0"><inkscape:grid
|
||||
type="xygrid"
|
||||
id="grid2992"
|
||||
empspacing="2"
|
||||
visible="true"
|
||||
enabled="true"
|
||||
snapvisiblegridlinesonly="true"
|
||||
originx="0"
|
||||
originy="0"
|
||||
spacingy="1"
|
||||
spacingx="1"
|
||||
units="px" /></sodipodi:namedview><metadata
|
||||
id="metadata2826"><rdf:RDF><cc:Work
|
||||
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:creator><cc:Agent><dc:title>[wmayer]</dc:title></cc:Agent></dc:creator><dc:title>Part_Cylinder</dc:title><dc:date>2011-10-10</dc:date><dc:relation>https://www.freecad.org/wiki/index.php?title=Artwork</dc:relation><dc:publisher><cc:Agent><dc:title>FreeCAD</dc:title></cc:Agent></dc:publisher><dc:identifier>FreeCAD/src/Mod/Part/Gui/Resources/icons/Part_Cylinder.svg</dc:identifier><dc:rights><cc:Agent><dc:title>FreeCAD LGPL2+</dc:title></cc:Agent></dc:rights><cc:license>https://www.gnu.org/copyleft/lesser.html</cc:license><dc:contributor><cc:Agent><dc:title>[agryson] Alexander Gryson</dc:title></cc:Agent></dc:contributor></cc:Work></rdf:RDF></metadata><g
|
||||
id="layer1"
|
||||
inkscape:label="Layer 1"
|
||||
inkscape:groupmode="layer"><g
|
||||
id="g7"
|
||||
inkscape:label="Plane"
|
||||
transform="matrix(-0.86770987,0.9914274,1.166109,-0.00370862,33.761735,13.516983)"><rect
|
||||
style="fill:url(#linearGradient7);fill-opacity:1;stroke:#0b1521;stroke-width:1.5;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="rect5"
|
||||
width="18.741289"
|
||||
height="31.970434"
|
||||
x="27.590284"
|
||||
y="9.9514246" /><rect
|
||||
style="display:inline;fill:none;fill-opacity:1;stroke:#729fcf;stroke-width:1.41052;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="rect6"
|
||||
width="15.985626"
|
||||
height="29.16909"
|
||||
x="29.03376"
|
||||
y="11.394899" /></g><g
|
||||
id="g6"
|
||||
inkscape:label="Plane"
|
||||
transform="matrix(0.98423898,-0.87585516,0.00590664,1.1660999,-5.2142128,32.560738)"><rect
|
||||
style="fill:url(#linearGradient6);fill-opacity:1;stroke:#302b00;stroke-width:1.5;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="rect3"
|
||||
width="18.741289"
|
||||
height="31.970434"
|
||||
x="27.590284"
|
||||
y="9.9514246" /><rect
|
||||
style="display:inline;fill:none;fill-opacity:1;stroke:#fce94f;stroke-width:1.41052;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="rect4"
|
||||
width="15.985626"
|
||||
height="29.16909"
|
||||
x="29.03376"
|
||||
y="11.394899" /></g></g></svg>
|
||||
|
After Width: | Height: | Size: 8.9 KiB |
@@ -0,0 +1,266 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
width="64px"
|
||||
height="64px"
|
||||
id="svg2821"
|
||||
sodipodi:version="0.32"
|
||||
inkscape:version="1.3 (0e150ed6c4, 2023-07-21)"
|
||||
sodipodi:docname="Assembly_CreateJointPlanar.svg"
|
||||
inkscape:output_extension="org.inkscape.output.svg.inkscape"
|
||||
version="1.1"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/">
|
||||
<defs
|
||||
id="defs2823">
|
||||
<linearGradient
|
||||
id="linearGradient5"
|
||||
inkscape:collect="always">
|
||||
<stop
|
||||
style="stop-color:#c5a202;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop5" />
|
||||
<stop
|
||||
style="stop-color:#f6e76f;stop-opacity:1;"
|
||||
offset="1"
|
||||
id="stop6" />
|
||||
</linearGradient>
|
||||
<radialGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient3377"
|
||||
id="radialGradient3701"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
cx="84.883324"
|
||||
cy="77.042847"
|
||||
fx="84.883324"
|
||||
fy="77.042847"
|
||||
r="19.467436"
|
||||
gradientTransform="matrix(2.8492421,1.2585119,-0.4040415,0.9147407,-125.84131,-100.25805)" />
|
||||
<linearGradient
|
||||
id="linearGradient3377">
|
||||
<stop
|
||||
id="stop3379"
|
||||
offset="0"
|
||||
style="stop-color:#faff2b;stop-opacity:1;" />
|
||||
<stop
|
||||
id="stop3381"
|
||||
offset="1"
|
||||
style="stop-color:#ffaa00;stop-opacity:1;" />
|
||||
</linearGradient>
|
||||
<radialGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient3377"
|
||||
id="radialGradient3699"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
cx="76.383331"
|
||||
cy="94.369568"
|
||||
fx="76.383331"
|
||||
fy="94.369568"
|
||||
r="19.467436"
|
||||
gradientTransform="matrix(0.9818943,0.1894295,-0.4109427,2.1300924,40.163453,-121.11559)" />
|
||||
<inkscape:perspective
|
||||
sodipodi:type="inkscape:persp3d"
|
||||
inkscape:vp_x="0 : 32 : 1"
|
||||
inkscape:vp_y="0 : 1000 : 0"
|
||||
inkscape:vp_z="64 : 32 : 1"
|
||||
inkscape:persp3d-origin="32 : 21.333333 : 1"
|
||||
id="perspective2829" />
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient3801-5"
|
||||
id="linearGradient3807-7"
|
||||
x1="110"
|
||||
y1="35"
|
||||
x2="85"
|
||||
y2="35"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
spreadMethod="reflect"
|
||||
gradientTransform="translate(-62,-16)" />
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
id="linearGradient3801-5">
|
||||
<stop
|
||||
style="stop-color:#c4a000;stop-opacity:1"
|
||||
offset="0"
|
||||
id="stop3803-3" />
|
||||
<stop
|
||||
style="stop-color:#fce94f;stop-opacity:1"
|
||||
offset="1"
|
||||
id="stop3805-5" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient3838"
|
||||
id="linearGradient3844"
|
||||
x1="2802.9631"
|
||||
y1="538.36249"
|
||||
x2="2859.7263"
|
||||
y2="786.05646"
|
||||
gradientUnits="userSpaceOnUse" />
|
||||
<linearGradient
|
||||
id="linearGradient3838">
|
||||
<stop
|
||||
style="stop-color:#34e0e2;stop-opacity:1"
|
||||
offset="0"
|
||||
id="stop3840" />
|
||||
<stop
|
||||
style="stop-color:#06989a;stop-opacity:1"
|
||||
offset="1"
|
||||
id="stop3842" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
y2="786.05646"
|
||||
x2="2859.7263"
|
||||
y1="538.36249"
|
||||
x1="2802.9631"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
id="linearGradient3045"
|
||||
xlink:href="#linearGradient3172" />
|
||||
<linearGradient
|
||||
id="linearGradient3172">
|
||||
<stop
|
||||
id="stop3174"
|
||||
offset="0"
|
||||
style="stop-color:#ef2929;stop-opacity:1" />
|
||||
<stop
|
||||
id="stop3176"
|
||||
offset="1"
|
||||
style="stop-color:#a40000;stop-opacity:1" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient3172"
|
||||
id="linearGradient3880"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
x1="2802.9631"
|
||||
y1="626.0874"
|
||||
x2="2849.4058"
|
||||
y2="822.17853" />
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient5"
|
||||
id="linearGradient6"
|
||||
x1="51"
|
||||
y1="53"
|
||||
x2="11"
|
||||
y2="12"
|
||||
gradientUnits="userSpaceOnUse" />
|
||||
</defs>
|
||||
<sodipodi:namedview
|
||||
id="base"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:zoom="11.313708"
|
||||
inkscape:cx="26.825864"
|
||||
inkscape:cy="27.356194"
|
||||
inkscape:current-layer="layer1"
|
||||
showgrid="true"
|
||||
inkscape:document-units="px"
|
||||
inkscape:grid-bbox="true"
|
||||
inkscape:window-width="2560"
|
||||
inkscape:window-height="1355"
|
||||
inkscape:window-x="0"
|
||||
inkscape:window-y="0"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:showpageshadow="2"
|
||||
inkscape:pagecheckerboard="0"
|
||||
inkscape:deskcolor="#d1d1d1">
|
||||
<inkscape:grid
|
||||
type="xygrid"
|
||||
id="grid2992"
|
||||
empspacing="2"
|
||||
visible="true"
|
||||
enabled="true"
|
||||
snapvisiblegridlinesonly="true"
|
||||
originx="0"
|
||||
originy="0"
|
||||
spacingy="1"
|
||||
spacingx="1"
|
||||
units="px" />
|
||||
</sodipodi:namedview>
|
||||
<metadata
|
||||
id="metadata2826">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:creator>
|
||||
<cc:Agent>
|
||||
<dc:title>[wmayer]</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:creator>
|
||||
<dc:title>Part_Cylinder</dc:title>
|
||||
<dc:date>2011-10-10</dc:date>
|
||||
<dc:relation>https://www.freecad.org/wiki/index.php?title=Artwork</dc:relation>
|
||||
<dc:publisher>
|
||||
<cc:Agent>
|
||||
<dc:title>FreeCAD</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:publisher>
|
||||
<dc:identifier>FreeCAD/src/Mod/Part/Gui/Resources/icons/Part_Cylinder.svg</dc:identifier>
|
||||
<dc:rights>
|
||||
<cc:Agent>
|
||||
<dc:title>FreeCAD LGPL2+</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:rights>
|
||||
<cc:license>https://www.gnu.org/copyleft/lesser.html</cc:license>
|
||||
<dc:contributor>
|
||||
<cc:Agent>
|
||||
<dc:title>[agryson] Alexander Gryson</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:contributor>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
id="layer1"
|
||||
inkscape:label="Layer 1"
|
||||
inkscape:groupmode="layer">
|
||||
<g
|
||||
id="g6"
|
||||
inkscape:label="Plane"
|
||||
transform="matrix(1.0798517,0,0,1.0798517,-2.5552547,-2.5552547)">
|
||||
<rect
|
||||
style="fill:url(#linearGradient6);fill-opacity:1;stroke:#302b00;stroke-width:1.5;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="rect3"
|
||||
width="48.50687"
|
||||
height="48.50687"
|
||||
x="7.7465649"
|
||||
y="7.7465649" />
|
||||
<rect
|
||||
style="fill:none;fill-opacity:1;stroke:#fce94f;stroke-width:1.41052;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="rect4"
|
||||
width="45.613106"
|
||||
height="45.613106"
|
||||
x="9.1934471"
|
||||
y="9.1934471" />
|
||||
</g>
|
||||
<g
|
||||
id="g1"
|
||||
transform="matrix(1.1586625,0,0,1.1586625,-4.9142154,-5.0778445)"
|
||||
inkscape:label="Arrows">
|
||||
<g
|
||||
id="g3894-3"
|
||||
transform="matrix(0.59756098,0,0,0.59756098,9.7487546,12.878049)">
|
||||
<path
|
||||
id="path3034-6"
|
||||
style="fill:#cc0000;stroke:#280000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1"
|
||||
d="M 37.001373,-8.9990736 23.9993,12.001006 h 8.001276 V 27.000129 H 17.001453 V 18.998853 L -3.9986268,32.000926 17.001453,44.99973 V 36.998455 H 32.000576 V 52.000846 H 23.9993 l 13.002073,21.00008 12.998804,-21.00008 H 41.998902 V 36.998455 H 57.001293 V 44.99973 L 78.001373,32.000926 57.001293,18.998853 v 8.001276 H 41.998902 V 12.001006 h 8.001275 z" />
|
||||
<path
|
||||
id="path3034-3-7"
|
||||
style="fill:none;stroke:#ef2929;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||
d="M 37.001373,-5.2010826 27.601182,10.000687 h 6.399713 V 29.000448 H 15.001134 V 22.600735 L -0.20063576,32.000926 15.001134,41.401117 v -6.399713 h 18.999761 v 18.999761 h -6.399713 l 9.400191,15.198501 9.400191,-15.198501 H 39.998583 V 35.001404 h 19.003029 v 6.399713 L 74.200113,32.000926 59.001612,22.600735 v 6.399713 H 39.998583 V 10.000687 h 6.402981 z" />
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 8.5 KiB |
@@ -0,0 +1,467 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
width="64px"
|
||||
height="64px"
|
||||
id="svg2821"
|
||||
version="1.1"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/">
|
||||
<defs
|
||||
id="defs2823">
|
||||
<linearGradient
|
||||
id="linearGradient59">
|
||||
<stop
|
||||
style="stop-color:#c4a000;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop59" />
|
||||
<stop
|
||||
style="stop-color:#fce94f;stop-opacity:1;"
|
||||
offset="0.54268295"
|
||||
id="stop58" />
|
||||
<stop
|
||||
style="stop-color:#c4a000;stop-opacity:1;"
|
||||
offset="1"
|
||||
id="stop805" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient53">
|
||||
<stop
|
||||
style="stop-color:#729fcf;stop-opacity:1"
|
||||
offset="0"
|
||||
id="stop53" />
|
||||
<stop
|
||||
style="stop-color:#3465a4;stop-opacity:1;"
|
||||
offset="1"
|
||||
id="stop52" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient11">
|
||||
<stop
|
||||
style="stop-color:#c4a000;stop-opacity:1"
|
||||
offset="0"
|
||||
id="stop11" />
|
||||
<stop
|
||||
style="stop-color:#fce94f;stop-opacity:1"
|
||||
offset="1"
|
||||
id="stop9" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient6">
|
||||
<stop
|
||||
style="stop-color:#729fcf;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop6" />
|
||||
<stop
|
||||
style="stop-color:#3465a4;stop-opacity:1;"
|
||||
offset="1"
|
||||
id="stop5" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient4">
|
||||
<stop
|
||||
style="stop-color:#729fcf;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop4" />
|
||||
<stop
|
||||
style="stop-color:#3465a4;stop-opacity:1;"
|
||||
offset="1"
|
||||
id="stop1" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient3">
|
||||
<stop
|
||||
style="stop-color:#fce94f;stop-opacity:1"
|
||||
offset="0"
|
||||
id="stop3" />
|
||||
<stop
|
||||
style="stop-color:#c4a000;stop-opacity:1"
|
||||
offset="1"
|
||||
id="stop2" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient35">
|
||||
<stop
|
||||
style="stop-color:#3465a4;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop33" />
|
||||
<stop
|
||||
style="stop-color:#729fcf;stop-opacity:1;"
|
||||
offset="1"
|
||||
id="stop34" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient21">
|
||||
<stop
|
||||
style="stop-color:#3465a4;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop21" />
|
||||
<stop
|
||||
style="stop-color:#3465a4;stop-opacity:0;"
|
||||
offset="1"
|
||||
id="stop22" />
|
||||
</linearGradient>
|
||||
<radialGradient
|
||||
xlink:href="#linearGradient3377"
|
||||
id="radialGradient3701"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
cx="84.883324"
|
||||
cy="77.042847"
|
||||
fx="84.883324"
|
||||
fy="77.042847"
|
||||
r="19.467436"
|
||||
gradientTransform="matrix(2.8492421,1.2585119,-0.4040415,0.9147407,-125.84131,-100.25805)" />
|
||||
<linearGradient
|
||||
id="linearGradient3377">
|
||||
<stop
|
||||
id="stop3379"
|
||||
offset="0"
|
||||
style="stop-color:#faff2b;stop-opacity:1;" />
|
||||
<stop
|
||||
id="stop3381"
|
||||
offset="1"
|
||||
style="stop-color:#ffaa00;stop-opacity:1;" />
|
||||
</linearGradient>
|
||||
<radialGradient
|
||||
xlink:href="#linearGradient3377"
|
||||
id="radialGradient3699"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
cx="76.383331"
|
||||
cy="94.369568"
|
||||
fx="76.383331"
|
||||
fy="94.369568"
|
||||
r="19.467436"
|
||||
gradientTransform="matrix(0.9818943,0.1894295,-0.4109427,2.1300924,40.163453,-121.11559)" />
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient3801-5"
|
||||
id="linearGradient3807-7"
|
||||
x1="110"
|
||||
y1="35"
|
||||
x2="85"
|
||||
y2="35"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
spreadMethod="reflect"
|
||||
gradientTransform="translate(-62,-16)" />
|
||||
<linearGradient
|
||||
id="linearGradient3801-5">
|
||||
<stop
|
||||
style="stop-color:#c4a000;stop-opacity:1"
|
||||
offset="0"
|
||||
id="stop3803-3" />
|
||||
<stop
|
||||
style="stop-color:#fce94f;stop-opacity:1"
|
||||
offset="1"
|
||||
id="stop3805-5" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient3838"
|
||||
id="linearGradient3844"
|
||||
x1="2802.9631"
|
||||
y1="538.36249"
|
||||
x2="2859.7263"
|
||||
y2="786.05646"
|
||||
gradientUnits="userSpaceOnUse" />
|
||||
<linearGradient
|
||||
id="linearGradient3838">
|
||||
<stop
|
||||
style="stop-color:#34e0e2;stop-opacity:1"
|
||||
offset="0"
|
||||
id="stop3840" />
|
||||
<stop
|
||||
style="stop-color:#06989a;stop-opacity:1"
|
||||
offset="1"
|
||||
id="stop3842" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
y2="786.05646"
|
||||
x2="2859.7263"
|
||||
y1="538.36249"
|
||||
x1="2802.9631"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
id="linearGradient3045"
|
||||
xlink:href="#linearGradient3172" />
|
||||
<linearGradient
|
||||
id="linearGradient3172">
|
||||
<stop
|
||||
id="stop3174"
|
||||
offset="0"
|
||||
style="stop-color:#ef2929;stop-opacity:1" />
|
||||
<stop
|
||||
id="stop3176"
|
||||
offset="1"
|
||||
style="stop-color:#a40000;stop-opacity:1" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient3172"
|
||||
id="linearGradient3880"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
x1="2802.9631"
|
||||
y1="626.0874"
|
||||
x2="2849.4058"
|
||||
y2="822.17853" />
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient11"
|
||||
id="linearGradient22"
|
||||
x1="22.782017"
|
||||
y1="37.760967"
|
||||
x2="10.12716"
|
||||
y2="31.568081"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(1.0546639,0,0,1.047623,-9.2679129,3.0093584)" />
|
||||
<linearGradient
|
||||
id="linearGradient4389"
|
||||
x1="20.243999"
|
||||
x2="17.243999"
|
||||
y1="37.588001"
|
||||
y2="27.587999"
|
||||
gradientTransform="translate(-1.2435,-2.5881)"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
xlink:href="#linearGradient3774" />
|
||||
<linearGradient
|
||||
id="linearGradient3774">
|
||||
<stop
|
||||
stop-color="#4e9a06"
|
||||
offset="0"
|
||||
id="stop21-8" />
|
||||
<stop
|
||||
stop-color="#8ae234"
|
||||
offset="1"
|
||||
id="stop23" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient69042"
|
||||
x1="48.714001"
|
||||
x2="44.714001"
|
||||
y1="45.585999"
|
||||
y2="34.585999"
|
||||
gradientTransform="translate(-12.714,-17.586)"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
xlink:href="#linearGradient3774" />
|
||||
<linearGradient
|
||||
id="linearGradient69056"
|
||||
x1="27.243999"
|
||||
x2="22.243999"
|
||||
y1="54.588001"
|
||||
y2="40.588001"
|
||||
gradientTransform="translate(-1.2435,-2.5881)"
|
||||
gradientUnits="userSpaceOnUse">
|
||||
<stop
|
||||
stop-color="#c4a000"
|
||||
offset="0"
|
||||
id="stop14-4" />
|
||||
<stop
|
||||
stop-color="#fce94f"
|
||||
offset="1"
|
||||
id="stop16" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient4399"
|
||||
x1="48.714001"
|
||||
x2="44.714001"
|
||||
y1="45.585999"
|
||||
y2="34.585999"
|
||||
gradientTransform="translate(1.2856,1.4142)"
|
||||
gradientUnits="userSpaceOnUse">
|
||||
<stop
|
||||
stop-color="#c4a000"
|
||||
offset="0"
|
||||
id="stop8" />
|
||||
<stop
|
||||
stop-color="#edd400"
|
||||
offset="1"
|
||||
id="stop10" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient21"
|
||||
id="linearGradient27"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="translate(-0.30409276,0.05778729)"
|
||||
x1="22.782017"
|
||||
y1="37.760967"
|
||||
x2="11.930232"
|
||||
y2="29.936911" />
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient69056"
|
||||
id="linearGradient33"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(1.9938046,0,0,1.9613155,1.0732527,-49.356425)"
|
||||
x1="22.782017"
|
||||
y1="37.760967"
|
||||
x2="7.864368"
|
||||
y2="32.411785" />
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient3"
|
||||
id="linearGradient2"
|
||||
x1="14.883397"
|
||||
y1="43.811935"
|
||||
x2="25.259163"
|
||||
y2="50.94812"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(1.8048567,0,0,1.7835759,4.5436424,-43.019855)" />
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient3"
|
||||
id="linearGradient2-0"
|
||||
x1="14.883397"
|
||||
y1="43.811935"
|
||||
x2="25.259163"
|
||||
y2="50.94812"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(1.8048567,0,0,1.7835759,96.609777,-8.4537881)" />
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient69056"
|
||||
id="linearGradient33-9"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(1.9938046,0,0,1.9613155,114.04645,31.478968)"
|
||||
x1="22.782017"
|
||||
y1="37.760967"
|
||||
x2="7.864368"
|
||||
y2="32.411785" />
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient69056"
|
||||
id="linearGradient33-1"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(1.9938046,0,0,1.9613155,100.92145,-12.646032)"
|
||||
x1="22.782017"
|
||||
y1="37.760967"
|
||||
x2="7.864368"
|
||||
y2="32.411785" />
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient3"
|
||||
id="linearGradient2-8"
|
||||
x1="5.1180787"
|
||||
y1="51.030579"
|
||||
x2="24.220299"
|
||||
y2="43.028637"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(1.8048567,0,0,1.7835759,137.32907,24.566604)" />
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient53"
|
||||
id="linearGradient869"
|
||||
x1="983.18237"
|
||||
y1="958.18414"
|
||||
x2="1079.1696"
|
||||
y2="1089.5997"
|
||||
gradientUnits="userSpaceOnUse" />
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient53"
|
||||
id="linearGradient871"
|
||||
x1="1153.2407"
|
||||
y1="1099.8772"
|
||||
x2="1183.7623"
|
||||
y2="1134.4603"
|
||||
gradientUnits="userSpaceOnUse" />
|
||||
</defs>
|
||||
<metadata
|
||||
id="metadata2826">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:creator>
|
||||
<cc:Agent>
|
||||
<dc:title>[wmayer]</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:creator>
|
||||
<dc:date>2011-10-10</dc:date>
|
||||
<dc:relation>http://www.freecad.org/wiki/index.php?title=Artwork</dc:relation>
|
||||
<dc:publisher>
|
||||
<cc:Agent>
|
||||
<dc:title>FreeCAD</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:publisher>
|
||||
<dc:identifier>FreeCAD/src/Mod/Part/Gui/Resources/icons/Part_Cylinder.svg</dc:identifier>
|
||||
<dc:rights>
|
||||
<cc:Agent>
|
||||
<dc:title>FreeCAD LGPL2+</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:rights>
|
||||
<cc:license>https://www.gnu.org/copyleft/lesser.html</cc:license>
|
||||
<dc:contributor>
|
||||
<cc:Agent>
|
||||
<dc:title>[agryson] Alexander Gryson</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:contributor>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
id="layer1">
|
||||
<g
|
||||
id="g97"
|
||||
transform="matrix(0.23865363,0,0,0.23831825,-224.95297,-221.23056)"
|
||||
style="stroke-width:1.5848">
|
||||
<g
|
||||
id="g872"
|
||||
transform="matrix(0.97528091,0.26169349,-0.26095849,0.97528091,307.16096,-252.68061)"
|
||||
style="stroke-width:1.5696">
|
||||
<path
|
||||
d="m 1170.7026,1096.2564 c 13.8072,0 24.9937,11.1972 24.9937,25.0043 0,13.8071 -11.1865,24.9961 -24.9937,24.9961 -13.8071,0 -25.0019,-11.189 -25.0019,-24.9961 0,-13.8071 11.1948,-25.0043 25.0019,-25.0043 z"
|
||||
style="fill:#729fcf;fill-rule:evenodd;stroke:#0c1522;stroke-width:6.22935;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="path864" />
|
||||
<path
|
||||
d="m 1036.1997,960.52337 c -41.42138,0 -74.99758,33.57519 -74.99758,74.99653 0,41.4213 33.5762,75.0048 74.99758,75.0048 41.4213,0 74.9975,-33.5835 74.9975,-75.0048 0,-41.42134 -33.5762,-74.99653 -74.9975,-74.99653 z"
|
||||
style="fill:#729fcf;fill-rule:evenodd;stroke:#0c1522;stroke-width:6.22935;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="path862" />
|
||||
<path
|
||||
d="m 1038.1311,953.04092 c -10.7212,-0.25408 -21.5966,1.58572 -32.0237,5.67125 -33.36701,13.07309 -54.48126,46.18793 -52.24626,81.95453 2.234,35.7666 27.30802,65.9975 62.04236,74.8162 l 146.7952,37.2729 c 13.5924,3.4506 27.8657,-2.2052 35.4037,-14.0306 7.537,-11.8255 6.64,-27.1537 -2.226,-38.0187 l -95.7602,-117.34242 c -15.5769,-19.08835 -38.3986,-29.76417 -61.9851,-30.32316 z m -0.1146,4.99922 c 22.157,0.52511 43.5958,10.55589 58.2287,28.48738 l 95.7602,117.34248 c 7.502,9.1934 8.2613,22.1609 1.8823,32.1671 -6.378,10.0061 -18.452,14.7952 -29.9532,11.8752 l -146.8034,-37.2729 c -32.62925,-8.2842 -56.17877,-36.6852 -58.27776,-70.2842 -2.099,-33.5989 17.73497,-64.70723 49.07906,-76.98801 9.7951,-3.83784 20.0127,-5.56573 30.0841,-5.32705 z"
|
||||
style="fill:#fce94f;fill-rule:evenodd;stroke:#fce94f;stroke-width:6.22935;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none"
|
||||
id="path863" />
|
||||
<path
|
||||
d="m 1038.2793,946.8125 c -11.5396,-0.27347 -23.2321,1.70684 -34.4434,6.09961 -35.9015,14.06611 -58.59619,49.65829 -56.19137,88.14259 2.40379,38.4849 29.35372,70.9762 66.72657,80.4648 l 146.7949,37.2735 c 16.2144,4.1162 33.1972,-2.6139 42.1895,-16.7207 8.9907,-14.1065 7.9245,-32.3431 -2.6524,-45.3047 l -95.7617,-117.34182 c -16.7464,-20.52153 -41.2859,-32.01187 -66.6621,-32.61328 z m -0.4121,17.45703 c 20.3668,0.48269 40.0895,9.69907 53.5527,26.19727 l 95.7598,117.3398 c 5.7917,7.0975 6.3799,17.1577 1.4551,24.8829 -4.9243,7.7253 -14.2898,11.4395 -23.168,9.1855 l -146.8027,-37.2734 c -29.9902,-7.6142 -51.66457,-33.7534 -53.59379,-64.6348 -1.92921,-30.8811 16.32559,-59.51124 45.13479,-70.79883 9.013,-3.53142 18.4052,-5.11782 27.6621,-4.89844 z"
|
||||
style="fill:#fce94f;fill-rule:evenodd;stroke:#221e0c;stroke-width:6.22935;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="path865" />
|
||||
<path
|
||||
d="m 1038.082,955.11719 c 22.9899,0.54485 45.2368,10.948 60.4239,29.55859 l 95.7617,117.34372 c 8.2957,10.1662 9.1363,24.5248 2.084,35.5899 -7.0533,11.065 -20.4224,16.3634 -33.1407,13.1347 l -146.7949,-37.2734 c -33.85465,-8.5954 -58.30501,-38.0732 -60.48241,-72.9336 -2.17838,-34.8605 18.40956,-67.14857 50.93161,-79.89062 10.1657,-3.98308 20.7685,-5.77691 31.2168,-5.52929 z m -0.018,0.84765 c -10.3429,-0.24511 -20.8349,1.52879 -30.8907,5.46875 -32.18893,12.61181 -52.54814,44.54611 -50.39255,79.05081 2.15557,34.5047 26.32909,63.6585 59.83785,72.166 l 146.8028,37.2734 c 12.3754,3.142 25.3543,-2.0033 32.2168,-12.7695 6.8638,-10.7666 6.0487,-24.7056 -2.0235,-34.5977 l -95.7597,-117.34176 c -15.0228,-18.40922 -37.0374,-28.71075 -59.791,-29.25 z"
|
||||
style="fill:#edd400;fill-rule:evenodd;stroke:#ebd200;stroke-width:3.73761;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="path866" />
|
||||
<path
|
||||
d="m 1036.1992,966.75195 c 37.9498,0 68.7696,30.81797 68.7696,68.76755 -1e-4,37.9496 -30.8208,68.7774 -68.7696,68.7774 -37.94883,0 -68.76951,-30.8278 -68.76951,-68.7774 0,-37.94959 30.81967,-68.76755 68.76951,-68.76755 z"
|
||||
style="fill:url(#linearGradient869);fill-rule:evenodd;stroke:#729fcf;stroke-width:6.22935;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="path867" />
|
||||
<path
|
||||
d="m 1170.7031,1102.4844 c 10.3342,0 18.7657,8.4383 18.7657,18.7754 0,10.3371 -8.4291,18.7675 -18.7657,18.7675 -10.3364,0 -18.7734,-8.4329 -18.7734,-18.7675 0,-10.3347 8.4394,-18.7754 18.7734,-18.7754 z"
|
||||
style="fill:url(#linearGradient871);fill-rule:evenodd;stroke:#729fcf;stroke-width:6.22935;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="path869" />
|
||||
<path
|
||||
d="m 1036.1997,1020.2595 c -8.4322,0 -15.2674,6.8334 -15.2674,15.2637 0,8.4303 6.8352,15.2654 15.2674,15.2654 8.4321,0 15.2673,-6.8351 15.2673,-15.2654 0,-8.4303 -6.8352,-15.2637 -15.2673,-15.2637 z"
|
||||
style="fill:#0c1522;fill-opacity:1;fill-rule:evenodd;stroke:#729fcf;stroke-width:6.22934;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="path871" />
|
||||
<path
|
||||
d="m 1170.6991,1114.1665 c -3.9175,0 -7.0931,3.1737 -7.0931,7.0889 0,3.9153 3.1756,7.0898 7.0931,7.0898 3.9176,0 7.0932,-3.1745 7.0932,-7.0898 0,-3.9152 -3.1756,-7.0889 -7.0932,-7.0889 z"
|
||||
style="fill:#0c1522;fill-opacity:1;fill-rule:evenodd;stroke:#729fcf;stroke-width:6.22936;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="path872" />
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<g
|
||||
id="g3"
|
||||
transform="matrix(-0.56337058,-0.12619946,-0.12612416,0.56349252,69.722304,33.49564)"
|
||||
style="display:inline;stroke-width:1.14374">
|
||||
<path
|
||||
style="fill:#cc0000;stroke:#280000;stroke-width:2.2875;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1"
|
||||
d="m 22,23 v 8 L 11,18 22,5 v 8 c 13.990861,0.89236 21.709688,5.800761 29.050356,20.088298 L 42.152059,39.09018 C 39.06111,31.270541 32,23 22,23 Z"
|
||||
id="path1" />
|
||||
<path
|
||||
style="fill:none;stroke:#ef2929;stroke-width:2.2875;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||
d="M 20,10.5 13.6,18 20,25.5 V 21 c 9,-1 17.528195,4.302646 23.08961,15.156457 l 5.317803,-3.78926 C 43.035465,23.02279 36.505774,14.797281 20,15 Z"
|
||||
id="path2" />
|
||||
</g>
|
||||
<g
|
||||
id="g4"
|
||||
transform="matrix(-0.56337058,-0.12619946,-0.12612416,0.56349252,44.927602,5.098289)"
|
||||
style="display:inline;stroke-width:1.14374">
|
||||
<path
|
||||
style="fill:#cc0000;stroke:#280000;stroke-width:2.2875;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1"
|
||||
d="m 22,23 v 8 L 11,18 22,5 v 8 c 13.990861,0.89236 21.709688,5.800761 29.050356,20.088298 L 42.152059,39.09018 C 39.06111,31.270541 32,23 22,23 Z"
|
||||
id="path3" />
|
||||
<path
|
||||
style="fill:none;stroke:#ef2929;stroke-width:2.2875;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||
d="M 20,10.5 13.6,18 20,25.5 V 21 c 9,-1 17.528195,4.302646 23.08961,15.156457 l 5.317803,-3.78926 C 43.035465,23.02279 36.505774,14.797281 20,15 Z"
|
||||
id="path4" />
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 18 KiB |
|
After Width: | Height: | Size: 45 KiB |
@@ -0,0 +1,260 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
width="64px"
|
||||
height="64px"
|
||||
id="svg2821"
|
||||
version="1.1"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/">
|
||||
<defs
|
||||
id="defs2823">
|
||||
<linearGradient
|
||||
id="linearGradient15">
|
||||
<stop
|
||||
style="stop-color:#3465a4;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop14" />
|
||||
<stop
|
||||
style="stop-color:#729fcf;stop-opacity:1;"
|
||||
offset="1"
|
||||
id="stop15" />
|
||||
</linearGradient>
|
||||
<radialGradient
|
||||
xlink:href="#linearGradient3377"
|
||||
id="radialGradient3701"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
cx="84.883324"
|
||||
cy="77.042847"
|
||||
fx="84.883324"
|
||||
fy="77.042847"
|
||||
r="19.467436"
|
||||
gradientTransform="matrix(2.8492421,1.2585119,-0.4040415,0.9147407,-125.84131,-100.25805)" />
|
||||
<linearGradient
|
||||
id="linearGradient3377">
|
||||
<stop
|
||||
id="stop3379"
|
||||
offset="0"
|
||||
style="stop-color:#faff2b;stop-opacity:1;" />
|
||||
<stop
|
||||
id="stop3381"
|
||||
offset="1"
|
||||
style="stop-color:#ffaa00;stop-opacity:1;" />
|
||||
</linearGradient>
|
||||
<radialGradient
|
||||
xlink:href="#linearGradient3377"
|
||||
id="radialGradient3699"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
cx="76.383331"
|
||||
cy="94.369568"
|
||||
fx="76.383331"
|
||||
fy="94.369568"
|
||||
r="19.467436"
|
||||
gradientTransform="matrix(0.9818943,0.1894295,-0.4109427,2.1300924,40.163453,-121.11559)" />
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient3801-5"
|
||||
id="linearGradient3807-7"
|
||||
x1="110"
|
||||
y1="35"
|
||||
x2="85"
|
||||
y2="35"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
spreadMethod="reflect"
|
||||
gradientTransform="translate(-62,-16)" />
|
||||
<linearGradient
|
||||
id="linearGradient3801-5">
|
||||
<stop
|
||||
style="stop-color:#c4a000;stop-opacity:1"
|
||||
offset="0"
|
||||
id="stop3803-3" />
|
||||
<stop
|
||||
style="stop-color:#fce94f;stop-opacity:1"
|
||||
offset="1"
|
||||
id="stop3805-5" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient3838"
|
||||
id="linearGradient3844"
|
||||
x1="2802.9631"
|
||||
y1="538.36249"
|
||||
x2="2859.7263"
|
||||
y2="786.05646"
|
||||
gradientUnits="userSpaceOnUse" />
|
||||
<linearGradient
|
||||
id="linearGradient3838">
|
||||
<stop
|
||||
style="stop-color:#34e0e2;stop-opacity:1"
|
||||
offset="0"
|
||||
id="stop3840" />
|
||||
<stop
|
||||
style="stop-color:#06989a;stop-opacity:1"
|
||||
offset="1"
|
||||
id="stop3842" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
y2="786.05646"
|
||||
x2="2859.7263"
|
||||
y1="538.36249"
|
||||
x1="2802.9631"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
id="linearGradient3045"
|
||||
xlink:href="#linearGradient3172" />
|
||||
<linearGradient
|
||||
id="linearGradient3172">
|
||||
<stop
|
||||
id="stop3174"
|
||||
offset="0"
|
||||
style="stop-color:#ef2929;stop-opacity:1" />
|
||||
<stop
|
||||
id="stop3176"
|
||||
offset="1"
|
||||
style="stop-color:#a40000;stop-opacity:1" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient3172"
|
||||
id="linearGradient3880"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
x1="2802.9631"
|
||||
y1="626.0874"
|
||||
x2="2849.4058"
|
||||
y2="822.17853" />
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient3801-5"
|
||||
id="linearGradient3807"
|
||||
x1="74.090889"
|
||||
y1="36.438313"
|
||||
x2="98.940155"
|
||||
y2="39.402027"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
spreadMethod="reflect"
|
||||
gradientTransform="matrix(0.91296596,0,0,0.91296596,-53.260025,-10.845327)" />
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient15"
|
||||
id="linearGradient14"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="translate(-61.166465,-8.8148077)"
|
||||
x1="74.090889"
|
||||
y1="36.438313"
|
||||
x2="98.940155"
|
||||
y2="39.402027"
|
||||
spreadMethod="reflect" />
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient15"
|
||||
id="linearGradient1"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="translate(-60.858374,-24.486759)"
|
||||
x1="74.090889"
|
||||
y1="36.438313"
|
||||
x2="98.940155"
|
||||
y2="39.402027"
|
||||
spreadMethod="reflect" />
|
||||
</defs>
|
||||
<metadata
|
||||
id="metadata2826">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:creator>
|
||||
<cc:Agent>
|
||||
<dc:title>[wmayer]</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:creator>
|
||||
<dc:date>2011-10-10</dc:date>
|
||||
<dc:relation>http://www.freecad.org/wiki/index.php?title=Artwork</dc:relation>
|
||||
<dc:publisher>
|
||||
<cc:Agent>
|
||||
<dc:title>FreeCAD</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:publisher>
|
||||
<dc:identifier>FreeCAD/src/Mod/Part/Gui/Resources/icons/Part_Cylinder.svg</dc:identifier>
|
||||
<dc:rights>
|
||||
<cc:Agent>
|
||||
<dc:title>FreeCAD LGPL2+</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:rights>
|
||||
<cc:license>https://www.gnu.org/copyleft/lesser.html</cc:license>
|
||||
<dc:contributor>
|
||||
<cc:Agent>
|
||||
<dc:title>[agryson] Alexander Gryson</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:contributor>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
id="layer1">
|
||||
<g
|
||||
id="g1">
|
||||
<g
|
||||
id="g12"
|
||||
transform="matrix(-0.41855563,-0.77070974,0.7249596,-0.44496947,29.702015,65.664116)"
|
||||
style="stroke-width:1.05775">
|
||||
<path
|
||||
style="fill:#729fcf;stroke:#302b00;stroke-width:2.1155;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4.5;stroke-dashoffset:20.4;stroke-opacity:1"
|
||||
d="m 55.833536,41.748693 c 0,4.418278 -10.745166,8 -24,8 -13.254833,0 -23.999999,-3.581722 -23.999999,-8 l -2e-6,-23.901751 h 48 z"
|
||||
id="path10" />
|
||||
<path
|
||||
style="fill:url(#linearGradient14);fill-opacity:1;stroke:#729fcf;stroke-width:2.1155;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4.5;stroke-dashoffset:20.4;stroke-opacity:1"
|
||||
d="m 53.833535,40.475966 c 0,4.016616 -9.84973,7.272727 -22,7.272727 -12.150264,0 -21.9999995,-3.256111 -21.9999995,-7.272727 l -1.5e-6,-20.883023 h 44.000001 z"
|
||||
id="path11" />
|
||||
<path
|
||||
style="fill:none;stroke:#fce94f;stroke-width:2.1155;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4.5;stroke-dashoffset:20.4;stroke-opacity:1"
|
||||
d="m 53.833535,22.029443 c -2,3.272727 -9.84973,5.272727 -22,5.272727 -12.150264,0 -19,-2 -21.9999995,-5.272727"
|
||||
id="path12" />
|
||||
<ellipse
|
||||
style="fill:#fce94f;stroke:#302b00;stroke-width:1.85106;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4.5;stroke-dasharray:none;stroke-dashoffset:20.4;stroke-opacity:1"
|
||||
id="ellipse12"
|
||||
cx="31.833534"
|
||||
cy="17.846943"
|
||||
rx="24"
|
||||
ry="7.9999995" />
|
||||
<path
|
||||
style="fill:url(#linearGradient1);fill-opacity:1;stroke:#729fcf;stroke-width:2.1155;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4.5;stroke-dashoffset:20.4;stroke-opacity:1"
|
||||
d="m 54.141626,24.804015 c 0,4.016616 -9.84973,7.272727 -22,7.272727 -12.150264,0 -22.3080916,-3.0589 -22.3080916,-7.075516"
|
||||
id="path1" />
|
||||
</g>
|
||||
<g
|
||||
id="g3"
|
||||
transform="matrix(-0.45845699,-0.84418234,0.79407079,-0.4873889,18.64512,75.356751)"
|
||||
style="stroke-width:1.05775">
|
||||
<path
|
||||
style="fill:#fce94f;stroke:#302b00;stroke-width:1.93138;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4.5;stroke-dashoffset:20.4;stroke-opacity:1"
|
||||
d="m 53.556993,35.317428 c 0,4.033737 -9.809971,7.303728 -21.911183,7.303728 -12.101212,0 -21.9111824,-3.269991 -21.9111824,-7.303728 l -1.8e-6,-21.821485 H 53.556992 Z"
|
||||
id="path2994-3" />
|
||||
<path
|
||||
style="fill:url(#linearGradient3807);fill-opacity:1;stroke:#fce94f;stroke-width:1.93138;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4.5;stroke-dashoffset:20.4;stroke-opacity:1"
|
||||
d="m 51.73106,34.155472 c 0,3.667033 -8.992468,6.639752 -20.085251,6.639752 -11.092778,0 -20.085251,-2.972719 -20.085251,-6.639752 l -1e-6,-19.06549 H 51.73106 Z"
|
||||
id="path2994-3-6" />
|
||||
<path
|
||||
style="fill:none;stroke:#fce94f;stroke-width:1.93138;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4.5;stroke-dashoffset:20.4;stroke-opacity:1"
|
||||
d="m 51.73106,17.314424 c -1.825932,2.987888 -8.992468,4.81382 -20.085251,4.81382 -11.092778,0 -17.346353,-1.825932 -20.085251,-4.81382"
|
||||
id="path2994-3-6-9" />
|
||||
<ellipse
|
||||
style="fill:#fce94f;stroke:#302b00;stroke-width:1.68995;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4.5;stroke-dasharray:none;stroke-dashoffset:20.4;stroke-opacity:1"
|
||||
id="path2994"
|
||||
cx="31.645807"
|
||||
cy="13.495944"
|
||||
rx="21.911182"
|
||||
ry="7.3037271" />
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<g
|
||||
id="g3894"
|
||||
transform="matrix(-0.55930435,0.36782646,-0.36782646,-0.55930435,64.224377,33.922906)">
|
||||
<path
|
||||
id="path3034"
|
||||
style="fill:#cc0000;stroke:#280000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1"
|
||||
d="m 39.727861,59.856357 -7.931696,1.051156 16.468003,13.415414 9.308602,-16.824452 -7.931071,1.047948 c 0,0 -4.769344,-11.438514 -4.482124,-23.814377 0.28722,-12.375864 2.122864,-21.560053 5.002308,-27.8806611 L 58.035007,8.2705416 49.401308,-9.8243533 32.447357,3.658281 40.32048,5.0774383 c -2.215519,7.1939257 -4.944461,17.7161567 -5.097129,29.4339847 -0.152668,11.717827 4.50451,25.344934 4.50451,25.344934 z" />
|
||||
<path
|
||||
id="path3034-3"
|
||||
style="fill:none;stroke:#ef2929;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||
d="M 42.294596,61.458559 36.569302,62.26303 47.6973,71.281842 53.888294,59.977938 47.993171,60.40505 c 0,0 -5.098096,-12.019738 -4.755572,-25.591292 C 43.580123,21.242204 44.972361,12.57644 49.056995,4.8823104 L 54.501933,5.7523283 48.673377,-6.64344 37.040489,2.5499919 l 5.69744,1.262008 C 40.115582,12.087163 37.884178,20.2052 37.277916,34.520587 c -0.606263,14.315386 5.01668,26.937972 5.01668,26.937972 z" />
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 10 KiB |
@@ -0,0 +1,535 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
width="64px"
|
||||
height="64px"
|
||||
id="svg2821"
|
||||
version="1.1"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/">
|
||||
<defs
|
||||
id="defs2823">
|
||||
<linearGradient
|
||||
id="linearGradient59">
|
||||
<stop
|
||||
style="stop-color:#c4a000;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop59" />
|
||||
<stop
|
||||
style="stop-color:#fce94f;stop-opacity:1;"
|
||||
offset="0.67682928"
|
||||
id="stop58" />
|
||||
<stop
|
||||
style="stop-color:#c4a000;stop-opacity:1;"
|
||||
offset="1"
|
||||
id="stop805" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient53">
|
||||
<stop
|
||||
style="stop-color:#729fcf;stop-opacity:1"
|
||||
offset="0"
|
||||
id="stop53" />
|
||||
<stop
|
||||
style="stop-color:#3465a4;stop-opacity:1;"
|
||||
offset="1"
|
||||
id="stop52" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient11">
|
||||
<stop
|
||||
style="stop-color:#c4a000;stop-opacity:1"
|
||||
offset="0"
|
||||
id="stop11" />
|
||||
<stop
|
||||
style="stop-color:#fce94f;stop-opacity:1"
|
||||
offset="1"
|
||||
id="stop9" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient6">
|
||||
<stop
|
||||
style="stop-color:#729fcf;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop6" />
|
||||
<stop
|
||||
style="stop-color:#3465a4;stop-opacity:1;"
|
||||
offset="1"
|
||||
id="stop5" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient4">
|
||||
<stop
|
||||
style="stop-color:#729fcf;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop4" />
|
||||
<stop
|
||||
style="stop-color:#3465a4;stop-opacity:1;"
|
||||
offset="1"
|
||||
id="stop1" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient3">
|
||||
<stop
|
||||
style="stop-color:#fce94f;stop-opacity:1"
|
||||
offset="0"
|
||||
id="stop3" />
|
||||
<stop
|
||||
style="stop-color:#c4a000;stop-opacity:1"
|
||||
offset="1"
|
||||
id="stop2" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient35">
|
||||
<stop
|
||||
style="stop-color:#3465a4;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop33" />
|
||||
<stop
|
||||
style="stop-color:#729fcf;stop-opacity:1;"
|
||||
offset="1"
|
||||
id="stop34" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient21">
|
||||
<stop
|
||||
style="stop-color:#3465a4;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop21" />
|
||||
<stop
|
||||
style="stop-color:#3465a4;stop-opacity:0;"
|
||||
offset="1"
|
||||
id="stop22" />
|
||||
</linearGradient>
|
||||
<radialGradient
|
||||
xlink:href="#linearGradient3377"
|
||||
id="radialGradient3701"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
cx="84.883324"
|
||||
cy="77.042847"
|
||||
fx="84.883324"
|
||||
fy="77.042847"
|
||||
r="19.467436"
|
||||
gradientTransform="matrix(2.8492421,1.2585119,-0.4040415,0.9147407,-125.84131,-100.25805)" />
|
||||
<linearGradient
|
||||
id="linearGradient3377">
|
||||
<stop
|
||||
id="stop3379"
|
||||
offset="0"
|
||||
style="stop-color:#faff2b;stop-opacity:1;" />
|
||||
<stop
|
||||
id="stop3381"
|
||||
offset="1"
|
||||
style="stop-color:#ffaa00;stop-opacity:1;" />
|
||||
</linearGradient>
|
||||
<radialGradient
|
||||
xlink:href="#linearGradient3377"
|
||||
id="radialGradient3699"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
cx="76.383331"
|
||||
cy="94.369568"
|
||||
fx="76.383331"
|
||||
fy="94.369568"
|
||||
r="19.467436"
|
||||
gradientTransform="matrix(0.9818943,0.1894295,-0.4109427,2.1300924,40.163453,-121.11559)" />
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient3801-5"
|
||||
id="linearGradient3807-7"
|
||||
x1="110"
|
||||
y1="35"
|
||||
x2="85"
|
||||
y2="35"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
spreadMethod="reflect"
|
||||
gradientTransform="translate(-62,-16)" />
|
||||
<linearGradient
|
||||
id="linearGradient3801-5">
|
||||
<stop
|
||||
style="stop-color:#c4a000;stop-opacity:1"
|
||||
offset="0"
|
||||
id="stop3803-3" />
|
||||
<stop
|
||||
style="stop-color:#fce94f;stop-opacity:1"
|
||||
offset="1"
|
||||
id="stop3805-5" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient3838"
|
||||
id="linearGradient3844"
|
||||
x1="2802.9631"
|
||||
y1="538.36249"
|
||||
x2="2859.7263"
|
||||
y2="786.05646"
|
||||
gradientUnits="userSpaceOnUse" />
|
||||
<linearGradient
|
||||
id="linearGradient3838">
|
||||
<stop
|
||||
style="stop-color:#34e0e2;stop-opacity:1"
|
||||
offset="0"
|
||||
id="stop3840" />
|
||||
<stop
|
||||
style="stop-color:#06989a;stop-opacity:1"
|
||||
offset="1"
|
||||
id="stop3842" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
y2="786.05646"
|
||||
x2="2859.7263"
|
||||
y1="538.36249"
|
||||
x1="2802.9631"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
id="linearGradient3045"
|
||||
xlink:href="#linearGradient3172" />
|
||||
<linearGradient
|
||||
id="linearGradient3172">
|
||||
<stop
|
||||
id="stop3174"
|
||||
offset="0"
|
||||
style="stop-color:#ef2929;stop-opacity:1" />
|
||||
<stop
|
||||
id="stop3176"
|
||||
offset="1"
|
||||
style="stop-color:#a40000;stop-opacity:1" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient3172"
|
||||
id="linearGradient3880"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
x1="2802.9631"
|
||||
y1="626.0874"
|
||||
x2="2849.4058"
|
||||
y2="822.17853" />
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient11"
|
||||
id="linearGradient22"
|
||||
x1="22.782017"
|
||||
y1="37.760967"
|
||||
x2="10.12716"
|
||||
y2="31.568081"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(1.0546639,0,0,1.047623,-9.2679129,3.0093584)" />
|
||||
<linearGradient
|
||||
id="linearGradient4389"
|
||||
x1="20.243999"
|
||||
x2="17.243999"
|
||||
y1="37.588001"
|
||||
y2="27.587999"
|
||||
gradientTransform="translate(-1.2435,-2.5881)"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
xlink:href="#linearGradient3774" />
|
||||
<linearGradient
|
||||
id="linearGradient3774">
|
||||
<stop
|
||||
stop-color="#4e9a06"
|
||||
offset="0"
|
||||
id="stop21-8" />
|
||||
<stop
|
||||
stop-color="#8ae234"
|
||||
offset="1"
|
||||
id="stop23" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient69042"
|
||||
x1="48.714001"
|
||||
x2="44.714001"
|
||||
y1="45.585999"
|
||||
y2="34.585999"
|
||||
gradientTransform="translate(-12.714,-17.586)"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
xlink:href="#linearGradient3774" />
|
||||
<linearGradient
|
||||
id="linearGradient69056"
|
||||
x1="27.243999"
|
||||
x2="22.243999"
|
||||
y1="54.588001"
|
||||
y2="40.588001"
|
||||
gradientTransform="translate(-1.2435,-2.5881)"
|
||||
gradientUnits="userSpaceOnUse">
|
||||
<stop
|
||||
stop-color="#c4a000"
|
||||
offset="0"
|
||||
id="stop14-4" />
|
||||
<stop
|
||||
stop-color="#fce94f"
|
||||
offset="1"
|
||||
id="stop16" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient4399"
|
||||
x1="48.714001"
|
||||
x2="44.714001"
|
||||
y1="45.585999"
|
||||
y2="34.585999"
|
||||
gradientTransform="translate(1.2856,1.4142)"
|
||||
gradientUnits="userSpaceOnUse">
|
||||
<stop
|
||||
stop-color="#c4a000"
|
||||
offset="0"
|
||||
id="stop8" />
|
||||
<stop
|
||||
stop-color="#edd400"
|
||||
offset="1"
|
||||
id="stop10" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient21"
|
||||
id="linearGradient27"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="translate(-0.30409276,0.05778729)"
|
||||
x1="22.782017"
|
||||
y1="37.760967"
|
||||
x2="11.930232"
|
||||
y2="29.936911" />
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient69056"
|
||||
id="linearGradient33"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(1.9938046,0,0,1.9613155,1.0732527,-49.356425)"
|
||||
x1="22.782017"
|
||||
y1="37.760967"
|
||||
x2="7.864368"
|
||||
y2="32.411785" />
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient3"
|
||||
id="linearGradient2"
|
||||
x1="14.883397"
|
||||
y1="43.811935"
|
||||
x2="25.259163"
|
||||
y2="50.94812"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(1.8048567,0,0,1.7835759,4.5436424,-43.019855)" />
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient3"
|
||||
id="linearGradient2-0"
|
||||
x1="14.883397"
|
||||
y1="43.811935"
|
||||
x2="25.259163"
|
||||
y2="50.94812"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(1.8048567,0,0,1.7835759,96.609777,-8.4537881)" />
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient69056"
|
||||
id="linearGradient33-9"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(1.9938046,0,0,1.9613155,114.04645,31.478968)"
|
||||
x1="22.782017"
|
||||
y1="37.760967"
|
||||
x2="7.864368"
|
||||
y2="32.411785" />
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient69056"
|
||||
id="linearGradient33-1"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(1.9938046,0,0,1.9613155,100.92145,-12.646032)"
|
||||
x1="22.782017"
|
||||
y1="37.760967"
|
||||
x2="7.864368"
|
||||
y2="32.411785" />
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient3"
|
||||
id="linearGradient2-8"
|
||||
x1="5.1180787"
|
||||
y1="51.030579"
|
||||
x2="24.220299"
|
||||
y2="43.028637"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(1.8048567,0,0,1.7835759,137.32907,24.566604)" />
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient59"
|
||||
id="linearGradient840"
|
||||
x1="7.8155646"
|
||||
y1="50.543022"
|
||||
x2="8.3967581"
|
||||
y2="12.291364"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(1.0428047,0,0,1.0432797,-1.3697512,-1.3849527)" />
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient59"
|
||||
id="linearGradient842"
|
||||
x1="24.211432"
|
||||
y1="49.059666"
|
||||
x2="24.858622"
|
||||
y2="12.503376"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(1.0428047,0,0,1.0432797,-1.3697512,-1.3849527)" />
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient59"
|
||||
id="linearGradient844"
|
||||
x1="41.310841"
|
||||
y1="50.331081"
|
||||
x2="41.639793"
|
||||
y2="14.198631"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(1.0428047,0,0,1.0432797,-1.3697512,-1.3849527)" />
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient59"
|
||||
id="linearGradient846"
|
||||
x1="58.196716"
|
||||
y1="49.972424"
|
||||
x2="58.197704"
|
||||
y2="17.442623"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(1.0428047,0,0,1.0432797,-1.3697512,-1.3849527)" />
|
||||
</defs>
|
||||
<metadata
|
||||
id="metadata2826">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:creator>
|
||||
<cc:Agent>
|
||||
<dc:title>[wmayer]</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:creator>
|
||||
<dc:date>2011-10-10</dc:date>
|
||||
<dc:relation>http://www.freecad.org/wiki/index.php?title=Artwork</dc:relation>
|
||||
<dc:publisher>
|
||||
<cc:Agent>
|
||||
<dc:title>FreeCAD</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:publisher>
|
||||
<dc:identifier>FreeCAD/src/Mod/Part/Gui/Resources/icons/Part_Cylinder.svg</dc:identifier>
|
||||
<dc:rights>
|
||||
<cc:Agent>
|
||||
<dc:title>FreeCAD LGPL2+</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:rights>
|
||||
<cc:license>https://www.gnu.org/copyleft/lesser.html</cc:license>
|
||||
<dc:contributor>
|
||||
<cc:Agent>
|
||||
<dc:title>[agryson] Alexander Gryson</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:contributor>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
id="layer1"
|
||||
transform="translate(0,-6)">
|
||||
<g
|
||||
id="g846"
|
||||
transform="translate(-3.1249999e-5,-1.2415902e-5)">
|
||||
<path
|
||||
d="m 18.543338,27.085172 c -0.361225,0.678619 -0.722316,1.445017 -1.083539,2.300514 -0.938683,2.200881 -1.877996,4.810638 -2.816795,6.748715 -0.938798,1.957676 -1.877938,3.17984 -2.816795,3.162442 h -1.22 l 0.150718,0.321949 c 0.313068,0.671326 0.611821,1.33094 0.89616,1.978564 0.233391,0.530685 0.457457,1.050534 0.674158,1.560844 0.229086,0.539209 0.449308,1.065194 0.661935,1.579183 0.446021,1.079704 0.868166,2.117379 1.264809,3.113538 0.453405,1.134582 0.856818,2.166628 1.254624,3.184856 0.360526,0.927328 0.720977,1.393569 1.081502,1.397831 0.0692,-4.17e-4 0.138559,-0.02035 0.207747,-0.05501 0.0075,-0.0038 0.01492,-0.0081 0.0224,-0.01223 0.134414,-0.07455 0.266848,-0.215952 0.401236,-0.419756 0.09009,-0.137765 0.180795,-0.30289 0.270885,-0.497189 0.01901,-0.04062 0.03802,-0.08927 0.05703,-0.132447 0.07528,-0.17206 0.150792,-0.362784 0.226077,-0.572582 0.02301,-0.06421 0.04624,-0.127871 0.06925,-0.195615 0.04546,-0.133511 0.09101,-0.289314 0.136461,-0.436058 0.106142,-0.343757 0.211585,-0.719291 0.317729,-1.132936 0.02938,-0.114106 0.0582,-0.218995 0.08757,-0.338251 0.130259,-0.530203 0.262833,-1.109205 0.39309,-1.734046 0.03571,-0.171605 0.0702,-0.357314 0.105909,-0.535902 0.07887,-0.392998 0.157401,-0.812868 0.236261,-1.236857 0.127444,-0.684078 0.25546,-1.41091 0.382904,-2.166029 0.05023,-0.297502 0.100485,-0.579366 0.150718,-0.88638 0.547281,-3.34564 1.094321,-7.212747 1.641603,-11.058357 0.08902,-0.625122 0.17779,-1.216528 0.266811,-1.835929 0.148021,-1.029805 0.295986,-2.056357 0.444007,-3.052407 0.1747,-1.17535 0.350775,-2.246392 0.525476,-3.339718 0.105415,-0.659705 0.210277,-1.396634 0.315692,-2.015241 0.02591,-0.1525 0.05147,-0.282333 0.0774,-0.431984 0.01487,-0.0857 0.02994,-0.192369 0.04481,-0.277121 0.05897,-0.336963 0.118227,-0.632464 0.177196,-0.953622 0.06411,-0.348985 0.127336,-0.707908 0.191452,-1.037167 0.08596,-0.441538 0.170672,-0.839617 0.256628,-1.24297 0.05869,-0.275389 0.11851,-0.56876 0.177195,-0.825251 0.09533,-0.416591 0.189805,-0.777662 0.285142,-1.141087 0.0503,-0.19179 0.102456,-0.410709 0.152755,-0.586845 0.1445,-0.50596 0.287285,-0.952776 0.431785,-1.320401 -0.397805,1.018229 -0.801218,2.050333 -1.254624,3.184857 -0.396642,0.996159 -0.816752,2.033834 -1.262771,3.113538 -0.212629,0.514047 -0.434886,1.039973 -0.663973,1.579182 -0.216699,0.510311 -0.440824,1.030159 -0.674157,1.560844 -0.284338,0.647566 -0.583091,1.307297 -0.89616,1.978565 l -0.150718,0.321949 c -0.06832,0.144507 -0.143931,0.289233 -0.213857,0.434021 -0.132001,0.273089 -0.263839,0.546718 -0.401235,0.819137 -0.02939,0.05857 -0.05589,0.116627 -0.08554,0.175239 l -0.03055,0.06113 z"
|
||||
style="fill:#fce94f;fill-rule:evenodd;stroke:#231f0b;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="path820" />
|
||||
<path
|
||||
d="m 55.08631,27.085172 c -0.40597,0.749656 -0.811993,1.673109 -1.217963,2.640801 -0.177252,0.422074 -0.354327,0.834622 -0.531587,1.275574 -0.317925,0.789995 -0.635263,1.584492 -0.953188,2.367755 -0.169512,0.417479 -0.339669,0.82722 -0.509181,1.224631 -0.04902,0.114998 -0.09763,0.241901 -0.146645,0.354553 -0.061,0.141655 -0.122304,0.270885 -0.183306,0.407531 -0.03659,0.08154 -0.07339,0.164629 -0.109983,0.244518 -0.371928,0.813861 -0.742174,1.523138 -1.11409,2.100824 -0.07507,0.116811 -0.151004,0.235308 -0.226077,0.340288 -0.02618,0.03667 -0.05122,0.0748 -0.0774,0.110033 -0.125603,0.168543 -0.251193,0.32319 -0.376795,0.456435 -0.004,0.0043 -0.01032,0.01209 -0.01425,0.01631 -0.126939,0.133274 -0.25393,0.24537 -0.380869,0.340289 -0.03806,0.02877 -0.076,0.05025 -0.114057,0.0754 -0.08314,0.05441 -0.167371,0.09965 -0.250517,0.136522 -0.170591,0.07572 -0.340622,0.125328 -0.511218,0.120222 h -1.222037 c 0.05031,0.106896 0.100412,0.215112 0.150718,0.321949 0.313069,0.671327 0.611822,1.330999 0.89616,1.978565 0.233391,0.530685 0.459494,1.050533 0.676193,1.560843 0.229029,0.539151 0.449308,1.065136 0.661937,1.579183 0.446019,1.079704 0.868165,2.117262 1.264809,3.113538 0.453346,1.134641 0.856875,2.166628 1.254624,3.184857 0.360584,0.927327 0.720918,1.393569 1.081502,1.397831 0.04564,0.0016 0.09082,-0.008 0.136461,-0.02241 0.0243,-0.0078 0.04903,-0.02035 0.07332,-0.0326 0.01631,-0.0081 0.03258,-0.01635 0.04888,-0.02649 0.07884,-0.04916 0.155392,-0.11964 0.234224,-0.213954 0.05857,-0.07038 0.11862,-0.170177 0.177195,-0.264895 0.05984,-0.09713 0.121437,-0.208012 0.181269,-0.3301 0.03346,-0.06805 0.06634,-0.132139 0.0998,-0.207841 0.0842,-0.191032 0.168355,-0.401631 0.252555,-0.639824 0.008,-0.02263 0.01642,-0.04012 0.02444,-0.06317 0.0913,-0.263047 0.183661,-0.560113 0.274959,-0.876193 0.14887,-0.516082 0.297174,-1.112291 0.446044,-1.764609 0.02467,-0.107467 0.05069,-0.217104 0.07536,-0.328063 0.146891,-0.660618 0.293043,-1.375236 0.439934,-2.149726 0.208664,-1.096096 0.416606,-2.313975 0.625276,-3.596463 0.04986,-0.30602 0.10086,-0.625055 0.150717,-0.939359 0.170649,-1.077376 0.340569,-2.191482 0.511219,-3.343793 0.04482,-0.302698 0.0896,-0.598109 0.134423,-0.904719 0.24097,-1.646634 0.482073,-3.338675 0.72304,-5.030972 0.131805,-0.925942 0.26332,-1.83516 0.395124,-2.750835 0.0646,-0.449114 0.128885,-0.904999 0.19349,-1.348928 0.239362,-1.649819 0.479579,-3.23213 0.718965,-4.733474 0.01407,-0.08835 0.0287,-0.193513 0.04277,-0.281197 0.189713,-1.185829 0.380547,-2.283292 0.570284,-3.323417 0.129035,-0.707806 0.257945,-1.397525 0.386978,-2.025429 0.02966,-0.143871 0.05996,-0.276435 0.08962,-0.415681 0.130922,-0.616227 0.262173,-1.179032 0.393089,-1.697367 0.04282,-0.169386 0.0855,-0.341036 0.128314,-0.499226 0.042,-0.15515 0.08428,-0.308583 0.126277,-0.45236 0.0977,-0.335069 0.193566,-0.649674 0.291252,-0.92102 v -0.01223 c -0.167264,0.427351 -0.333713,0.854334 -0.501035,1.281686 -0.208267,0.529751 -0.424874,1.077049 -0.649716,1.640312 -0.198147,0.496708 -0.403336,1.005847 -0.615092,1.528242 -0.208907,0.515448 -0.425224,1.044913 -0.649717,1.587333 -0.212802,0.514398 -0.434652,1.039683 -0.663972,1.579183 -0.216874,0.510662 -0.440534,1.031788 -0.674158,1.562882 -0.271834,0.618726 -0.557245,1.249977 -0.855425,1.890945 -0.06194,0.131825 -0.123345,0.263539 -0.185343,0.395305 -0.07527,0.159206 -0.157015,0.3193 -0.234223,0.47885 -0.11646,0.24026 -0.233762,0.479475 -0.354391,0.719292 -0.03848,0.07689 -0.07309,0.153283 -0.11202,0.230255 l -0.03055,0.06113 z"
|
||||
style="fill:#fce94f;fill-rule:evenodd;stroke:#231f0b;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="path829" />
|
||||
<path
|
||||
d="m 10.31292,16.426196 c -0.147824,0.670326 -0.296182,1.401529 -0.4440062,2.186404 -0.1757554,0.930663 -0.3517568,1.923444 -0.5275132,2.987203 -0.00188,0.01152 -0.00417,0.02107 -0.00615,0.0326 -0.1820007,1.102701 -0.3638403,2.268486 -0.545843,3.472165 -0.01667,0.110196 -0.032211,0.227382 -0.048882,0.338251 -0.3464353,2.305026 -0.6942288,4.742985 -1.0407253,7.178661 -0.1731198,1.215687 -0.34625,2.386036 -0.5193655,3.576085 -0.2082889,1.431491 -0.4149575,2.791855 -0.6232388,4.126253 -0.080092,0.513029 -0.1602424,1.095527 -0.2403339,1.587334 -0.077353,0.476486 -0.1548338,0.898105 -0.232187,1.350966 -0.035743,0.209157 -0.072204,0.462525 -0.1079465,0.666313 -0.03452,0.197263 -0.069353,0.366407 -0.1038728,0.558318 -0.04757,0.264118 -0.095002,0.514476 -0.142571,0.768196 -0.1077596,0.575138 -0.2160801,1.11953 -0.3238396,1.636237 -0.054432,0.261113 -0.1085058,0.52096 -0.1629383,0.766158 -0.1066348,0.47992 -0.2131315,0.914225 -0.3197663,1.328552 -0.060439,0.235037 -0.12083,0.490502 -0.1812688,0.702991 -0.016799,0.05906 -0.03412,0.11389 -0.050918,0.171164 -0.1296494,0.4419 -0.2593655,0.846765 -0.389015,1.175727 0.2008222,-0.512996 0.4020493,-1.025376 0.6028714,-1.538431 0.1937269,-0.492621 0.3950122,-1.000725 0.6028715,-1.522128 0.3942001,-0.99108 0.810523,-2.022793 1.2525877,-3.095199 0.4213021,-1.023949 0.8751412,-2.089292 1.3605343,-3.199119 0.2956791,-0.674946 0.6079477,-1.363045 0.9348581,-2.064146 0.0499,-0.106078 0.098722,-0.213832 0.1486817,-0.319911 0.097022,-0.205201 0.2012029,-0.411639 0.3014362,-0.61741 0.092226,-0.188993 0.1842188,-0.377798 0.2790316,-0.566468 0.04092,-0.0818 0.078742,-0.162618 0.1201666,-0.244519 l 0.030554,-0.06113 0.4664111,-0.892493 c 1.119439,-2.067059 2.239124,-5.290637 3.358564,-7.863313 1.11944,-2.599806 2.239067,-4.381809 3.358563,-4.348357 h 1.222037 c -0.04996,-0.106079 -0.100756,-0.213833 -0.150719,-0.319912 -0.326909,-0.701159 -0.637199,-1.389258 -0.932821,-2.064145 -0.485276,-1.109712 -0.939174,-2.174995 -1.360533,-3.199119 -0.442124,-1.072406 -0.860425,-2.104178 -1.254625,-3.0952 -0.20786,-0.521344 -0.409144,-1.029448 -0.602871,-1.522128 -0.200823,-0.512996 -0.402049,-1.025376 -0.602872,-1.538431 -0.360584,-0.927386 -0.720918,-1.393627 -1.081503,-1.397831 -0.07506,-0.0015 -0.148974,0.02243 -0.224039,0.06317 -0.01097,0.0058 -0.02163,0.01156 -0.03259,0.01834 -0.07751,0.04833 -0.156713,0.11785 -0.234224,0.209877 -0.01087,0.01296 -0.02172,0.02898 -0.03259,0.0428 -0.05262,0.06661 -0.104218,0.15423 -0.156827,0.240443 -0.05672,0.09313 -0.112334,0.19825 -0.169049,0.313799 -0.03502,0.07114 -0.07089,0.140556 -0.10591,0.220067 -0.08443,0.192336 -0.168123,0.402136 -0.252554,0.641862 -0.0065,0.01818 -0.01394,0.03249 -0.02037,0.05094 -0.09617,0.277089 -0.193051,0.5872 -0.289216,0.923058 -0.152469,0.533085 -0.303758,1.152412 -0.456227,1.827777 -0.02311,0.101793 -0.04613,0.202842 -0.06925,0.307686 z"
|
||||
style="fill:#fce94f;fill-rule:evenodd;stroke:#231f0b;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="path818" />
|
||||
<path
|
||||
d="m 44.191852,32.976035 c -0.166621,1.169094 -0.33239,2.331729 -0.498997,3.47624 -0.05619,0.38549 -0.112864,0.73286 -0.169049,1.11256 -0.09806,0.662556 -0.195236,1.299557 -0.293289,1.939848 -0.170042,1.110039 -0.341177,2.15221 -0.511219,3.168555 -0.06732,0.40236 -0.134312,0.871378 -0.201636,1.255196 -0.05517,0.315321 -0.1098,0.590988 -0.164975,0.892493 -0.0278,0.151806 -0.05571,0.338839 -0.08351,0.486999 -0.03317,0.177066 -0.06663,0.329622 -0.0998,0.501264 -0.04871,0.251861 -0.09794,0.493684 -0.146645,0.733556 -0.07842,0.386395 -0.1558,0.753134 -0.234223,1.106447 -0.05562,0.250543 -0.111387,0.500495 -0.167013,0.733556 -0.08065,0.33794 -0.161723,0.642229 -0.242369,0.941397 -0.04915,0.182332 -0.09954,0.378872 -0.148682,0.546092 -0.129077,0.439216 -0.255864,0.836706 -0.384941,1.165539 0.200822,-0.512996 0.399954,-1.025434 0.600835,-1.538431 0.193668,-0.492679 0.395011,-1.000725 0.602871,-1.522128 0.394142,-0.991139 0.812501,-2.022793 1.254625,-3.095199 0.421301,-1.023949 0.87514,-2.089349 1.360533,-3.199119 0.295738,-0.675004 0.605911,-1.363045 0.932821,-2.064146 0.0499,-0.106137 0.100756,-0.213832 0.150719,-0.319911 0.06061,-0.128179 0.127558,-0.256719 0.189415,-0.385117 0.139583,-0.289548 0.280036,-0.579259 0.425676,-0.868041 0.02939,-0.05856 0.0559,-0.116634 0.08554,-0.175239 L 46.9455,36.914823 c 0,0 0,0 0,0 0.214158,-0.395926 0.427414,-0.840797 0.64157,-1.308175 0.03276,-0.07151 0.065,-0.141102 0.09776,-0.213954 0.110355,-0.245338 0.221632,-0.511951 0.331987,-0.770233 0.173947,-0.407314 0.347457,-0.816492 0.521402,-1.245009 0.192756,-0.47466 0.385678,-0.953074 0.57843,-1.436547 0.140219,-0.351604 0.279349,-0.697662 0.419566,-1.045317 0.06075,-0.150798 0.122557,-0.303187 0.183306,-0.45236 0.130634,-0.321758 0.260416,-0.61923 0.391051,-0.927132 0.06428,-0.151668 0.129215,-0.316868 0.19349,-0.464586 0.01706,-0.03961 0.03386,-0.07488 0.05092,-0.114109 0.03906,-0.0888 0.07906,-0.173775 0.118131,-0.26082 0.269672,-0.605935 0.538903,-1.159155 0.80858,-1.650501 0.07912,-0.145161 0.15714,-0.287993 0.236261,-0.421794 0.03569,-0.05986 0.07227,-0.115766 0.107946,-0.173202 0.105764,-0.171563 0.209929,-0.332524 0.315694,-0.480886 0.02419,-0.03382 0.04913,-0.06725 0.07332,-0.09984 0.106616,-0.14386 0.21315,-0.273951 0.319767,-0.39123 0.03455,-0.03843 0.06932,-0.07841 0.103874,-0.114108 0.0183,-0.01857 0.03668,-0.04341 0.05499,-0.06113 0.102862,-0.101814 0.204682,-0.187775 0.307546,-0.262858 0.03267,-0.02427 0.06509,-0.03955 0.09776,-0.06113 0.08427,-0.05454 0.168279,-0.10196 0.252553,-0.13856 0.169782,-0.075 0.339403,-0.123267 0.509182,-0.118185 h 1.222037 c -0.04996,-0.106079 -0.09878,-0.213833 -0.148681,-0.319911 -0.32691,-0.701101 -0.639179,-1.3892 -0.934858,-2.064146 -0.485335,-1.10977 -0.937196,-2.175054 -1.358498,-3.199119 -0.442122,-1.072465 -0.860423,-2.104119 -1.254624,-3.095199 -0.20786,-0.521345 -0.409202,-1.029508 -0.602872,-1.522129 -0.200821,-0.513054 -0.401991,-1.025434 -0.602871,-1.53843 -0.360526,-0.927386 -0.720918,-1.393628 -1.081503,-1.397831 -0.04914,-0.0016 -0.09953,0.0075 -0.148681,0.02445 -0.04833,0.01691 -0.100338,0.04505 -0.148681,0.07947 -0.07927,0.05687 -0.159015,0.141765 -0.238297,0.244518 -0.02069,0.02682 -0.04041,0.05161 -0.0611,0.08151 -0.04047,0.05839 -0.08174,0.143988 -0.122203,0.213954 -0.0618,0.106951 -0.121513,0.208948 -0.183305,0.342326 -0.04252,0.09171 -0.0858,0.207826 -0.128314,0.311761 -0.05659,0.13842 -0.114489,0.270342 -0.171086,0.429946 -0.04617,0.130198 -0.09233,0.28392 -0.138497,0.427907 -0.05629,0.175572 -0.112759,0.344438 -0.169049,0.539979 -0.0406,0.140963 -0.07958,0.301218 -0.120167,0.45236 -0.05752,0.214189 -0.115599,0.428169 -0.173122,0.662237 -0.05588,0.227529 -0.111132,0.473442 -0.167011,0.719293 -0.04149,0.182337 -0.08275,0.360071 -0.12424,0.552204 -0.05761,0.267152 -0.115518,0.553842 -0.173122,0.839515 -0.03883,0.192284 -0.07726,0.38235 -0.116094,0.582769 -0.217944,1.116002 -0.437842,2.355861 -0.655826,3.682044 -0.07156,0.435204 -0.142302,0.912674 -0.213857,1.365229 -0.143583,0.908442 -0.286158,1.828872 -0.429749,2.791588 -0.30193,2.0237 -0.604442,4.132968 -0.906345,6.255603 -0.03889,0.273062 -0.07924,0.538163 -0.11813,0.810988 z"
|
||||
style="fill:#fce94f;fill-rule:evenodd;stroke:#231f0b;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="path826" />
|
||||
<path
|
||||
d="m 38.01242,24.703152 c -0.02996,0.06364 -0.06548,0.12593 -0.09573,0.189503 -0.349616,0.732733 -0.713519,1.464551 -1.101871,2.192517 -1.605006,2.971157 -3.209754,8.291392 -4.814824,10.70788 -0.633827,0.989488 -1.268374,1.489546 -1.902304,1.503791 h -1.222037 c 0.05031,0.106896 0.100412,0.215112 0.150718,0.321949 0.313057,0.671326 0.611811,1.330998 0.89616,1.978564 0.233368,0.530685 0.459471,1.050592 0.676194,1.560844 0.229076,0.539151 0.449308,1.065136 0.661937,1.579183 0.445974,1.07982 0.868172,2.117437 1.264808,3.113538 0.453389,1.134524 0.856829,2.166569 1.254624,3.184856 0.36055,0.927269 0.720959,1.393569 1.081503,1.397831 0.05629,-0.0014 0.112762,-0.01309 0.169048,-0.03668 0.0037,-0.0015 0.0066,-0.0046 0.01022,-0.0062 0.03944,-0.0175 0.07869,-0.047 0.11813,-0.0754 0.04941,-0.03571 0.09926,-0.08101 0.148681,-0.134485 0.02436,-0.026 0.04897,-0.04524 0.07332,-0.0754 0.06877,-0.08639 0.136938,-0.193995 0.20571,-0.313798 0.09652,-0.16574 0.192695,-0.361941 0.289216,-0.592958 0.03284,-0.07887 0.06493,-0.176763 0.09776,-0.262857 0.07581,-0.198948 0.152302,-0.410791 0.228113,-0.650012 0.03065,-0.09555 0.061,-0.19387 0.09165,-0.29546 0.04816,-0.159822 0.09645,-0.342946 0.144608,-0.517565 0.126633,-0.458428 0.252198,-0.961752 0.378832,-1.518053 0.02746,-0.120254 0.05605,-0.228057 0.08351,-0.352515 0.143937,-0.651122 0.287849,-1.369109 0.431786,-2.129351 0.04968,-0.262192 0.101037,-0.541312 0.150718,-0.815062 0.0786,-0.433259 0.155628,-0.889487 0.234224,-1.348927 0.190535,-1.11235 0.38179,-2.280913 0.57232,-3.519032 0.01641,-0.106501 0.03247,-0.204529 0.04888,-0.311761 0.224685,-1.470056 0.449472,-3.003902 0.674156,-4.566386 0.363891,-2.531176 0.727797,-5.062824 1.091686,-7.551553 0.0999,-0.683364 0.199493,-1.412997 0.2994,-2.076371 0.129317,-0.861523 0.257661,-1.649067 0.386978,-2.45945 0.03712,-0.232703 0.0749,-0.507666 0.11202,-0.735594 0.01784,-0.109931 0.03511,-0.203041 0.05295,-0.311761 0.0717,-0.435321 0.144191,-0.835777 0.215893,-1.251121 0.123064,-0.714218 0.245582,-1.399672 0.368647,-2.045806 0.105456,-0.553679 0.212275,-1.10569 0.31773,-1.603635 0.02538,-0.1197 0.04997,-0.246466 0.07536,-0.362703 0.14603,-0.669783 0.291865,-1.271801 0.437895,-1.817588 0.04951,-0.184825 0.09917,-0.36441 0.148683,-0.533866 0.03915,-0.133985 0.07898,-0.27139 0.11813,-0.395305 0.09291,-0.294527 0.184088,-0.56708 0.276995,-0.802837 -0.397748,1.01817 -0.80122,2.050274 -1.254625,3.184856 -0.396643,0.996218 -0.816752,2.033776 -1.262772,3.113538 -0.212628,0.514106 -0.434943,1.039974 -0.663972,1.579182 -0.2167,0.510311 -0.440825,1.030101 -0.674158,1.560845 -0.284338,0.647507 -0.583091,1.307296 -0.89616,1.978564 -0.05031,0.106896 -0.100412,0.215054 -0.150718,0.321949 z"
|
||||
style="fill:#fce94f;fill-rule:evenodd;stroke:#231f0b;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="path824" />
|
||||
<path
|
||||
d="m 25.085308,38.716111 c -0.129317,0.861515 -0.257661,1.649068 -0.386978,2.45945 -0.03712,0.232703 -0.0749,0.507665 -0.11202,0.735594 -0.01784,0.109929 -0.03511,0.203043 -0.05295,0.311761 -0.0717,0.435321 -0.144191,0.835775 -0.215894,1.251121 -0.123416,0.716264 -0.245228,1.404139 -0.368647,2.051919 -0.103113,0.541206 -0.208508,1.081026 -0.311619,1.568995 -0.0284,0.134216 -0.05715,0.275609 -0.08554,0.405493 -0.144845,0.663573 -0.288975,1.259755 -0.433822,1.801288 -0.04968,0.185505 -0.099,0.36587 -0.148681,0.535903 -0.03915,0.133989 -0.07898,0.271387 -0.118131,0.395305 -0.0929,0.294535 -0.184088,0.567072 -0.276995,0.802837 0.200881,-0.513055 0.40205,-1.025376 0.602871,-1.538431 0.193727,-0.492679 0.392976,-1.000725 0.600835,-1.522128 0.3942,-0.991139 0.812503,-2.022851 1.254625,-3.095199 0.421302,-1.024007 0.8752,-2.089408 1.360534,-3.199119 0.295702,-0.674946 0.607942,-1.362987 0.934858,-2.064146 0.04994,-0.106078 0.09874,-0.213832 0.148681,-0.319911 0.07263,-0.153645 0.151649,-0.308622 0.226077,-0.462548 0.130748,-0.270101 0.26318,-0.5395 0.399199,-0.808949 0.03652,-0.07271 0.06899,-0.145262 0.10591,-0.21803 l 0.466411,-0.892493 c 1.108718,-2.047635 2.217321,-5.229293 3.325973,-7.789957 1.130128,-2.637667 2.261087,-4.456275 3.391152,-4.421714 h 1.222037 c -0.04994,-0.106078 -0.100787,-0.213832 -0.150718,-0.319911 -0.326911,-0.701101 -0.639179,-1.3892 -0.934859,-2.064145 -0.485328,-1.10977 -0.937165,-2.175112 -1.358497,-3.19912 -0.442134,-1.072406 -0.860395,-2.104118 -1.254624,-3.095199 -0.207877,-0.521344 -0.409172,-1.029449 -0.602872,-1.522128 -0.200805,-0.512996 -0.402065,-1.025434 -0.602871,-1.538431 -0.360527,-0.927269 -0.720924,-1.393512 -1.081502,-1.397831 -0.05629,0.0014 -0.11276,0.01309 -0.169049,0.03668 -0.0037,0.0015 -0.0066,0.0046 -0.01022,0.0062 -0.03944,0.01749 -0.07869,0.04701 -0.118131,0.0754 -0.04941,0.03571 -0.09926,0.08102 -0.148681,0.134485 -0.02436,0.026 -0.04897,0.04525 -0.07332,0.0754 -0.06644,0.08344 -0.133165,0.188974 -0.199599,0.30361 -0.09825,0.167515 -0.197075,0.367992 -0.295327,0.603146 -0.03284,0.07887 -0.06493,0.176764 -0.09776,0.262858 -0.07581,0.198941 -0.152305,0.4108 -0.228113,0.650012 -0.03065,0.09555 -0.061,0.193869 -0.09165,0.29546 -0.04816,0.159827 -0.09645,0.34294 -0.144608,0.517565 -0.12663,0.45843 -0.2522,0.961742 -0.378831,1.518053 -0.02746,0.120255 -0.05605,0.228056 -0.08351,0.352515 -0.143934,0.651134 -0.287851,1.369097 -0.431787,2.129349 -0.04968,0.262194 -0.101037,0.541313 -0.150718,0.815062 -0.0786,0.433266 -0.155627,0.889483 -0.234224,1.348929 -0.190534,1.112372 -0.381784,2.280904 -0.57232,3.519031 -0.01641,0.106501 -0.03247,0.204529 -0.04888,0.311761 -0.224691,1.470066 -0.449466,3.003906 -0.674156,4.566387 -0.363888,2.531173 -0.727797,5.062835 -1.091686,7.551552 -0.0999,0.683359 -0.199498,1.413004 -0.299399,2.076371 z"
|
||||
style="fill:#fce94f;fill-rule:evenodd;stroke:#231f0b;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="path822" />
|
||||
<path
|
||||
d="m 61.078364,13.249491 c -0.09745,0.268634 -0.193794,0.587384 -0.291252,0.921019 -0.04196,0.143907 -0.08431,0.297323 -0.126277,0.45236 -0.04275,0.157943 -0.08556,0.329937 -0.128314,0.499226 -0.130614,0.516704 -0.262465,1.083986 -0.393089,1.697367 -0.02531,0.119122 -0.05005,0.223906 -0.07536,0.346401 -0.134212,0.648061 -0.267023,1.358968 -0.401235,2.09471 -0.204104,1.119588 -0.408956,2.324566 -0.613055,3.604614 -0.30424,1.910458 -0.608239,3.968942 -0.912455,6.082402 -0.131752,0.91589 -0.263371,1.825533 -0.395125,2.750834 -0.212168,1.490494 -0.423275,2.98801 -0.635459,4.448203 -0.02887,0.198979 -0.0587,0.385219 -0.08757,0.582769 -0.04482,0.306259 -0.08961,0.602086 -0.134424,0.90472 -0.170903,1.154162 -0.340314,2.266498 -0.511218,3.343793 -0.04983,0.314598 -0.100892,0.633102 -0.150718,0.939358 -0.208348,1.278713 -0.416928,2.497934 -0.625276,3.596463 -0.0047,0.02484 -0.0095,0.05677 -0.01425,0.08151 -0.142378,0.751552 -0.283299,1.427832 -0.425676,2.06822 -0.01254,0.05643 -0.02615,0.127873 -0.0387,0.183389 -0.01221,0.05438 -0.02445,0.09118 -0.03666,0.144674 -0.149073,0.649405 -0.296973,1.248516 -0.446044,1.764609 -0.183538,0.636267 -0.368416,1.163908 -0.551953,1.579183 -0.03342,0.07584 -0.06638,0.139634 -0.0998,0.207842 -0.06004,0.122131 -0.121226,0.23301 -0.181268,0.330099 -0.05675,0.09213 -0.1123,0.185597 -0.169048,0.254708 -0.0019,0.0023 -0.0063,0.0079 -0.0081,0.01022 -0.07835,0.09391 -0.155879,0.165219 -0.234224,0.213954 -0.01619,0.01012 -0.03268,0.01833 -0.04888,0.02649 -0.02439,0.01219 -0.04893,0.02491 -0.07332,0.0326 -0.04553,0.01472 -0.09093,0.02328 -0.136461,0.02241 h 4.900368 c 0.360524,-0.0043 0.720919,-0.470563 1.081502,-1.397831 0.654459,-1.661529 1.309121,-4.827104 1.963406,-8.818974 z"
|
||||
style="fill:url(#linearGradient846);fill-rule:evenodd;stroke:#231f0b;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="path830" />
|
||||
<path
|
||||
d="m 25.724841,11.566387 c -0.360584,0.0043 -0.720978,0.470507 -1.081504,1.397831 -0.144496,0.367309 -0.287284,0.814354 -0.431785,1.320401 -0.05024,0.175921 -0.102508,0.395321 -0.152755,0.586845 -0.09531,0.363465 -0.189826,0.724492 -0.285142,1.141087 -0.05873,0.256651 -0.118461,0.549633 -0.177195,0.825251 -0.08596,0.403359 -0.170674,0.801566 -0.256628,1.24297 -0.06412,0.329374 -0.127332,0.687951 -0.191452,1.037167 -0.07386,0.402033 -0.148144,0.804292 -0.222004,1.230743 -0.13126,0.756645 -0.261828,1.625766 -0.393088,2.447225 -0.174716,1.093393 -0.35076,2.164037 -0.525476,3.339717 -0.148009,0.995779 -0.295997,2.022581 -0.444007,3.052408 -0.08837,0.614764 -0.17641,1.221854 -0.264775,1.842041 -0.08211,0.5763 -0.164332,1.134762 -0.246444,1.711631 -0.465589,3.271482 -0.931606,6.495149 -1.397195,9.340613 -0.05012,0.306346 -0.10061,0.589464 -0.150718,0.886381 -0.0828,0.490368 -0.165679,0.999661 -0.24848,1.460999 -0.04494,0.251204 -0.08947,0.463364 -0.134424,0.705029 -0.02709,0.145442 -0.05437,0.318676 -0.08147,0.46051 -0.05174,0.273116 -0.10305,0.517543 -0.154792,0.776347 -0.03563,0.177569 -0.07027,0.364971 -0.10591,0.535903 -0.130273,0.62609 -0.26282,1.205178 -0.393089,1.734046 -0.0293,0.119269 -0.05827,0.22406 -0.08757,0.338251 -0.106217,0.412598 -0.211514,0.790012 -0.317729,1.132936 -0.04523,0.14649 -0.09122,0.302917 -0.136461,0.436058 -0.02316,0.06804 -0.04608,0.131063 -0.06925,0.195615 -0.07545,0.210502 -0.150634,0.401231 -0.226077,0.572581 -0.01893,0.04327 -0.0381,0.09162 -0.05703,0.132448 -0.01082,0.02313 -0.02176,0.0531 -0.03259,0.0754 -0.07898,0.164435 -0.159313,0.30201 -0.238298,0.421795 -0.133766,0.204553 -0.267471,0.345905 -0.401236,0.419756 -0.0075,0.0042 -0.0149,0.0084 -0.0224,0.01223 -0.06951,0.03446 -0.138237,0.05744 -0.207747,0.05501 h 4.902405 c 0.360524,-0.0042 0.720977,-0.470565 1.081502,-1.397831 0.09265,-0.233885 0.184339,-0.509525 0.276995,-0.802837 0.03896,-0.123514 0.07917,-0.261943 0.118131,-0.395305 0.04986,-0.170647 0.09883,-0.34951 0.148681,-0.535903 0.144843,-0.540888 0.288978,-1.138826 0.433822,-1.801287 0.02823,-0.129338 0.05731,-0.271888 0.08554,-0.405494 0.103467,-0.488979 0.208158,-1.02596 0.31162,-1.568995 0.123489,-0.648162 0.245158,-1.336591 0.368647,-2.051919 0.07165,-0.415852 0.14424,-0.814629 0.215894,-1.251121 0.05507,-0.334347 0.109904,-0.702247 0.164974,-1.047355 0.124811,-0.782455 0.249947,-1.646519 0.374758,-2.473714 0.104041,-0.689517 0.207582,-1.350575 0.31162,-2.062107 0.361885,-2.475383 0.725711,-5.00381 1.087613,-7.520988 0.04274,-0.297421 0.08556,-0.601263 0.128314,-0.896568 0.390445,-2.699965 0.780671,-5.248772 1.171117,-7.531175 0.02868,-0.167436 0.05686,-0.365861 0.08554,-0.52979 0.0499,-0.286005 0.09878,-0.544187 0.148681,-0.819139 0.04963,-0.273583 0.101089,-0.552927 0.150717,-0.815062 0.144481,-0.762583 0.287307,-1.474425 0.431787,-2.12935 0.0086,-0.03868 0.01793,-0.08807 0.02648,-0.126334 0.01888,-0.08505 0.03815,-0.143243 0.05703,-0.22618 0.126587,-0.554433 0.252244,-1.059024 0.378831,-1.518054 0.04826,-0.174726 0.09634,-0.35757 0.144608,-0.517565 0.01555,-0.05161 0.03129,-0.117057 0.04684,-0.167087 0.01496,-0.04878 0.02984,-0.08116 0.04481,-0.128372 0.07574,-0.236179 0.15237,-0.451455 0.228113,-0.650013 0.03294,-0.08645 0.06482,-0.184011 0.09776,-0.262857 0.09856,-0.236678 0.196774,-0.433091 0.295327,-0.603146 0.06666,-0.113648 0.132941,-0.221095 0.199599,-0.30361 0.02422,-0.03042 0.04911,-0.04919 0.07332,-0.0754 0.0496,-0.05293 0.09909,-0.09879 0.148681,-0.134485 0.09954,-0.07193 0.197828,-0.120167 0.297363,-0.118184 z"
|
||||
style="fill:url(#linearGradient842);fill-rule:evenodd;stroke:#231f0b;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="path821" />
|
||||
<path
|
||||
d="m 35.391151,24.703152 c -1.130063,-0.03456 -2.261026,1.784052 -3.391152,4.421714 -1.10865,2.56066 -2.217258,5.742325 -3.325976,7.789957 -0.158901,0.297873 -0.309921,0.597891 -0.462338,0.896568 -0.03635,0.07122 -0.07401,0.14268 -0.109983,0.213955 -0.135924,0.270576 -0.268788,0.539246 -0.399199,0.808949 -0.07461,0.154127 -0.149112,0.308208 -0.222003,0.462548 h 1.395158 1.222037 c 0.633929,-0.01424 1.268478,-0.514306 1.902304,-1.503791 1.605066,-2.416483 3.209821,-7.736728 4.814825,-10.70788 0.388165,-0.726282 0.752264,-1.457762 1.10187,-2.192517 0.03017,-0.06322 0.06177,-0.126241 0.09165,-0.189503 h -1.395159 z"
|
||||
style="fill:#c4a000;fill-rule:evenodd;stroke:#231f0b;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="path823" />
|
||||
<path
|
||||
d="m 2.9216346,31.761592 c 0.2986409,-2.09979 0.5954141,-4.179555 0.8941235,-6.172059 0.014787,-0.09929 0.030021,-0.206634 0.044808,-0.305648 0.2396735,-1.596636 0.4793011,-3.080751 0.718965,-4.48488 0.02258,-0.132498 0.044633,-0.295484 0.067212,-0.42587 0.1525827,-0.88313 0.3056942,-1.705305 0.4582638,-2.479827 0.1244671,-0.632287 0.2482567,-1.219771 0.3727212,-1.770723 0.030388,-0.134246 0.061265,-0.256098 0.091653,-0.385118 0.1081124,-0.459933 0.2157293,-0.884089 0.3238397,-1.273534 0.026709,-0.09617 0.052723,-0.19563 0.079433,-0.287309 0.133125,-0.456827 0.2660767,-0.876351 0.3991987,-1.212406 -0.3977478,1.018229 -0.799182,2.050274 -1.2525877,3.184857 -0.1979725,0.496474 -0.4034521,1.004042 -0.6150918,1.526203 -0.2087318,0.515215 -0.4253979,1.045206 -0.6497163,1.587335 -0.295272,0.71441 -0.6056202,1.451484 -0.9328213,2.212893 z"
|
||||
style="fill:#fce94f;fill-rule:evenodd;stroke:#231f0b;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="path819" />
|
||||
<path
|
||||
d="m 7.4553909,11.566387 c -0.3605247,0.0043 -0.7229564,0.470565 -1.0835393,1.397831 -0.1335276,0.339601 -0.2656751,0.754089 -0.3991986,1.212406 -0.026721,0.09169 -0.052712,0.191054 -0.079433,0.287309 -0.1079173,0.388555 -0.2159217,0.815345 -0.3238396,1.273534 -0.030445,0.129518 -0.061209,0.250352 -0.091653,0.385118 -0.1242452,0.54888 -0.248471,1.139964 -0.3727211,1.770723 -0.17489,0.888431 -0.3505808,1.881031 -0.5254759,2.905697 -0.2380604,1.396919 -0.4768056,2.909663 -0.7148915,4.488955 -0.016002,0.106145 -0.03288,0.194834 -0.048882,0.301573 -0.298514,2.004445 -0.5956647,4.056505 -0.8941234,6.172059 v 14.60184 6.070176 h 0.2993989 c 0.3605255,-0.0043 0.7209189,-0.470563 1.0815025,-1.397831 0.1299956,-0.330694 0.2590196,-0.732519 0.3890151,-1.175727 0.016875,-0.05752 0.034043,-0.111836 0.050918,-0.171164 0.060151,-0.211468 0.1211179,-0.469276 0.1812687,-0.702991 0.1068236,-0.41542 0.2129428,-0.84735 0.3197664,-1.328552 0.054506,-0.24531 0.1084319,-0.5048 0.1629382,-0.766158 0.1078783,-0.517491 0.2159615,-1.060849 0.3238397,-1.636237 0.047492,-0.253479 0.095079,-0.504166 0.142571,-0.768196 0.070132,-0.389395 0.1416874,-0.814045 0.2118197,-1.224631 0.1575895,-0.922166 0.314924,-1.928623 0.4725209,-2.9383 C 6.765378,38.990285 6.9722428,37.62872 7.1804314,36.197568 7.3366475,35.123954 7.4926614,34.073017 7.6488788,32.976035 7.8755562,31.38534 8.102459,29.78796 8.3291467,28.222184 8.8420141,24.675637 9.3560457,21.33568 9.8689138,18.6126 c 0.012232,-0.06475 0.024433,-0.143833 0.036665,-0.207841 0.1356622,-0.716137 0.2716812,-1.363164 0.4073452,-1.978563 0.01046,-0.04743 0.02009,-0.108066 0.03055,-0.154863 0.01276,-0.05747 0.02593,-0.0963 0.0387,-0.152823 0.152457,-0.671431 0.303771,-1.295319 0.456227,-1.827777 0.187205,-0.65453 0.374934,-1.190824 0.562139,-1.615861 0.03525,-0.08028 0.07067,-0.148264 0.105908,-0.220067 0.05656,-0.1149 0.112485,-0.221116 0.16905,-0.313799 0.05213,-0.08561 0.104695,-0.174218 0.156826,-0.240444 0.01099,-0.01391 0.0216,-0.02974 0.03259,-0.04279 0.07791,-0.09285 0.156315,-0.161715 0.234225,-0.209878 0.01095,-0.0068 0.02163,-0.01239 0.03259,-0.01834 0.0313,-0.01678 0.06238,-0.03342 0.09369,-0.04278 0.04389,-0.01364 0.08647,-0.02125 0.13035,-0.02038 z"
|
||||
style="fill:url(#linearGradient840);fill-rule:evenodd;stroke:#231f0b;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="path817" />
|
||||
<path
|
||||
d="m 43.996326,11.566387 c -0.360524,0.0043 -0.720977,0.470507 -1.081502,1.397831 -0.09265,0.23388 -0.184339,0.509533 -0.276995,0.802837 -0.03896,0.123511 -0.07917,0.261947 -0.11813,0.395305 -0.04968,0.170041 -0.099,0.34819 -0.148682,0.533866 -0.146022,0.545129 -0.291871,1.148939 -0.437895,1.817589 -0.02524,0.115749 -0.05013,0.243539 -0.07536,0.362702 -0.105818,0.498985 -0.211911,1.048056 -0.31773,1.603636 -0.123132,0.646491 -0.245515,1.332545 -0.368647,2.045806 -0.07165,0.415855 -0.144241,0.814624 -0.215893,1.25112 -0.05507,0.334348 -0.109904,0.702247 -0.164976,1.047355 -0.124806,0.782455 -0.249942,1.646518 -0.374754,2.473714 -0.10404,0.689521 -0.207581,1.350571 -0.311619,2.062107 -0.361897,2.47541 -0.725721,5.0038 -1.087612,7.520988 -0.04276,0.297422 -0.08556,0.601262 -0.128314,0.896569 -0.39044,2.69998 -0.780674,5.248792 -1.171118,7.531175 -0.02868,0.167433 -0.05687,0.365865 -0.08554,0.52979 -0.0499,0.286006 -0.09878,0.544186 -0.148682,0.819137 -0.04963,0.273581 -0.101089,0.552931 -0.150717,0.815062 -0.144482,0.762586 -0.287303,1.474431 -0.431786,2.129351 -0.0086,0.03869 -0.01793,0.08807 -0.02648,0.126335 -0.01888,0.08505 -0.03815,0.143244 -0.05703,0.22618 -0.12659,0.554428 -0.252242,1.059035 -0.378832,1.518053 -0.04826,0.174726 -0.09634,0.35757 -0.144608,0.517565 -0.01555,0.05161 -0.03129,0.117059 -0.04684,0.167087 -0.01496,0.04878 -0.02985,0.08116 -0.04481,0.128373 -0.07575,0.23618 -0.152368,0.451451 -0.228114,0.650012 -0.03294,0.08646 -0.06482,0.184009 -0.09776,0.262858 -0.0962,0.231035 -0.193015,0.425373 -0.289216,0.592957 -0.06839,0.117435 -0.13732,0.229136 -0.20571,0.313799 -0.02423,0.03044 -0.04908,0.04917 -0.07332,0.0754 -0.04959,0.05293 -0.09909,0.09879 -0.148681,0.134485 -0.09952,0.07194 -0.197832,0.120158 -0.297362,0.118183 h 4.902404 c 0.360584,-0.0042 0.720919,-0.470563 1.081503,-1.397831 0.128846,-0.327784 0.256096,-0.72717 0.384941,-1.165539 0.04917,-0.167307 0.09951,-0.363697 0.148682,-0.546091 0.08055,-0.29879 0.161829,-0.603945 0.242369,-0.941398 0.05554,-0.232751 0.111468,-0.483318 0.167013,-0.733556 0.0787,-0.354464 0.155528,-0.718886 0.234223,-1.106447 0.04854,-0.239189 0.0981,-0.482334 0.146645,-0.733556 0.0611,-0.315962 0.122204,-0.654367 0.183305,-0.988263 0.122593,-0.669385 0.244019,-1.414951 0.366611,-2.147688 0.169968,-1.015808 0.341251,-2.058652 0.511219,-3.168556 0.09795,-0.63944 0.195336,-1.277882 0.293289,-1.939848 0.222512,-1.503543 0.445534,-3.026354 0.668046,-4.5888 0.340986,-2.392508 0.683484,-4.78039 1.024475,-7.06659 0.143327,-0.960654 0.286429,-1.885143 0.429749,-2.791588 0.07165,-0.453343 0.142207,-0.929322 0.213857,-1.36523 0.195988,-1.192074 0.392663,-2.321845 0.588614,-3.347868 0.02228,-0.117599 0.04493,-0.219207 0.06721,-0.334176 0.0083,-0.04259 0.01612,-0.09838 0.02444,-0.140597 0.03034,-0.155517 0.06131,-0.291677 0.09165,-0.442172 0.05785,-0.28644 0.115265,-0.571618 0.173122,-0.839514 0.04154,-0.192606 0.08271,-0.369476 0.12424,-0.552205 0.05565,-0.244571 0.111351,-0.492803 0.167011,-0.719292 0.05774,-0.23508 0.115387,-0.44727 0.173122,-0.662238 0.04055,-0.150993 0.07962,-0.311491 0.120167,-0.45236 0.05604,-0.194599 0.11301,-0.36522 0.169049,-0.539978 0.0463,-0.144418 0.09219,-0.297334 0.138497,-0.427908 0.05671,-0.159917 0.114375,-0.291313 0.171086,-0.429946 0.04248,-0.103889 0.08583,-0.220071 0.128314,-0.311761 0.06193,-0.133583 0.121378,-0.235264 0.183305,-0.342326 0.04041,-0.06994 0.0818,-0.155564 0.122203,-0.213954 0.02053,-0.02963 0.04057,-0.0549 0.0611,-0.08151 0.02964,-0.03842 0.05998,-0.07798 0.08962,-0.110034 0.01668,-0.01808 0.0322,-0.03082 0.04888,-0.04686 0.03275,-0.03151 0.06704,-0.06404 0.0998,-0.08762 0.04835,-0.03442 0.100339,-0.06255 0.148681,-0.07947 0.04915,-0.0169 0.09955,-0.02599 0.148681,-0.02446 z"
|
||||
style="fill:url(#linearGradient844);fill-rule:evenodd;stroke:#231f0b;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="path825" />
|
||||
<path
|
||||
d="m 61.078364,42.216803 c -0.654287,3.991879 -1.308945,7.157443 -1.963406,8.818974 0.406704,-1.045375 0.837998,-2.138512 1.293322,-3.280626 0.215305,-0.539384 0.438438,-1.094612 0.670084,-1.664765 z"
|
||||
style="fill:#fce94f;fill-rule:evenodd;stroke:#231f0b;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="path831" />
|
||||
<path
|
||||
d="m 17.119665,24.703152 c -1.119487,-0.03345 -2.239136,1.748578 -3.358564,4.348358 -1.119429,2.572649 -2.239136,5.796275 -3.358564,7.863313 -0.308718,0.583152 -0.603244,1.173454 -0.8961605,1.764607 -0.100224,0.205386 -0.1981527,0.411642 -0.2953265,0.61741 h 1.389049 0.0062 1.22 c 0.938847,0.01739 1.878006,-1.204786 2.816795,-3.162442 0.938789,-1.938058 1.878121,-4.547856 2.816795,-6.748715 0.36122,-0.855488 0.722318,-1.621903 1.083538,-2.300514 0.159058,-0.298122 0.309778,-0.597636 0.462337,-0.896569 0.01048,-0.02053 0.02214,-0.0406 0.03259,-0.06113 0.02899,-0.05698 0.05882,-0.114147 0.08757,-0.171163 0.137469,-0.273943 0.269417,-0.546194 0.401234,-0.819138 0.06994,-0.144689 0.141361,-0.289144 0.209783,-0.434021 h -1.391084 -0.0041 z"
|
||||
style="fill:#c4a000;fill-rule:evenodd;stroke:#231f0b;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="path828" />
|
||||
<path
|
||||
d="m 53.6606,24.703152 c -0.169745,8.91e-4 -0.339422,0.04447 -0.509181,0.118185 -0.08423,0.0372 -0.16833,0.08293 -0.252554,0.13856 -0.03273,0.02119 -0.06503,0.03723 -0.09776,0.06113 -0.101903,0.07567 -0.203611,0.172272 -0.30551,0.273046 -0.01902,0.01881 -0.03801,0.03129 -0.05703,0.05094 -0.03435,0.03486 -0.06952,0.07633 -0.103873,0.114109 -0.106883,0.11891 -0.212885,0.247271 -0.319767,0.39123 -0.02422,0.0327 -0.0491,0.06585 -0.07332,0.09984 -0.105676,0.147703 -0.210015,0.310773 -0.315693,0.480886 -0.03572,0.05793 -0.07223,0.112802 -0.107946,0.173201 -0.07905,0.132642 -0.157202,0.277752 -0.236261,0.421795 -0.269294,0.494068 -0.539292,1.050446 -0.80858,1.650501 -0.03909,0.08782 -0.07905,0.170929 -0.118131,0.26082 -0.08156,0.185392 -0.162852,0.386472 -0.244408,0.578695 -0.523918,1.236273 -1.048426,2.570656 -1.572353,3.861356 -0.173689,0.427705 -0.347712,0.838491 -0.521402,1.245008 -0.110579,0.258932 -0.221408,0.524353 -0.331987,0.770234 -0.03274,0.07279 -0.06502,0.142493 -0.09776,0.213954 -0.213963,0.466984 -0.427602,0.913054 -0.64157,1.308174 -0.169814,0.318298 -0.332526,0.638476 -0.494924,0.957699 -0.02896,0.05693 -0.05886,0.1142 -0.08758,0.171163 -0.145674,0.290336 -0.286332,0.578802 -0.425676,0.868041 -0.06187,0.128345 -0.124661,0.256622 -0.185342,0.385118 h 1.389049 0.0062 1.222037 c 0.0992,0.0013 0.198167,-0.01126 0.297362,-0.03668 0.0081,-0.0021 0.01631,-0.0039 0.02444,-0.0062 0.06336,-0.0176 0.126059,-0.04934 0.189416,-0.07743 0.08341,-0.03703 0.167101,-0.08143 0.250517,-0.136523 0.03781,-0.02475 0.07624,-0.04711 0.114057,-0.0754 0.127015,-0.09602 0.253855,-0.205668 0.380869,-0.340288 0.128915,-0.136849 0.262137,-0.299179 0.391052,-0.472737 0.02623,-0.03519 0.05117,-0.07336 0.0774,-0.110032 0.07505,-0.105162 0.151027,-0.223716 0.226077,-0.340289 0.172144,-0.267848 0.343141,-0.552164 0.515292,-0.87823 0.0054,-0.01002 0.01092,-0.01842 0.0163,-0.02852 0.193943,-0.365993 0.388557,-0.770589 0.582505,-1.194066 0.0366,-0.08009 0.07338,-0.162532 0.109982,-0.244518 0.110065,-0.245304 0.219885,-0.504041 0.329951,-0.762084 0.169444,-0.397506 0.339737,-0.807176 0.509182,-1.224631 0.314896,-0.775536 0.628118,-1.561244 0.943005,-2.345342 0.180122,-0.447764 0.361647,-0.868634 0.541769,-1.297987 0.121671,-0.289723 0.242905,-0.594573 0.364574,-0.870078 0.284441,-0.644952 0.568949,-1.245481 0.85339,-1.770723 0.159265,-0.298662 0.309588,-0.599259 0.462337,-0.898606 0.01047,-0.02052 0.02215,-0.0406 0.03259,-0.06113 0.03791,-0.07451 0.07656,-0.149593 0.114057,-0.224143 0.120512,-0.240785 0.238253,-0.479295 0.354391,-0.719292 0.07743,-0.159731 0.154567,-0.318921 0.23015,-0.47885 h -1.391085 -0.0062 z"
|
||||
style="fill:#c4a000;fill-rule:evenodd;stroke:#231f0b;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="path827" />
|
||||
<path
|
||||
d="m 13.1875,15.111328 c 0.0841,0.214389 0.16778,0.429614 0.251953,0.644531 0.186688,0.474562 0.380421,0.962349 0.580078,1.462891 0.380437,0.955986 0.783359,1.950503 1.208985,2.982422 0.408745,0.993011 0.849229,2.025356 1.318359,3.097656 0.06476,0.147785 0.138804,0.303948 0.205078,0.453125 -1.565296,0.618607 -2.646267,2.725262 -3.560547,4.847656 -1.091188,2.506605 -2.146024,5.543213 -3.166015,7.425782 l -0.01172,0.01953 -0.4472657,0.855469 -0.011719,0.02344 -0.025391,0.05273 c -0.011003,0.02174 -0.017215,0.0361 -0.027344,0.05664 0.040438,-0.273254 0.080547,-0.524197 0.1210938,-0.802734 0.1658453,-1.139553 0.331652,-2.263709 0.4980469,-3.431641 0.332231,-2.334335 0.664736,-4.665439 0.996094,-6.869141 0.01729,-0.114965 0.03226,-0.227691 0.04687,-0.324218 0.173923,-1.149722 0.347954,-2.259561 0.519531,-3.298828 0,0 -0.0045,0.02251 0.0059,-0.04102 0.166825,-1.00924 0.335408,-1.950537 0.501953,-2.832031 0.139503,-0.740355 0.277926,-1.42488 0.416016,-2.050782 0.02113,-0.09577 0.04179,-0.18928 0.06445,-0.289062 0.143223,-0.634117 0.282221,-1.197469 0.417969,-1.671875 0.03333,-0.116342 0.06499,-0.203958 0.09766,-0.310547 z"
|
||||
style="fill:#edd400;fill-rule:evenodd;stroke:#fce94f;stroke-width:1.4381;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="path832"
|
||||
transform="matrix(1.0428047,0,0,1.0432797,-1.3697512,-1.3849527)" />
|
||||
<path
|
||||
d="m 20.878906,26.976562 c -0.103105,0.703866 -0.207716,1.407963 -0.310547,2.123047 -0.08496,0.590874 -0.169988,1.159013 -0.255859,1.761719 -0.524872,3.686467 -1.047434,7.375311 -1.570313,10.570313 -0.04715,0.288068 -0.0937,0.552424 -0.142578,0.841796 -0.121147,0.717485 -0.242769,1.406161 -0.363281,2.052735 -0.07549,0.405691 -0.148809,0.800155 -0.222656,1.167969 -0.03558,0.177851 -0.06774,0.348868 -0.09961,0.501953 -0.12135,0.581854 -0.244464,1.119971 -0.365234,1.611328 -0.02546,0.103299 -0.04983,0.193116 -0.08008,0.310547 -0.09247,0.360204 -0.18208,0.67862 -0.271484,0.970703 -0.282637,-0.721616 -0.561487,-1.432629 -0.878907,-2.226563 -0.383033,-0.96154 -0.790888,-1.963904 -1.220703,-3.003906 -0.205509,-0.496554 -0.41717,-1.004271 -0.638672,-1.525391 -0.209869,-0.493998 -0.428065,-0.997547 -0.654296,-1.511718 -0.05417,-0.123316 -0.1147,-0.252784 -0.169922,-0.376953 1.307457,-0.522449 2.254911,-2.068683 3.015625,-3.654297 0.928649,-1.916252 1.840858,-4.450259 2.730468,-6.535157 0.33295,-0.788175 0.661474,-1.483496 0.984375,-2.089843 l 0.0059,-0.0098 0.447265,-0.855469 0.01172,-0.02344 0.02539,-0.05273 c 0.01033,-0.02041 0.01463,-0.02884 0.02344,-0.04687 z"
|
||||
style="fill:#edd400;fill-rule:evenodd;stroke:#fce94f;stroke-width:1.4381;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="path833"
|
||||
transform="matrix(1.0428047,0,0,1.0432797,-1.3697512,-1.3849527)" />
|
||||
<path
|
||||
d="m 30.707031,15.109375 c 0.0844,0.215166 0.169441,0.430801 0.253906,0.646484 0.186679,0.474603 0.38042,0.962386 0.580079,1.462891 0.380457,0.956024 0.783335,1.950474 1.208984,2.982422 0.408153,0.991526 0.846544,2.023741 1.316406,3.097656 0.06494,0.148176 0.13856,0.303748 0.205078,0.453125 -1.582454,0.623754 -2.66803,2.764854 -3.591797,4.919922 -1.079997,2.493343 -2.122577,5.488614 -3.132812,7.353516 l -0.01172,0.01953 -0.447265,0.855469 -0.0078,0.01563 c -0.0242,0.04769 -0.03705,0.07428 -0.05469,0.111328 0.01775,-0.123853 0.037,-0.250178 0.05469,-0.371094 0.349209,-2.387221 0.697935,-4.816096 1.046875,-7.242188 0.215151,-1.495467 0.429906,-2.96166 0.644531,-4.365234 0.01502,-0.09817 0.03045,-0.190318 0.04687,-0.296875 0.181379,-1.178082 0.363438,-2.290554 0.544922,-3.349609 0.07554,-0.441399 0.146449,-0.868199 0.220703,-1.277344 0.04727,-0.260337 0.09578,-0.524604 0.142578,-0.771484 0.136444,-0.72035 0.272019,-1.391084 0.40625,-1.998047 0.02252,-0.102039 0.04822,-0.199182 0.07813,-0.330078 0.117553,-0.516195 0.232819,-0.975072 0.347657,-1.390625 0.04768,-0.172811 0.08833,-0.328292 0.128906,-0.462891 0.0066,-0.02177 0.01306,-0.04132 0.01953,-0.0625 z"
|
||||
style="fill:#edd400;fill-rule:evenodd;stroke:#fce94f;stroke-width:1.4381;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="path834"
|
||||
transform="matrix(1.0428047,0,0,1.0432797,-1.3697512,-1.3849527)" />
|
||||
<path
|
||||
d="m 38.402344,26.96875 c -0.01793,0.125152 -0.03682,0.252837 -0.05469,0.375 -0.349208,2.387232 -0.697931,4.816087 -1.046875,7.242187 -0.215121,1.495306 -0.429968,2.962046 -0.644531,4.365235 -0.01502,0.09817 -0.03045,0.190313 -0.04687,0.296875 -0.181373,1.178072 -0.363436,2.290573 -0.544922,3.349609 -0.07554,0.441395 -0.146448,0.868204 -0.220703,1.277344 -0.04727,0.260338 -0.09578,0.524611 -0.142578,0.771484 -0.136447,0.720352 -0.272018,1.391106 -0.40625,1.998047 -0.02252,0.10204 -0.04823,0.199195 -0.07813,0.330078 -0.117561,0.516207 -0.232822,0.9751 -0.347656,1.390625 -0.04768,0.172817 -0.08833,0.328299 -0.128907,0.462891 -0.0068,0.02238 -0.01288,0.04268 -0.01953,0.06445 -0.283126,-0.722891 -0.562874,-1.435134 -0.880859,-2.230469 -0.383045,-0.961529 -0.79096,-1.963858 -1.220703,-3.003906 -0.20553,-0.496658 -0.417146,-1.004245 -0.638672,-1.525391 -0.210908,-0.496333 -0.43133,-1.000478 -0.65625,-1.511718 -0.05519,-0.125635 -0.117528,-0.25821 -0.173828,-0.384766 0.838619,-0.335636 1.516896,-1.065299 2.046875,-1.886719 l 0.0098,-0.01563 c 1.682321,-2.542504 3.21524,-7.657423 4.679688,-10.367187 0.17759,-0.332742 0.348204,-0.665637 0.515625,-0.998047 z"
|
||||
style="fill:#edd400;fill-rule:evenodd;stroke:#fce94f;stroke-width:1.4381;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="path835"
|
||||
transform="matrix(1.0428047,0,0,1.0432797,-1.3697512,-1.3849527)" />
|
||||
<path
|
||||
d="m 48.228516,15.111328 c 0.08425,0.214816 0.169551,0.429122 0.253906,0.644531 0.186669,0.474598 0.380458,0.96244 0.580078,1.462891 0.380459,0.956096 0.783385,1.950509 1.208984,2.982422 0.408155,0.991654 0.846555,2.023781 1.316407,3.097656 0.06688,0.152607 0.142383,0.312919 0.210937,0.466797 -0.02873,0.01166 -0.06173,0.0236 -0.08789,0.03516 -0.170762,0.07413 -0.326455,0.163456 -0.451171,0.244141 l -0.01172,0.0059 c 0,0 0.0066,-0.0169 -0.158203,0.105469 -0.149787,0.11 -0.294809,0.232975 -0.4375,0.373047 -0.01143,0.01105 0.0032,-0.0029 -0.0059,0.0059 -0.002,0.002 -0.0038,0.0039 -0.0059,0.0059 -0.07887,0.07806 -0.06445,0.07031 -0.06445,0.07031 l -0.0098,0.0098 c -0.05202,0.05372 -0.108494,0.117674 -0.130859,0.142578 -0.137433,0.151107 -0.269069,0.312527 -0.396485,0.484375 -0.02217,0.02986 -0.05302,0.07119 -0.08594,0.117187 -0.12611,0.176821 -0.244848,0.360902 -0.353516,0.53711 -0.02831,0.04556 -0.07442,0.115072 -0.121093,0.193359 -0.08893,0.15032 -0.17389,0.309303 -0.248047,0.445313 -0.281894,0.513369 -0.55976,1.080853 -0.828125,1.683593 -0.03396,0.07563 -0.07446,0.164072 -0.119141,0.265625 -0.01036,0.02381 -0.0281,0.06124 -0.04883,0.109375 -0.0692,0.158969 -0.1353,0.324705 -0.191406,0.457032 -0.123431,0.290789 -0.253779,0.59053 -0.382813,0.908203 -0.05877,0.144248 -0.11887,0.291458 -0.177734,0.4375 -0.134843,0.334178 -0.268833,0.668286 -0.404297,1.007812 -0.183474,0.459992 -0.366732,0.916128 -0.550781,1.369141 -0.162114,0.399187 -0.32437,0.78171 -0.490235,1.169922 -0.107451,0.251373 -0.206554,0.490482 -0.30664,0.71289 -0.02932,0.06517 -0.05763,0.12504 -0.08984,0.195313 -0.199546,0.435293 -0.390216,0.829901 -0.574219,1.169922 l -0.0098,0.01953 -0.476563,0.914062 -0.0078,0.01563 c -0.0081,0.01598 -0.01044,0.02258 -0.01758,0.03711 0.02735,-0.176839 0.05435,-0.349199 0.08203,-0.539063 0.160077,-1.099146 0.318731,-2.215324 0.478515,-3.335937 0.03667,-0.257122 0.07532,-0.510924 0.113282,-0.777344 0.289372,-2.033609 0.578372,-4.051412 0.867187,-5.986328 0.13693,-0.917635 0.272951,-1.796368 0.410156,-2.664063 0.06939,-0.43863 0.137799,-0.891777 0.205078,-1.300781 0.207311,-1.260672 0.414999,-2.433423 0.621094,-3.488281 0.03618,-0.186666 0.07202,-0.361994 0.109375,-0.546875 0.05519,-0.273576 0.109086,-0.541313 0.16211,-0.787109 0.03834,-0.177472 0.07491,-0.336566 0.115234,-0.513672 0.05385,-0.236819 0.103196,-0.456104 0.154297,-0.664063 0.05136,-0.208903 0.102547,-0.398317 0.158203,-0.605468 0.04204,-0.156467 0.07664,-0.294582 0.109375,-0.408204 0.02785,-0.09672 0.05797,-0.192125 0.08789,-0.285156 z"
|
||||
style="fill:#edd400;fill-rule:evenodd;stroke:#fce94f;stroke-width:1.4381;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="path836"
|
||||
transform="matrix(1.0428047,0,0,1.0432797,-1.3697512,-1.3849527)" />
|
||||
<path
|
||||
d="m 55.916016,26.990234 c -0.02956,0.201291 -0.06032,0.380586 -0.08984,0.583985 -0.06227,0.42767 -0.12381,0.865918 -0.185547,1.294922 -0.126347,0.877361 -0.25237,1.750153 -0.378906,2.638671 -0.231064,1.622018 -0.462657,3.240645 -0.69336,4.816407 -0.04263,0.291481 -0.08374,0.573539 -0.126953,0.865234 -0.163065,1.100596 -0.325565,2.164582 -0.488281,3.191406 -0.04765,0.300247 -0.09709,0.60348 -0.144531,0.894532 -0.199101,1.223124 -0.39482,2.375918 -0.591797,3.410156 -0.138532,0.730084 -0.276973,1.399365 -0.414063,2.015625 -0.0222,0.09978 -0.04543,0.198328 -0.07031,0.30664 -0.139427,0.610665 -0.273489,1.153252 -0.40625,1.613282 -0.02949,0.102036 -0.05721,0.177397 -0.08594,0.271484 -0.283059,-0.722674 -0.561074,-1.43536 -0.878906,-2.230469 -0.383061,-0.961723 -0.790924,-1.963988 -1.220703,-3.003906 -0.205559,-0.496728 -0.417249,-1.004383 -0.638672,-1.525391 -0.210928,-0.496493 -0.431339,-1.00055 -0.65625,-1.511718 -0.05553,-0.126407 -0.119129,-0.259381 -0.175781,-0.386719 0.03314,-0.01343 0.06965,-0.02772 0.09961,-0.04102 0.149025,-0.06605 0.299751,-0.147035 0.451172,-0.246093 0.01025,-0.0068 0.101214,-0.0613 0.177734,-0.119141 0.189258,-0.141453 0.369749,-0.302496 0.544922,-0.486328 l 0.0098,-0.01172 c 0.04454,-0.04773 0.0183,-0.01864 0.0098,-0.0098 l 0.0078,-0.0078 c 0.166997,-0.17791 0.320166,-0.36978 0.460938,-0.558594 0.04228,-0.05688 0.07643,-0.108161 0.08984,-0.126953 0.09522,-0.133092 0.185018,-0.272632 0.25586,-0.382812 0.404683,-0.628297 0.793504,-1.378594 1.166015,-2.19336 0.03768,-0.08223 0.07607,-0.169507 0.111328,-0.248047 0.05419,-0.121337 0.118914,-0.256728 0.181641,-0.402343 0.05645,-0.12968 0.105244,-0.257491 0.144531,-0.34961 0.166193,-0.389452 0.332662,-0.790135 0.498047,-1.197265 0.305892,-0.753274 0.611403,-1.516866 0.916016,-2.273438 0.166058,-0.4129 0.330343,-0.794672 0.501953,-1.203125 0.384752,-0.916698 0.749406,-1.745145 1.105469,-2.402344 l 0.01172,-0.01953 0.447266,-0.855469 0.01172,-0.02344 0.02539,-0.05273 c 0.007,-0.01387 0.01107,-0.02003 0.01758,-0.0332 z"
|
||||
style="fill:#edd400;fill-rule:evenodd;stroke:#fce94f;stroke-width:1.4381;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="path837"
|
||||
transform="matrix(1.0428047,0,0,1.0432797,-1.3697512,-1.3849527)" />
|
||||
</g>
|
||||
</g>
|
||||
<g
|
||||
id="g12"
|
||||
transform="matrix(-0.70000239,0,0,0.70000239,37.232402,30.654747)"
|
||||
style="display:inline">
|
||||
<path
|
||||
id="path11"
|
||||
d="M 15,27 V 19 L 0.87149136,31.999999 15,45 v -8 h 14.714369 c 0,2.2e-5 0,0 0,0 V 27 Z"
|
||||
style="fill:#729fcf;fill-opacity:1;stroke:#0c1522;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" />
|
||||
<path
|
||||
id="path12"
|
||||
d="m 13.066964,29 0.02232,-5.529467 -9.1754064,8.529466 9.2200494,8.574111 V 35.089285 L 27.762035,35 v -6 0 z"
|
||||
style="fill:#3465a4;stroke:#729fcf;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
|
||||
</g>
|
||||
<g
|
||||
id="g4"
|
||||
transform="matrix(-0.22359347,0.79267403,-0.61011487,-0.17567423,56.899868,9.194302)">
|
||||
<path
|
||||
style="fill:#cc0000;stroke:#280000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1"
|
||||
d="m 22,23 v 8 L 11,18 22,5 v 8 c 8.384675,0.284272 17.347043,6.045424 17.398052,10.998501 l 0.10215,9.918935 C 39.500202,33.917436 36.168943,22.877393 22,23 Z"
|
||||
id="path3" />
|
||||
<path
|
||||
style="display:inline;mix-blend-mode:normal;fill:none;stroke:#ef2929;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||
d="M 20,10.5 13.6,18 20,25.5 V 21 c 12.350879,-0.473246 17.471895,5.944927 17.471895,5.944927 l 0.02131,-3.001231 c 0,0 -2.314076,-8.79997 -17.493209,-8.943696 z"
|
||||
id="path4" />
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 61 KiB |
@@ -0,0 +1,534 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
width="64px"
|
||||
height="64px"
|
||||
id="svg2821"
|
||||
version="1.1"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/">
|
||||
<defs
|
||||
id="defs2823">
|
||||
<linearGradient
|
||||
id="linearGradient59">
|
||||
<stop
|
||||
style="stop-color:#fce94f;stop-opacity:1"
|
||||
offset="0"
|
||||
id="stop59" />
|
||||
<stop
|
||||
style="stop-color:#c4a000;stop-opacity:1"
|
||||
offset="1"
|
||||
id="stop58" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient53">
|
||||
<stop
|
||||
style="stop-color:#729fcf;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop53" />
|
||||
<stop
|
||||
style="stop-color:#3465a4;stop-opacity:1;"
|
||||
offset="1"
|
||||
id="stop52" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient11">
|
||||
<stop
|
||||
style="stop-color:#c4a000;stop-opacity:1"
|
||||
offset="0"
|
||||
id="stop11" />
|
||||
<stop
|
||||
style="stop-color:#fce94f;stop-opacity:1"
|
||||
offset="1"
|
||||
id="stop9" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient6">
|
||||
<stop
|
||||
style="stop-color:#729fcf;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop6" />
|
||||
<stop
|
||||
style="stop-color:#3465a4;stop-opacity:1;"
|
||||
offset="1"
|
||||
id="stop5" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient4">
|
||||
<stop
|
||||
style="stop-color:#729fcf;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop4" />
|
||||
<stop
|
||||
style="stop-color:#3465a4;stop-opacity:1;"
|
||||
offset="1"
|
||||
id="stop1" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient3">
|
||||
<stop
|
||||
style="stop-color:#fce94f;stop-opacity:1"
|
||||
offset="0"
|
||||
id="stop3" />
|
||||
<stop
|
||||
style="stop-color:#c4a000;stop-opacity:1"
|
||||
offset="1"
|
||||
id="stop2" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient35">
|
||||
<stop
|
||||
style="stop-color:#3465a4;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop33" />
|
||||
<stop
|
||||
style="stop-color:#729fcf;stop-opacity:1;"
|
||||
offset="1"
|
||||
id="stop34" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient21">
|
||||
<stop
|
||||
style="stop-color:#3465a4;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop21" />
|
||||
<stop
|
||||
style="stop-color:#3465a4;stop-opacity:0;"
|
||||
offset="1"
|
||||
id="stop22" />
|
||||
</linearGradient>
|
||||
<radialGradient
|
||||
xlink:href="#linearGradient3377"
|
||||
id="radialGradient3701"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
cx="84.883324"
|
||||
cy="77.042847"
|
||||
fx="84.883324"
|
||||
fy="77.042847"
|
||||
r="19.467436"
|
||||
gradientTransform="matrix(2.8492421,1.2585119,-0.4040415,0.9147407,-125.84131,-100.25805)" />
|
||||
<linearGradient
|
||||
id="linearGradient3377">
|
||||
<stop
|
||||
id="stop3379"
|
||||
offset="0"
|
||||
style="stop-color:#faff2b;stop-opacity:1;" />
|
||||
<stop
|
||||
id="stop3381"
|
||||
offset="1"
|
||||
style="stop-color:#ffaa00;stop-opacity:1;" />
|
||||
</linearGradient>
|
||||
<radialGradient
|
||||
xlink:href="#linearGradient3377"
|
||||
id="radialGradient3699"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
cx="76.383331"
|
||||
cy="94.369568"
|
||||
fx="76.383331"
|
||||
fy="94.369568"
|
||||
r="19.467436"
|
||||
gradientTransform="matrix(0.9818943,0.1894295,-0.4109427,2.1300924,40.163453,-121.11559)" />
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient3801-5"
|
||||
id="linearGradient3807-7"
|
||||
x1="110"
|
||||
y1="35"
|
||||
x2="85"
|
||||
y2="35"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
spreadMethod="reflect"
|
||||
gradientTransform="translate(-62,-16)" />
|
||||
<linearGradient
|
||||
id="linearGradient3801-5">
|
||||
<stop
|
||||
style="stop-color:#c4a000;stop-opacity:1"
|
||||
offset="0"
|
||||
id="stop3803-3" />
|
||||
<stop
|
||||
style="stop-color:#fce94f;stop-opacity:1"
|
||||
offset="1"
|
||||
id="stop3805-5" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient3838"
|
||||
id="linearGradient3844"
|
||||
x1="2802.9631"
|
||||
y1="538.36249"
|
||||
x2="2859.7263"
|
||||
y2="786.05646"
|
||||
gradientUnits="userSpaceOnUse" />
|
||||
<linearGradient
|
||||
id="linearGradient3838">
|
||||
<stop
|
||||
style="stop-color:#34e0e2;stop-opacity:1"
|
||||
offset="0"
|
||||
id="stop3840" />
|
||||
<stop
|
||||
style="stop-color:#06989a;stop-opacity:1"
|
||||
offset="1"
|
||||
id="stop3842" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
y2="786.05646"
|
||||
x2="2859.7263"
|
||||
y1="538.36249"
|
||||
x1="2802.9631"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
id="linearGradient3045"
|
||||
xlink:href="#linearGradient3172" />
|
||||
<linearGradient
|
||||
id="linearGradient3172">
|
||||
<stop
|
||||
id="stop3174"
|
||||
offset="0"
|
||||
style="stop-color:#ef2929;stop-opacity:1" />
|
||||
<stop
|
||||
id="stop3176"
|
||||
offset="1"
|
||||
style="stop-color:#a40000;stop-opacity:1" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient3172"
|
||||
id="linearGradient3880"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
x1="2802.9631"
|
||||
y1="626.0874"
|
||||
x2="2849.4058"
|
||||
y2="822.17853" />
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient11"
|
||||
id="linearGradient22"
|
||||
x1="22.782017"
|
||||
y1="37.760967"
|
||||
x2="10.12716"
|
||||
y2="31.568081"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(1.0546639,0,0,1.047623,-9.2679129,3.0093584)" />
|
||||
<linearGradient
|
||||
id="linearGradient4389"
|
||||
x1="20.243999"
|
||||
x2="17.243999"
|
||||
y1="37.588001"
|
||||
y2="27.587999"
|
||||
gradientTransform="translate(-1.2435,-2.5881)"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
xlink:href="#linearGradient3774" />
|
||||
<linearGradient
|
||||
id="linearGradient3774">
|
||||
<stop
|
||||
stop-color="#4e9a06"
|
||||
offset="0"
|
||||
id="stop21-8" />
|
||||
<stop
|
||||
stop-color="#8ae234"
|
||||
offset="1"
|
||||
id="stop23" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient69042"
|
||||
x1="48.714001"
|
||||
x2="44.714001"
|
||||
y1="45.585999"
|
||||
y2="34.585999"
|
||||
gradientTransform="translate(-12.714,-17.586)"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
xlink:href="#linearGradient3774" />
|
||||
<linearGradient
|
||||
id="linearGradient69056"
|
||||
x1="27.243999"
|
||||
x2="22.243999"
|
||||
y1="54.588001"
|
||||
y2="40.588001"
|
||||
gradientTransform="translate(-1.2435,-2.5881)"
|
||||
gradientUnits="userSpaceOnUse">
|
||||
<stop
|
||||
stop-color="#c4a000"
|
||||
offset="0"
|
||||
id="stop14-4" />
|
||||
<stop
|
||||
stop-color="#fce94f"
|
||||
offset="1"
|
||||
id="stop16" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient4399"
|
||||
x1="48.714001"
|
||||
x2="44.714001"
|
||||
y1="45.585999"
|
||||
y2="34.585999"
|
||||
gradientTransform="translate(1.2856,1.4142)"
|
||||
gradientUnits="userSpaceOnUse">
|
||||
<stop
|
||||
stop-color="#c4a000"
|
||||
offset="0"
|
||||
id="stop8" />
|
||||
<stop
|
||||
stop-color="#edd400"
|
||||
offset="1"
|
||||
id="stop10" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient21"
|
||||
id="linearGradient27"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="translate(-0.30409276,0.05778729)"
|
||||
x1="22.782017"
|
||||
y1="37.760967"
|
||||
x2="11.930232"
|
||||
y2="29.936911" />
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient69056"
|
||||
id="linearGradient33"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(1.9938046,0,0,1.9613155,1.0732527,-49.356425)"
|
||||
x1="22.782017"
|
||||
y1="37.760967"
|
||||
x2="7.864368"
|
||||
y2="32.411785" />
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient3"
|
||||
id="linearGradient2"
|
||||
x1="14.883397"
|
||||
y1="43.811935"
|
||||
x2="25.259163"
|
||||
y2="50.94812"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(1.8048567,0,0,1.7835759,4.5436424,-43.019855)" />
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient3"
|
||||
id="linearGradient2-0"
|
||||
x1="14.883397"
|
||||
y1="43.811935"
|
||||
x2="25.259163"
|
||||
y2="50.94812"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(1.8048567,0,0,1.7835759,96.609777,-8.4537881)" />
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient69056"
|
||||
id="linearGradient33-9"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(1.9938046,0,0,1.9613155,114.04645,31.478968)"
|
||||
x1="22.782017"
|
||||
y1="37.760967"
|
||||
x2="7.864368"
|
||||
y2="32.411785" />
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient69056"
|
||||
id="linearGradient33-1"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(1.9938046,0,0,1.9613155,100.92145,-12.646032)"
|
||||
x1="22.782017"
|
||||
y1="37.760967"
|
||||
x2="7.864368"
|
||||
y2="32.411785" />
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient3"
|
||||
id="linearGradient2-8"
|
||||
x1="5.1180787"
|
||||
y1="51.030579"
|
||||
x2="24.220299"
|
||||
y2="43.028637"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(1.8048567,0,0,1.7835759,137.32907,24.566604)" />
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient53"
|
||||
id="linearGradient52"
|
||||
x1="27.806639"
|
||||
y1="35.451977"
|
||||
x2="46.224998"
|
||||
y2="46.523647"
|
||||
gradientUnits="userSpaceOnUse" />
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient59"
|
||||
id="linearGradient58"
|
||||
x1="24.624025"
|
||||
y1="15.293372"
|
||||
x2="40.848633"
|
||||
y2="24.625977"
|
||||
gradientUnits="userSpaceOnUse" />
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient59"
|
||||
id="linearGradient62"
|
||||
x1="15.949214"
|
||||
y1="22.059929"
|
||||
x2="30.508333"
|
||||
y2="47.490852"
|
||||
gradientUnits="userSpaceOnUse" />
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient11"
|
||||
id="linearGradient64"
|
||||
x1="43.78125"
|
||||
y1="41.326977"
|
||||
x2="36.255554"
|
||||
y2="28.957039"
|
||||
gradientUnits="userSpaceOnUse" />
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient53"
|
||||
id="linearGradient76"
|
||||
x1="21.207121"
|
||||
y1="46.348202"
|
||||
x2="12.139155"
|
||||
y2="43.338463"
|
||||
gradientUnits="userSpaceOnUse" />
|
||||
</defs>
|
||||
<metadata
|
||||
id="metadata2826">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:creator>
|
||||
<cc:Agent>
|
||||
<dc:title>[wmayer]</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:creator>
|
||||
<dc:date>2011-10-10</dc:date>
|
||||
<dc:relation>http://www.freecad.org/wiki/index.php?title=Artwork</dc:relation>
|
||||
<dc:publisher>
|
||||
<cc:Agent>
|
||||
<dc:title>FreeCAD</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:publisher>
|
||||
<dc:identifier>FreeCAD/src/Mod/Part/Gui/Resources/icons/Part_Cylinder.svg</dc:identifier>
|
||||
<dc:rights>
|
||||
<cc:Agent>
|
||||
<dc:title>FreeCAD LGPL2+</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:rights>
|
||||
<cc:license>https://www.gnu.org/copyleft/lesser.html</cc:license>
|
||||
<dc:contributor>
|
||||
<cc:Agent>
|
||||
<dc:title>[agryson] Alexander Gryson</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:contributor>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
id="layer1"
|
||||
style="stroke-width:1.5;stroke-dasharray:none">
|
||||
<path
|
||||
style="fill:#729fcf;fill-rule:nonzero;stroke:#0c1522;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1;paint-order:markers fill stroke"
|
||||
d="m 40.848632,10.960155 v 8.087534 l -4.438625,-5.511075 z"
|
||||
id="path74" />
|
||||
<path
|
||||
style="fill:#729fcf;fill-rule:nonzero;stroke:#0c1522;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1;paint-order:markers fill stroke"
|
||||
d="M 2.7148438,29.701172 5.6484375,31.392578 40.848632,10.960155 37.914062,9.4023438 Z"
|
||||
id="path73" />
|
||||
<g
|
||||
id="g69"
|
||||
transform="matrix(-0.60621985,0.35000119,-0.35000119,-0.60621985,70.246003,30.283761)"
|
||||
style="display:inline;stroke-width:2.14284984;stroke-dasharray:none">
|
||||
<path
|
||||
id="path68"
|
||||
d="M 15,27 V 19 L 0.87149136,31.999999 15,45 v -8 h 14.714369 c 0,2.2e-5 0,0 0,0 V 27 Z"
|
||||
style="fill:#cc0000;stroke:#280000;stroke-width:2.14284984;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1;stroke-dasharray:none" />
|
||||
<path
|
||||
id="path69"
|
||||
d="m 13.066964,29 0.02232,-5.529467 -9.1754064,8.529466 9.2200494,8.574111 V 35.089285 L 27.762035,35 v -6 0 z"
|
||||
style="fill:none;stroke:#ef2929;stroke-width:2.14284984;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;stroke-dasharray:none" />
|
||||
</g>
|
||||
<path
|
||||
d="M 49.648437,19.550781 32.048828,29.701172 v 6.765625 L 49.648437,26.318359 Z"
|
||||
style="fill-rule:evenodd;stroke-width:1.5;fill:#edd400;stroke:#0c1522;stroke-opacity:1;stroke-dasharray:none;stroke-linejoin:round;stroke-linecap:round"
|
||||
id="path46" />
|
||||
<path
|
||||
d="m 2.7148438,29.701172 2.9335937,1.691406 8.8007815,-5.074219 v -3.382812 z"
|
||||
style="fill-rule:evenodd;stroke-width:1.5;fill:#729fcf;stroke:#0c1522;stroke-opacity:1;stroke-dasharray:none;stroke-linejoin:round;stroke-linecap:round"
|
||||
id="path41" />
|
||||
<path
|
||||
d="M 14.449219,28.347656 V 26.318359 L 5.6484375,31.392578 V 44.925781 L 14.449219,39.851562 Z"
|
||||
style="fill-rule:evenodd;stroke-width:1.5;fill:#729fcf;stroke:#0c1522;stroke-opacity:1;stroke-dasharray:none;stroke-linejoin:round;stroke-linecap:round"
|
||||
id="path40" />
|
||||
<path
|
||||
d="M 14.449219,39.851562 5.6484375,44.925781 23.248047,55.076172 V 44.925781 Z"
|
||||
style="fill-rule:evenodd;stroke-width:1.5;fill:#729fcf;stroke:#0c1522;stroke-opacity:1;stroke-dasharray:none;stroke-linejoin:round;stroke-linecap:round"
|
||||
id="path39" />
|
||||
<g
|
||||
id="g65"
|
||||
style="display:inline;stroke-width:1.5;stroke-dasharray:none">
|
||||
<path
|
||||
style="fill:#fce94f;fill-rule:nonzero;stroke:#231f0b;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1;paint-order:markers fill stroke"
|
||||
d="M 14.449219,39.851562 V 19.550781 L 32.048828,29.701172 32,50 14.449219,39.851562"
|
||||
id="path53" />
|
||||
<path
|
||||
style="fill:url(#linearGradient62);fill-rule:nonzero;stroke:#fce94f;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1;paint-order:markers fill stroke"
|
||||
d="M 15.949214,39.014965 V 22.059929 l 14.599619,8.477518 -0.0405,16.953405 -14.559114,-8.475887"
|
||||
id="path61" />
|
||||
</g>
|
||||
<path
|
||||
d="M 26.181641,60.150391 V 43.234375 L 23.248047,41.542969 V 55.076172 L 5.6484375,44.925781 V 31.392578 L 2.7148438,29.701172 v 16.916015 z"
|
||||
style="fill-rule:evenodd;stroke-width:1.5;fill:#729fcf;stroke:#0c1522;stroke-opacity:1;stroke-dasharray:none;stroke-linejoin:round;stroke-linecap:round"
|
||||
id="path38" />
|
||||
<g
|
||||
id="g64"
|
||||
style="display:inline;stroke-width:1.5;stroke-dasharray:none">
|
||||
<path
|
||||
style="fill:#fce94f;fill-rule:nonzero;stroke:#231f0b;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1;paint-order:markers fill stroke"
|
||||
d="M 32.048828,29.701172 49.648437,19.550781 v 21.2422 L 32,50 Z"
|
||||
id="path54" />
|
||||
<path
|
||||
style="fill:url(#linearGradient64);fill-rule:nonzero;stroke:#fce94f;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1;paint-order:markers fill stroke"
|
||||
d="m 33.538887,30.5344 14.6112,-8.483614 V 39.804844 L 33.49835,47.499996 Z"
|
||||
id="path62" />
|
||||
</g>
|
||||
<path
|
||||
d="m 49.648437,26.318359 -17.599609,10.148438 -8.800781,5.076172 2.933594,1.691406 35.199218,-20.298828 -2.933593,-1.69336 z"
|
||||
style="fill-rule:evenodd;stroke-width:1.5;fill:#729fcf;stroke:#0c1522;stroke-opacity:1;stroke-dasharray:none;stroke-linejoin:round;stroke-linecap:round"
|
||||
id="path37" />
|
||||
<path
|
||||
d="M 61.380859,22.935547 26.181641,43.234375 V 60.150391 L 61.380859,39.851562 Z"
|
||||
style="fill-rule:evenodd;stroke-width:1.5;fill:#729fcf;stroke:#0c1522;stroke-opacity:1;stroke-dasharray:none;stroke-linejoin:round;stroke-linecap:round"
|
||||
id="path36" />
|
||||
<path
|
||||
d="M 59.805468,25.642676 27.838344,44.159575 V 57.473804 L 59.805468,38.989029 Z"
|
||||
style="fill:url(#linearGradient52);fill-rule:evenodd;stroke:#729fcf;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="path49" />
|
||||
<path
|
||||
d="M 14.448242,41.893394 8.7387739,44.925781 21.691544,52.340505 V 45.825908 Z"
|
||||
style="fill:url(#linearGradient76);fill-rule:evenodd;stroke:#729fcf;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="path50" />
|
||||
<path
|
||||
d="m 13.199225,28.576227 -6.2382932,3.566339 0.084088,10.055548 6.1542056,-3.574095 z"
|
||||
style="fill:#729fcf;fill-rule:evenodd;stroke:#729fcf;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="path51" />
|
||||
<g
|
||||
id="g66"
|
||||
style="display:inline;stroke-width:1.5;stroke-dasharray:none">
|
||||
<path
|
||||
style="fill:#fce94f;fill-rule:nonzero;stroke:#231f0b;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1;paint-order:markers fill stroke"
|
||||
d="M 32.048828,29.701172 14.449219,19.550781 32.048828,9.4023438 49.648437,19.550781 Z"
|
||||
id="path55" />
|
||||
<path
|
||||
style="fill:url(#linearGradient58);fill-rule:nonzero;stroke:#fce94f;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1;paint-order:markers fill stroke"
|
||||
d="M 32.048828,28.06771 17.449224,19.551758 32.048828,11.035806 46.554682,19.551758 Z"
|
||||
id="path56" />
|
||||
</g>
|
||||
<path
|
||||
style="display:none;fill:#ef2929;fill-rule:nonzero;stroke:#220b0b;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1;paint-order:markers fill stroke"
|
||||
d="m 14.449219,28.347656 5.865234,-10.15039 3.945313,2.27539 11.732421,-6.765625 -3.943359,-2.27539 17.599609,-3.3828129 -5.867187,10.1484379 -3.943359,-2.273438 -11.734375,6.765625 3.945312,2.275391 z"
|
||||
id="path66" />
|
||||
<path
|
||||
style="display:none;fill:#cc0000;fill-rule:nonzero;stroke:#ef2929;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1;paint-order:markers fill stroke"
|
||||
d="m 17.096619,26.49927 3.659775,-6.51214 3.414984,1.999598 13.996935,-8.38417 -2.454733,-1.496361 11.485063,-2.293273 -3.913602,6.609104 -3.447287,-1.960938 -14.197206,8.19673 2.850649,1.710402 z"
|
||||
id="path67" />
|
||||
<g
|
||||
id="g12"
|
||||
transform="matrix(0.60621985,-0.35000119,0.35000119,0.60621985,-6.1466967,22.776521)"
|
||||
style="display:inline;stroke-width:2.14284984;stroke-dasharray:none">
|
||||
<path
|
||||
id="path11"
|
||||
d="M 15,27 V 19 L 0.87149136,31.999999 15,45 v -8 h 14.714369 c 0,2.2e-5 0,0 0,0 V 27 Z"
|
||||
style="fill:#cc0000;stroke:#280000;stroke-width:2.14284984;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1;stroke-dasharray:none" />
|
||||
<path
|
||||
id="path12"
|
||||
d="m 13.066964,29 0.02232,-5.529467 -9.1754064,8.529466 9.2200494,8.574111 V 35.089285 L 27.762035,35 v -6 0 z"
|
||||
style="fill:none;stroke:#ef2929;stroke-width:2.14284984;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;stroke-dasharray:none" />
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 20 KiB |
@@ -0,0 +1,342 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
width="64px"
|
||||
height="64px"
|
||||
id="svg2784"
|
||||
sodipodi:version="0.32"
|
||||
inkscape:version="1.3 (0e150ed6c4, 2023-07-21)"
|
||||
sodipodi:docname="Assembly_CreateJointTangent.svg"
|
||||
inkscape:output_extension="org.inkscape.output.svg.inkscape"
|
||||
version="1.1"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/">
|
||||
<defs
|
||||
id="defs2786">
|
||||
<linearGradient
|
||||
id="linearGradient3377">
|
||||
<stop
|
||||
id="stop3379"
|
||||
offset="0"
|
||||
style="stop-color:#faff2b;stop-opacity:1;" />
|
||||
<stop
|
||||
id="stop3381"
|
||||
offset="1"
|
||||
style="stop-color:#ffaa00;stop-opacity:1;" />
|
||||
</linearGradient>
|
||||
<inkscape:perspective
|
||||
sodipodi:type="inkscape:persp3d"
|
||||
inkscape:vp_x="0 : 32 : 1"
|
||||
inkscape:vp_y="0 : 1000 : 0"
|
||||
inkscape:vp_z="64 : 32 : 1"
|
||||
inkscape:persp3d-origin="32 : 21.333333 : 1"
|
||||
id="perspective2792" />
|
||||
<linearGradient
|
||||
id="linearGradient3600">
|
||||
<stop
|
||||
style="stop-color:#729fcf;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop3602" />
|
||||
<stop
|
||||
style="stop-color:#3465a4;stop-opacity:1;"
|
||||
offset="1"
|
||||
id="stop3604" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient3836-0-6-92-4-62"
|
||||
id="linearGradient3801-1-3-14-0-35"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
x1="-18"
|
||||
y1="18"
|
||||
x2="-22"
|
||||
y2="5"
|
||||
gradientTransform="matrix(0.76342439,0,0,0.75750425,-4.596389,2.7525637)" />
|
||||
<linearGradient
|
||||
id="linearGradient3836-0-6-92-4-62">
|
||||
<stop
|
||||
style="stop-color:#a40000;stop-opacity:1"
|
||||
offset="0"
|
||||
id="stop3838-2-7-06-8-9" />
|
||||
<stop
|
||||
style="stop-color:#ef2929;stop-opacity:1"
|
||||
offset="1"
|
||||
id="stop3840-5-5-8-7-1" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient3836-0-6-92-4-6"
|
||||
id="linearGradient3801-1-3-14-0-3"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
x1="-18"
|
||||
y1="18"
|
||||
x2="-22"
|
||||
y2="5"
|
||||
gradientTransform="matrix(0.76342439,0,0,0.75750425,-4.596389,2.7525637)" />
|
||||
<linearGradient
|
||||
id="linearGradient3836-0-6-92-4-6">
|
||||
<stop
|
||||
style="stop-color:#a40000;stop-opacity:1"
|
||||
offset="0"
|
||||
id="stop3838-2-7-06-8-7" />
|
||||
<stop
|
||||
style="stop-color:#ef2929;stop-opacity:1"
|
||||
offset="1"
|
||||
id="stop3840-5-5-8-7-5" />
|
||||
</linearGradient>
|
||||
<radialGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient3600"
|
||||
id="radialGradient3808"
|
||||
cx="20.802507"
|
||||
cy="18.626959"
|
||||
fx="20.802507"
|
||||
fy="18.626959"
|
||||
r="27.084639"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(0.66666671,0.70000004,-1.3510775,1.2867404,32.100634,-19.902858)" />
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient5"
|
||||
id="linearGradient6"
|
||||
x1="51"
|
||||
y1="53"
|
||||
x2="11"
|
||||
y2="12"
|
||||
gradientUnits="userSpaceOnUse" />
|
||||
<linearGradient
|
||||
id="linearGradient5"
|
||||
inkscape:collect="always">
|
||||
<stop
|
||||
style="stop-color:#c5a202;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop5" />
|
||||
<stop
|
||||
style="stop-color:#f6e76f;stop-opacity:1;"
|
||||
offset="1"
|
||||
id="stop6" />
|
||||
</linearGradient>
|
||||
</defs>
|
||||
<sodipodi:namedview
|
||||
id="base"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:zoom="12.830829"
|
||||
inkscape:cx="33.006441"
|
||||
inkscape:cy="32.071194"
|
||||
inkscape:current-layer="layer1"
|
||||
showgrid="true"
|
||||
inkscape:document-units="px"
|
||||
inkscape:grid-bbox="true"
|
||||
inkscape:window-width="2560"
|
||||
inkscape:window-height="1355"
|
||||
inkscape:window-x="0"
|
||||
inkscape:window-y="0"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:snap-bbox="false"
|
||||
inkscape:snap-nodes="true"
|
||||
inkscape:showpageshadow="2"
|
||||
inkscape:pagecheckerboard="0"
|
||||
inkscape:deskcolor="#d1d1d1">
|
||||
<inkscape:grid
|
||||
type="xygrid"
|
||||
id="grid2990"
|
||||
empspacing="2"
|
||||
visible="true"
|
||||
enabled="true"
|
||||
snapvisiblegridlinesonly="true"
|
||||
originx="0"
|
||||
originy="0"
|
||||
spacingy="1"
|
||||
spacingx="1"
|
||||
units="px" />
|
||||
</sodipodi:namedview>
|
||||
<metadata
|
||||
id="metadata2789">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title />
|
||||
<dc:creator>
|
||||
<cc:Agent>
|
||||
<dc:title>[wmayer]</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:creator>
|
||||
<dc:title>Part_Sphere</dc:title>
|
||||
<dc:date>2011-10-10</dc:date>
|
||||
<dc:relation>https://www.freecad.org/wiki/index.php?title=Artwork</dc:relation>
|
||||
<dc:publisher>
|
||||
<cc:Agent>
|
||||
<dc:title>FreeCAD</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:publisher>
|
||||
<dc:identifier>FreeCAD/src/Mod/Part/Gui/Resources/icons/Part_Sphere.svg</dc:identifier>
|
||||
<dc:rights>
|
||||
<cc:Agent>
|
||||
<dc:title>FreeCAD LGPL2+</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:rights>
|
||||
<cc:license>https://www.gnu.org/copyleft/lesser.html</cc:license>
|
||||
<dc:contributor>
|
||||
<cc:Agent>
|
||||
<dc:title>[agryson] Alexander Gryson</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:contributor>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
id="layer1"
|
||||
inkscape:label="Layer 1"
|
||||
inkscape:groupmode="layer">
|
||||
<g
|
||||
id="g5"
|
||||
inkscape:label="Main"
|
||||
transform="matrix(1.1443561,0,0,1.1443561,-21.742282,8.049438)"
|
||||
style="stroke-width:0.944312">
|
||||
<g
|
||||
id="g1"
|
||||
inkscape:label="Part"
|
||||
transform="matrix(0.58620688,0,0,0.58620688,20.24138,7.4137941)"
|
||||
style="stroke-width:0.944312">
|
||||
<circle
|
||||
style="color:#000000;display:inline;overflow:visible;visibility:visible;fill:url(#radialGradient3808);fill-opacity:1;fill-rule:evenodd;stroke:#0b1521;stroke-width:1.7051;marker:none;enable-background:accumulate"
|
||||
id="path2826"
|
||||
cx="31.636364"
|
||||
cy="30.363636"
|
||||
r="26.181818"
|
||||
transform="matrix(1.1076389,0,0,1.1076389,-3.0416672,-1.6319442)" />
|
||||
<circle
|
||||
style="color:#000000;display:inline;overflow:visible;visibility:visible;fill:none;stroke:#729fcf;stroke-width:1.83139;stroke-opacity:1;marker:none;enable-background:accumulate"
|
||||
id="path2826-4"
|
||||
transform="matrix(1.03125,0,0,1.03125,-0.62500046,0.68750048)"
|
||||
cx="31.636364"
|
||||
cy="30.363636"
|
||||
r="26.181818" />
|
||||
<circle
|
||||
style="color:#000000;display:inline;overflow:visible;visibility:visible;fill:none;stroke:#0b1521;stroke-width:1.7051;stroke-opacity:1;marker:none;enable-background:accumulate"
|
||||
id="path2826-5"
|
||||
transform="matrix(1.1076389,0,0,1.1076389,-3.0416672,-1.631944)"
|
||||
cx="31.636364"
|
||||
cy="30.363636"
|
||||
r="26.181818" />
|
||||
</g>
|
||||
<g
|
||||
id="g6"
|
||||
inkscape:label="Arrows"
|
||||
style="display:inline;stroke-width:1.14374"
|
||||
transform="matrix(0.82531468,0.01866054,-0.01866517,0.8255196,19.118687,-0.95004452)">
|
||||
<g
|
||||
id="g4"
|
||||
transform="matrix(0.35130004,-0.50007768,-0.50005207,-0.35123716,46.988433,60.411067)"
|
||||
style="stroke-width:1.14374">
|
||||
<path
|
||||
style="fill:#cc0000;stroke:#280000;stroke-width:2.2875;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1"
|
||||
d="M 21.36229,23.017098 20.411811,30.960579 11.034507,16.74505 23.500868,5.1442663 22.550389,13.087747 c 12.988305,2.621952 18.088099,4.778788 26.02377,17.155341 l -7.373843,8.315611 C 38.109367,30.73906 31.291229,24.205619 21.36229,23.017098 Z"
|
||||
id="path3"
|
||||
sodipodi:nodetypes="cccccccc" />
|
||||
<path
|
||||
style="fill:none;stroke:#ef2929;stroke-width:2.2875;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||
d="m 20.623934,10.949613 -6.737791,6.257222 5.129958,7.633021 0.675589,-3.936687 c 8.826154,0.22067 15.904509,3.936786 22.190817,13.380838 l 3.860656,-4.37269 C 39.095213,21.025123 35.112189,17.267664 20.26201,15.039163 Z"
|
||||
id="path4"
|
||||
sodipodi:nodetypes="cccccccc" />
|
||||
</g>
|
||||
<g
|
||||
id="g2"
|
||||
transform="matrix(0.43819961,-0.42587782,0.42598321,0.43824251,-7.0078418,14.863692)"
|
||||
style="display:inline;stroke-width:1.14374">
|
||||
<path
|
||||
style="fill:#cc0000;stroke:#280000;stroke-width:2.2875;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1"
|
||||
d="m 22,23 v 8 L 11,18 22,5 v 8 c 13.990861,0.89236 21.709688,5.800761 29.050356,20.088298 L 42.152059,39.09018 C 39.06111,31.270541 32,23 22,23 Z"
|
||||
id="path3892"
|
||||
sodipodi:nodetypes="cccccccc" />
|
||||
<path
|
||||
style="fill:none;stroke:#ef2929;stroke-width:2.2875;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||
d="M 20,10.5 13.6,18 20,25.5 V 21 c 9,-1 17.528195,4.302646 23.08961,15.156457 l 5.317803,-3.78926 C 43.035465,23.02279 36.505774,14.797281 20,15 Z"
|
||||
id="path3918"
|
||||
sodipodi:nodetypes="cccccccc" />
|
||||
</g>
|
||||
</g>
|
||||
<g
|
||||
id="g6-6"
|
||||
inkscape:label="Plane"
|
||||
transform="matrix(0.57747497,-0.06861545,0.28230557,0.5731723,23.831432,-1.6419384)"
|
||||
style="stroke-width:1.35609">
|
||||
<rect
|
||||
style="fill:url(#linearGradient6);fill-opacity:1;stroke:#302b00;stroke-width:2.03414;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="rect3"
|
||||
width="48.50687"
|
||||
height="48.50687"
|
||||
x="7.7465649"
|
||||
y="7.7465649" />
|
||||
<rect
|
||||
style="fill:none;fill-opacity:1;stroke:#fce94f;stroke-width:1.91279;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="rect4"
|
||||
width="44.328339"
|
||||
height="44.328335"
|
||||
x="9.8358345"
|
||||
y="9.8358364" />
|
||||
</g>
|
||||
<g
|
||||
id="layer1-6"
|
||||
transform="matrix(0.40022634,0,0,0.40022634,38.233689,0.9278826)">
|
||||
<g
|
||||
id="g3063"
|
||||
transform="translate(1,-0.99999976)">
|
||||
<path
|
||||
transform="translate(-4,6)"
|
||||
d="M 11.000001,18 C 29.225397,18 44,32.774603 44,51"
|
||||
id="path3025"
|
||||
style="fill:none;stroke:#280000;stroke-width:12.1606;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4.5;stroke-dasharray:none;stroke-opacity:1" />
|
||||
<path
|
||||
transform="translate(-4,6)"
|
||||
d="M 11.000001,18 C 29.225397,18 44,32.774603 44,51"
|
||||
id="path3025-3"
|
||||
style="fill:none;stroke:#ef2929;stroke-width:6;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4.5;stroke-dasharray:none;stroke-opacity:1" />
|
||||
<path
|
||||
transform="translate(-4,6)"
|
||||
d="M 11.000001,18 C 29.225397,18 44,32.774603 44,51"
|
||||
id="path3025-3-6"
|
||||
style="fill:none;stroke:#cc0000;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4.5;stroke-dasharray:none;stroke-opacity:1" />
|
||||
</g>
|
||||
<g
|
||||
id="g3071-2"
|
||||
transform="matrix(-0.70710678,-0.70710678,-0.70710678,0.70710678,139.73516,72.918789)">
|
||||
<rect
|
||||
transform="matrix(0.99999974,7.1938714e-4,-7.1838503e-4,0.99999974,0,0)"
|
||||
ry="0"
|
||||
rx="0"
|
||||
y="33.032074"
|
||||
x="78.283699"
|
||||
height="9.8608322"
|
||||
width="53.747211"
|
||||
id="rect3770-9"
|
||||
style="color:#000000;display:inline;overflow:visible;visibility:visible;fill:#cc0000;fill-opacity:1;fill-rule:nonzero;stroke:#280000;stroke-width:3.31653;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;enable-background:accumulate" />
|
||||
<rect
|
||||
transform="matrix(0.99999989,4.636052e-4,-0.00111473,0.99999938,0,0)"
|
||||
ry="0"
|
||||
rx="0"
|
||||
y="35.020126"
|
||||
x="80.300385"
|
||||
height="5.9074764"
|
||||
width="49.745319"
|
||||
id="rect3770-3-1"
|
||||
style="color:#000000;display:inline;overflow:visible;visibility:visible;fill:none;stroke:#ef2929;stroke-width:2;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;enable-background:accumulate" />
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 13 KiB |
1406
src/Mod/Assembly/Gui/Resources/icons/Assembly_CreateSimulation.svg
Normal file
|
After Width: | Height: | Size: 80 KiB |
323
src/Mod/Assembly/Gui/Resources/icons/Assembly_ExplodedView.svg
Normal file
@@ -0,0 +1,323 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
width="64"
|
||||
height="64"
|
||||
version="1.1"
|
||||
viewBox="0 0 64 64"
|
||||
id="svg96"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/">
|
||||
<defs
|
||||
id="defs26">
|
||||
<linearGradient
|
||||
id="linearGradient1">
|
||||
<stop
|
||||
style="stop-color:#efdc3d;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop1" />
|
||||
<stop
|
||||
style="stop-color:#bba80d;stop-opacity:1;"
|
||||
offset="1"
|
||||
id="stop3" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient4383">
|
||||
<stop
|
||||
stop-color="#3465a4"
|
||||
offset="0"
|
||||
id="stop2" />
|
||||
<stop
|
||||
stop-color="#729fcf"
|
||||
offset="1"
|
||||
id="stop4" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient4389"
|
||||
x1="20.244"
|
||||
x2="17.244"
|
||||
y1="37.588"
|
||||
y2="27.588"
|
||||
gradientTransform="translate(-1.2435,-2.5881)"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
xlink:href="#linearGradient3774" />
|
||||
<linearGradient
|
||||
id="linearGradient4399"
|
||||
x1="48.714"
|
||||
x2="44.714"
|
||||
y1="45.586"
|
||||
y2="34.586"
|
||||
gradientTransform="translate(1.2856,1.4142)"
|
||||
gradientUnits="userSpaceOnUse">
|
||||
<stop
|
||||
stop-color="#c4a000"
|
||||
offset="0"
|
||||
id="stop8" />
|
||||
<stop
|
||||
stop-color="#edd400"
|
||||
offset="1"
|
||||
id="stop10" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient69042"
|
||||
x1="48.714"
|
||||
x2="44.714"
|
||||
y1="45.586"
|
||||
y2="34.586"
|
||||
gradientTransform="translate(-12.714,-17.586)"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
xlink:href="#linearGradient3774" />
|
||||
<linearGradient
|
||||
id="linearGradient69056"
|
||||
x1="27.244"
|
||||
x2="22.244"
|
||||
y1="54.588"
|
||||
y2="40.588"
|
||||
gradientTransform="translate(-1.2435,-2.5881)"
|
||||
gradientUnits="userSpaceOnUse">
|
||||
<stop
|
||||
stop-color="#c4a000"
|
||||
offset="0"
|
||||
id="stop14" />
|
||||
<stop
|
||||
stop-color="#fce94f"
|
||||
offset="1"
|
||||
id="stop16" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient69709"
|
||||
x1="20.244"
|
||||
x2="17.244"
|
||||
y1="37.588"
|
||||
y2="27.588"
|
||||
gradientTransform="matrix(1,-0.026667,0,1,81.696,-5.3735)"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
xlink:href="#linearGradient4383" />
|
||||
<linearGradient
|
||||
id="linearGradient69717"
|
||||
x1="50.714"
|
||||
x2="48.714"
|
||||
y1="25.586"
|
||||
y2="20.586"
|
||||
gradientTransform="translate(61.2256,1.0356)"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
xlink:href="#linearGradient4383" />
|
||||
<linearGradient
|
||||
id="linearGradient3774">
|
||||
<stop
|
||||
stop-color="#4e9a06"
|
||||
offset="0"
|
||||
id="stop21" />
|
||||
<stop
|
||||
stop-color="#8ae234"
|
||||
offset="1"
|
||||
id="stop23" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient69056"
|
||||
id="linearGradient920"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="translate(-41.2435,-2.5881)"
|
||||
x1="20.243999"
|
||||
y1="37.588001"
|
||||
x2="17.243999"
|
||||
y2="27.587999" />
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient4399"
|
||||
id="linearGradient922"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="translate(-52.714,-17.586)"
|
||||
x1="48.714001"
|
||||
y1="45.585999"
|
||||
x2="44.714001"
|
||||
y2="34.585999" />
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient69056"
|
||||
id="linearGradient3"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="translate(-1.2435,-2.5881)"
|
||||
x1="27.244"
|
||||
y1="54.588"
|
||||
x2="22.244"
|
||||
y2="40.588" />
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient4399"
|
||||
id="linearGradient4"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="translate(1.2856,1.4142)"
|
||||
x1="48.714"
|
||||
y1="45.586"
|
||||
x2="44.714"
|
||||
y2="34.586" />
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient1"
|
||||
id="linearGradient5"
|
||||
x1="8.000092"
|
||||
y1="31.5"
|
||||
x2="55.999914"
|
||||
y2="31.5"
|
||||
gradientUnits="userSpaceOnUse" />
|
||||
</defs>
|
||||
<metadata
|
||||
id="metadata28">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:date>2015-07-04</dc:date>
|
||||
<dc:relation>https://www.freecad.org/wiki/index.php?title=Artwork</dc:relation>
|
||||
<dc:publisher>
|
||||
<cc:Agent>
|
||||
<dc:title>FreeCAD</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:publisher>
|
||||
<dc:identifier>FreeCAD/src/Mod/Path/Gui/Resources/icons/Path-Stock.svg</dc:identifier>
|
||||
<dc:rights>
|
||||
<cc:Agent>
|
||||
<dc:title>FreeCAD LGPL2+</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:rights>
|
||||
<cc:license>https://www.gnu.org/copyleft/lesser.html</cc:license>
|
||||
<dc:contributor>
|
||||
<cc:Agent>
|
||||
<dc:title>[agryson] Alexander Gryson</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:contributor>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
id="g40"
|
||||
style="stroke-width:2"
|
||||
transform="matrix(0.80408661,0,0,0.80408661,4.9132963,13.143908)">
|
||||
<path
|
||||
d="M 9,49 V 35 l 28,10 v 14 z"
|
||||
id="path30"
|
||||
style="fill:url(#linearGradient3);stroke:#302b00;stroke-linejoin:round" />
|
||||
<path
|
||||
d="M 37,59 V 45 L 55,28 v 13 z"
|
||||
id="path32"
|
||||
style="fill:url(#linearGradient4);stroke:#302b00;stroke-linejoin:round" />
|
||||
<path
|
||||
d="M 11.008,47.606 11,37.9997 l 24,8 0.0081,10.185 z"
|
||||
id="path34"
|
||||
style="fill:none;stroke:#fce94f" />
|
||||
<path
|
||||
d="M 39.005,54.168 39,45.9998 l 14,-13 0.0021,7.1768 z"
|
||||
id="path36"
|
||||
style="fill:none;stroke:#edd400" />
|
||||
<path
|
||||
d="M 9,35 28,18 55,28 37,45 Z"
|
||||
id="path38"
|
||||
style="fill:url(#linearGradient5);stroke:#302b00;stroke-linejoin:round" />
|
||||
<path
|
||||
d="M 12.804336,34.208711 28.573658,19.940661 51.218486,28.771569 36.523799,42.772294 Z"
|
||||
id="path34-3"
|
||||
style="fill:none;stroke:#fce94f;stroke-width:2" />
|
||||
</g>
|
||||
<g
|
||||
id="g8">
|
||||
<path
|
||||
style="color:#000000;fill:#cc0000;stroke:#650707;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1;paint-order:normal"
|
||||
d="m 24.478541,15.553224 a 1.4365924,1.4365924 0 0 0 -1.436592,1.436592 l 0.0029,2.466338 a 1.4365924,1.4365924 0 0 0 1.439398,1.436592 1.4365924,1.4365924 0 0 0 1.433787,-1.439398 l -0.0029,-2.466337 a 1.4365924,1.4365924 0 0 0 -1.436593,-1.433787 z m 0.0056,6.776115 a 1.4365924,1.4365924 0 0 0 -1.436592,1.436592 l 0.0029,2.873185 a 1.4365924,1.4365924 0 0 0 1.439398,1.436592 1.4365924,1.4365924 0 0 0 1.433787,-1.439398 l -0.0029,-2.873185 a 1.4365924,1.4365924 0 0 0 -1.436593,-1.433786 z m 0.0056,7.182962 a 1.4365924,1.4365924 0 0 0 -1.433787,1.436592 v 2.873185 a 1.4365924,1.4365924 0 0 0 1.439398,1.436592 1.4365924,1.4365924 0 0 0 1.433787,-1.439398 v -2.873185 a 1.4365924,1.4365924 0 0 0 -1.439381,-1.433786 z m 0.0056,7.182962 a 1.4365924,1.4365924 0 0 0 -1.433786,1.436592 l 0.0029,2.873185 a 1.4365924,1.4365924 0 0 0 1.436592,1.436592 1.4365924,1.4365924 0 0 0 1.436593,-1.439398 l -0.0029,-2.873185 a 1.4365924,1.4365924 0 0 0 -1.439372,-1.433786 z"
|
||||
id="path6" />
|
||||
<path
|
||||
style="fill:none;fill-rule:evenodd;stroke:#ef2929;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="m 24.915491,23.656877 v 3.057837"
|
||||
id="path8" />
|
||||
<path
|
||||
style="fill:none;fill-rule:evenodd;stroke:#ef2929;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="m 24.915491,38.063657 v 3.057837"
|
||||
id="path4" />
|
||||
<path
|
||||
style="fill:none;fill-rule:evenodd;stroke:#ef2929;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="m 24.915491,30.860267 v 3.057837"
|
||||
id="path7" />
|
||||
</g>
|
||||
<g
|
||||
id="g963"
|
||||
transform="matrix(0.80408661,0,0,0.80408661,31.929379,-0.96751733)">
|
||||
<g
|
||||
style="stroke:#172a04;stroke-width:2;stroke-linejoin:round"
|
||||
transform="translate(-40)"
|
||||
id="g48">
|
||||
<path
|
||||
style="fill:url(#linearGradient4389)"
|
||||
id="path42"
|
||||
d="M 9,35 V 21 l 14,5 v 14 z" />
|
||||
<path
|
||||
style="fill:#8ae234"
|
||||
id="path44"
|
||||
d="M 9,21 28.585,5.209 42,10.0001 l -19,16 z" />
|
||||
<path
|
||||
style="fill:url(#linearGradient69042)"
|
||||
id="path46"
|
||||
d="M 23,40 V 26 l 7.9726,-6.7138 0.02739,13.714 z" />
|
||||
</g>
|
||||
<path
|
||||
style="fill:url(#linearGradient920);fill-opacity:1;stroke:#172a04;stroke-width:2;stroke-linejoin:round"
|
||||
id="path912"
|
||||
d="M -31,35 V 21 l 14,5 v 14 z" />
|
||||
<path
|
||||
style="fill:#fce94f;fill-opacity:1;stroke:#172a04;stroke-width:2;stroke-linejoin:round;stroke-opacity:1"
|
||||
id="path914"
|
||||
d="M -31,21 -11.415,5.209 2,10.0001 l -19,16 z" />
|
||||
<path
|
||||
style="fill:url(#linearGradient922);fill-opacity:1;stroke:#172a04;stroke-width:2;stroke-linejoin:round"
|
||||
id="path916"
|
||||
d="M -17,40 V 26 L 2,10.0001 2.0000003,23 Z" />
|
||||
<path
|
||||
d="m -15,35.578425 v -9 L 0.08743031,14.309658 0.2139029,22.129247 Z"
|
||||
id="path50"
|
||||
style="fill:none;stroke:#fce94f;stroke-width:2;stroke-opacity:1" />
|
||||
<path
|
||||
d="m -29.049,33.746 0.08695,-9.9796 9.9568,3.5229 -0.02105,9.9613 z"
|
||||
id="path52"
|
||||
style="fill:none;stroke:#fce94f;stroke-width:2;stroke-opacity:1" />
|
||||
</g>
|
||||
<path
|
||||
style="color:#000000;fill:#cc0000;stroke:#650707;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1;paint-order:normal"
|
||||
d="m 27.746683,15.629777 a 1.3954961,1.4210831 0 0 0 -1.762541,0.906679 1.3954961,1.4210831 0 0 0 0.892952,1.792215 l 2.652896,0.885533 a 1.3954961,1.4210831 0 0 0 1.759944,-0.90668 1.3954961,1.4210831 0 0 0 -0.892951,-1.792215 z m 6.629644,2.212511 a 1.3954961,1.4210831 0 0 0 -1.759945,0.906681 1.3954961,1.4210831 0 0 0 0.890356,1.794858 l 2.652897,0.885533 a 1.3954961,1.4210831 0 0 0 1.759945,-0.909324 1.3954961,1.4210831 0 0 0 -0.890356,-1.792214 z m 6.629645,2.215156 a 1.3954961,1.4210831 0 0 0 -1.759944,0.906681 1.3954961,1.4210831 0 0 0 0.890354,1.792213 l 2.652897,0.885534 a 1.3954961,1.4210831 0 0 0 1.759945,-0.906681 1.3954961,1.4210831 0 0 0 -0.890356,-1.792213 z m 6.629646,2.212511 a 1.3954961,1.4210831 0 0 0 -1.759946,0.906681 1.3954961,1.4210831 0 0 0 0.890356,1.794858 l 2.652895,0.885534 a 1.3954961,1.4210831 0 0 0 1.759946,-0.909324 1.3954961,1.4210831 0 0 0 -0.890356,-1.792215 z"
|
||||
id="path5" />
|
||||
<path
|
||||
style="fill:none;fill-rule:evenodd;stroke:#ef2929;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="m 40.605383,20.9774 2.818448,0.918371"
|
||||
id="path3" />
|
||||
<g
|
||||
id="g943"
|
||||
transform="matrix(0.72287451,0,0,0.72287451,-24.111096,5.1869402)">
|
||||
<path
|
||||
d="m 91,33.5 -0.02739,-14.214 12.967,4.3352 v 14.5 z"
|
||||
id="path54"
|
||||
style="fill:url(#linearGradient69709);stroke:#0b1521;stroke-width:2;stroke-linejoin:round" />
|
||||
<path
|
||||
d="m 92.927,32.029 0.04731,-10.141 8.9272,3.29 0.0781,10.042 z"
|
||||
id="path56"
|
||||
style="fill:none;stroke:#729fcf;stroke-width:2" />
|
||||
<path
|
||||
d="m 103.94,38.121 v -14.5 l 11,-9 L 115,28 Z"
|
||||
id="path58"
|
||||
style="fill:url(#linearGradient69717);stroke:#0b1521;stroke-width:2;stroke-linejoin:round" />
|
||||
<path
|
||||
d="m 105.94,33.621 v -9 l 7,-6 -0.0122,8.5816 z"
|
||||
id="path60"
|
||||
style="fill:none;stroke:#729fcf;stroke-width:2" />
|
||||
<path
|
||||
d="M 90.973,19.286 102,9.9998 l 12.94,4.6214 -11,9 z"
|
||||
id="path62"
|
||||
style="fill:#729fcf;stroke:#0b1521;stroke-width:2;stroke-linejoin:round" />
|
||||
</g>
|
||||
<path
|
||||
style="fill:none;fill-rule:evenodd;stroke:#ef2929;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="m 27.305084,16.576271 2.818448,0.918371"
|
||||
id="path1" />
|
||||
<path
|
||||
style="fill:none;fill-rule:evenodd;stroke:#ef2929;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="m 33.963192,18.784171 2.818448,0.918371"
|
||||
id="path2" />
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 12 KiB |
@@ -0,0 +1,356 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
width="64"
|
||||
height="64"
|
||||
version="1.1"
|
||||
viewBox="0 0 64 64"
|
||||
id="svg96"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/">
|
||||
<defs
|
||||
id="defs26">
|
||||
<linearGradient
|
||||
id="linearGradient1">
|
||||
<stop
|
||||
style="stop-color:#efdc3d;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop1" />
|
||||
<stop
|
||||
style="stop-color:#bba80d;stop-opacity:1;"
|
||||
offset="1"
|
||||
id="stop3" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient4383">
|
||||
<stop
|
||||
stop-color="#3465a4"
|
||||
offset="0"
|
||||
id="stop2" />
|
||||
<stop
|
||||
stop-color="#729fcf"
|
||||
offset="1"
|
||||
id="stop4" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient4399"
|
||||
x1="48.714"
|
||||
x2="44.714"
|
||||
y1="45.586"
|
||||
y2="34.586"
|
||||
gradientTransform="translate(1.2856,1.4142)"
|
||||
gradientUnits="userSpaceOnUse">
|
||||
<stop
|
||||
stop-color="#c4a000"
|
||||
offset="0"
|
||||
id="stop8" />
|
||||
<stop
|
||||
stop-color="#edd400"
|
||||
offset="1"
|
||||
id="stop10" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient69056"
|
||||
x1="27.244"
|
||||
x2="22.244"
|
||||
y1="54.588"
|
||||
y2="40.588"
|
||||
gradientTransform="translate(-1.2435,-2.5881)"
|
||||
gradientUnits="userSpaceOnUse">
|
||||
<stop
|
||||
stop-color="#c4a000"
|
||||
offset="0"
|
||||
id="stop14" />
|
||||
<stop
|
||||
stop-color="#fce94f"
|
||||
offset="1"
|
||||
id="stop16" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient3774">
|
||||
<stop
|
||||
stop-color="#4e9a06"
|
||||
offset="0"
|
||||
id="stop21" />
|
||||
<stop
|
||||
stop-color="#8ae234"
|
||||
offset="1"
|
||||
id="stop23" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient4383"
|
||||
id="linearGradient9"
|
||||
x1="32"
|
||||
y1="64"
|
||||
x2="32"
|
||||
y2="14.419661"
|
||||
gradientUnits="userSpaceOnUse" />
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient4399"
|
||||
id="linearGradient13"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="translate(1.2856,1.4142)"
|
||||
x1="48.714"
|
||||
y1="45.586"
|
||||
x2="44.714"
|
||||
y2="34.586" />
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient1"
|
||||
id="linearGradient14"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
x1="8.000092"
|
||||
y1="31.5"
|
||||
x2="55.999914"
|
||||
y2="31.5" />
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient3774"
|
||||
id="linearGradient15"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="translate(-1.2435,-2.5881)"
|
||||
x1="20.244"
|
||||
y1="37.588"
|
||||
x2="17.244"
|
||||
y2="27.588" />
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient3774"
|
||||
id="linearGradient16"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="translate(-12.714,-17.586)"
|
||||
x1="48.714"
|
||||
y1="45.586"
|
||||
x2="44.714"
|
||||
y2="34.586" />
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient69056"
|
||||
id="linearGradient17"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="translate(-41.2435,-2.5881)"
|
||||
x1="20.243999"
|
||||
y1="37.588001"
|
||||
x2="17.243999"
|
||||
y2="27.587999" />
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient4399"
|
||||
id="linearGradient18"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="translate(-52.714,-17.586)"
|
||||
x1="48.714001"
|
||||
y1="45.585999"
|
||||
x2="44.714001"
|
||||
y2="34.585999" />
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient4383"
|
||||
id="linearGradient19"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(1,-0.026667,0,1,81.696,-5.3735)"
|
||||
x1="20.244"
|
||||
y1="37.588"
|
||||
x2="17.244"
|
||||
y2="27.588" />
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient4383"
|
||||
id="linearGradient20"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="translate(61.2256,1.0356)"
|
||||
x1="50.714"
|
||||
y1="25.586"
|
||||
x2="48.714"
|
||||
y2="20.586" />
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient69056"
|
||||
id="linearGradient21"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="translate(-1.2435,-2.5881)"
|
||||
x1="27.244"
|
||||
y1="54.588"
|
||||
x2="22.244"
|
||||
y2="40.588" />
|
||||
</defs>
|
||||
<metadata
|
||||
id="metadata28">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:date>2015-07-04</dc:date>
|
||||
<dc:relation>https://www.freecad.org/wiki/index.php?title=Artwork</dc:relation>
|
||||
<dc:publisher>
|
||||
<cc:Agent>
|
||||
<dc:title>FreeCAD</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:publisher>
|
||||
<dc:identifier>FreeCAD/src/Mod/Path/Gui/Resources/icons/Path-Stock.svg</dc:identifier>
|
||||
<dc:rights>
|
||||
<cc:Agent>
|
||||
<dc:title>FreeCAD LGPL2+</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:rights>
|
||||
<cc:license>https://www.gnu.org/copyleft/lesser.html</cc:license>
|
||||
<dc:contributor>
|
||||
<cc:Agent>
|
||||
<dc:title>[agryson] Alexander Gryson</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:contributor>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
id="layer3"
|
||||
style="display:inline">
|
||||
<path
|
||||
style="fill:#204a87;fill-opacity:1;stroke:#0c1522;stroke-width:2;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:normal"
|
||||
id="path4"
|
||||
d="M 29.921921,10.073012 26.993293,6.1977395 C 26.21651,5.1698698 25.163057,4.5924975 24.064598,4.5924975 H 5.0714589 c -1.1437425,0 -2.0708717,1.2268134 -2.0708717,2.740257 V 58.484215 c 0,0.504481 0.309043,0.913419 0.6902905,0.913419 H 60.294706 c 0.381247,0 0.690291,-0.408938 0.690291,-0.913419 V 12.813269 c 0,-1.513445 -0.927129,-2.740257 -2.070872,-2.740257 z" />
|
||||
<path
|
||||
style="fill:#204a87;fill-opacity:1;stroke:#3465a4;stroke-width:2;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:normal"
|
||||
id="path7"
|
||||
d="M 5.2089844,6.5917969 H 24.064453 c 0.375444,0 0.874561,0.2026195 1.333984,0.8105468 l 3.527344,4.6699223 h 29.84961 c 0.0082,0.01044 0.01784,0.02289 0.02734,0.03711 0.01056,0.0158 0.02193,0.03237 0.0332,0.05273 0.08049,0.145363 0.148438,0.361331 0.148438,0.650391 v 44.58594 H 5 V 7.3320312 C 5,7.0436394 5.0678061,6.828994 5.1484375,6.6835937 c 0.011294,-0.020366 0.022609,-0.038859 0.033203,-0.054687 0.00953,-0.014245 0.019073,-0.026632 0.027344,-0.03711 z" />
|
||||
<path
|
||||
style="fill:#729fcf;fill-opacity:1;stroke:#0c1522;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:normal"
|
||||
id="path6-0"
|
||||
d="m 29.919347,14.419661 -2.927223,3.534545 C 26.215716,18.891703 25.16247,19.41831 24.064012,19.41831 H 3.0000008 l 0.015588,39.156085 c 2.171e-4,0.460126 0.3093777,0.833108 0.6906252,0.833108 h 56.603828 c 0.381248,0 0.690139,-0.372982 0.689957,-0.833108 L 60.983419,16.918986 C 60.982865,15.538609 60.055293,14.419661 58.91155,14.419661 H 29.919344 Z" />
|
||||
<path
|
||||
style="fill:url(#linearGradient9);fill-opacity:1;stroke:#729fcf;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:normal"
|
||||
id="path8"
|
||||
d="m 30.861328,16.419922 h 28.050781 c 0,0 0.07225,0.463543 0.07227,0.5 L 59,57.408203 H 5.015625 L 5,21.417969 h 19.064453 c 1.756119,0 3.349555,-0.836095 4.46875,-2.1875 z" />
|
||||
</g>
|
||||
<g
|
||||
id="g20"
|
||||
transform="matrix(0.57654394,0,0,0.57654394,13.743375,57.059518)">
|
||||
<g
|
||||
id="g40-3"
|
||||
style="stroke-width:2"
|
||||
transform="matrix(0.80408661,0,0,0.80408661,3.6084445,-50.31302)">
|
||||
<path
|
||||
d="M 9,49 V 35 l 28,10 v 14 z"
|
||||
id="path30-3"
|
||||
style="font-variation-settings:normal;opacity:1;fill:url(#linearGradient21);fill-opacity:1;stroke:#302b00;stroke-width:1.99978;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;stop-color:#000000;stop-opacity:1" />
|
||||
<path
|
||||
d="M 37,59 V 45 L 55,28 v 13 z"
|
||||
id="path32-5"
|
||||
style="fill:url(#linearGradient13);stroke:#302b00;stroke-width:1.99978;stroke-linejoin:round;stroke-dasharray:none" />
|
||||
<path
|
||||
d="M 11.008,47.606 11,37.9997 l 24,8 0.0081,10.185 z"
|
||||
id="path34-7"
|
||||
style="fill:none;stroke:#fce94f" />
|
||||
<path
|
||||
d="M 39.005,54.168 39,45.9998 l 14,-13 0.0021,7.1768 z"
|
||||
id="path36-3"
|
||||
style="fill:none;stroke:#edd400" />
|
||||
<path
|
||||
d="M 9,35 28,18 55,28 37,45 Z"
|
||||
id="path38-5"
|
||||
style="fill:url(#linearGradient14);stroke:#302b00;stroke-linejoin:round" />
|
||||
<path
|
||||
d="M 12.804336,34.208711 28.573658,19.940661 51.218486,28.771569 36.523799,42.772294 Z"
|
||||
id="path34-3-5"
|
||||
style="fill:none;stroke:#fce94f;stroke-width:2" />
|
||||
</g>
|
||||
<g
|
||||
id="g8"
|
||||
transform="translate(-1.3048518,-63.456928)">
|
||||
<path
|
||||
style="color:#000000;fill:#cc0000;stroke:#650707;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1;paint-order:normal"
|
||||
d="m 24.478541,15.553224 a 1.4365924,1.4365924 0 0 0 -1.436592,1.436592 l 0.0029,2.466338 a 1.4365924,1.4365924 0 0 0 1.439398,1.436592 1.4365924,1.4365924 0 0 0 1.433787,-1.439398 l -0.0029,-2.466337 a 1.4365924,1.4365924 0 0 0 -1.436593,-1.433787 z m 0.0056,6.776115 a 1.4365924,1.4365924 0 0 0 -1.436592,1.436592 l 0.0029,2.873185 a 1.4365924,1.4365924 0 0 0 1.439398,1.436592 1.4365924,1.4365924 0 0 0 1.433787,-1.439398 l -0.0029,-2.873185 a 1.4365924,1.4365924 0 0 0 -1.436593,-1.433786 z m 0.0056,7.182962 a 1.4365924,1.4365924 0 0 0 -1.433787,1.436592 v 2.873185 a 1.4365924,1.4365924 0 0 0 1.439398,1.436592 1.4365924,1.4365924 0 0 0 1.433787,-1.439398 v -2.873185 a 1.4365924,1.4365924 0 0 0 -1.439381,-1.433786 z m 0.0056,7.182962 a 1.4365924,1.4365924 0 0 0 -1.433786,1.436592 l 0.0029,2.873185 a 1.4365924,1.4365924 0 0 0 1.436592,1.436592 1.4365924,1.4365924 0 0 0 1.436593,-1.439398 l -0.0029,-2.873185 a 1.4365924,1.4365924 0 0 0 -1.439372,-1.433786 z"
|
||||
id="path6-6" />
|
||||
<path
|
||||
style="fill:none;fill-rule:evenodd;stroke:#ef2929;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="m 24.915491,23.656877 v 3.057837"
|
||||
id="path8-7" />
|
||||
<path
|
||||
style="fill:none;fill-rule:evenodd;stroke:#ef2929;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="m 24.915491,38.063657 v 3.057837"
|
||||
id="path4-4" />
|
||||
<path
|
||||
style="fill:none;fill-rule:evenodd;stroke:#ef2929;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="m 24.915491,30.860267 v 3.057837"
|
||||
id="path7-9" />
|
||||
</g>
|
||||
<g
|
||||
id="g963-8"
|
||||
transform="matrix(0.80408661,0,0,0.80408661,30.624528,-64.424445)">
|
||||
<g
|
||||
style="stroke:#172a04;stroke-width:2;stroke-linejoin:round"
|
||||
transform="translate(-40)"
|
||||
id="g48-7">
|
||||
<path
|
||||
style="fill:url(#linearGradient15)"
|
||||
id="path42-2"
|
||||
d="M 9,35 V 21 l 14,5 v 14 z" />
|
||||
<path
|
||||
style="fill:#8ae234"
|
||||
id="path44-5"
|
||||
d="M 9,21 28.585,5.209 42,10.0001 l -19,16 z" />
|
||||
<path
|
||||
style="fill:url(#linearGradient16)"
|
||||
id="path46-9"
|
||||
d="M 23,40 V 26 l 7.9726,-6.7138 0.02739,13.714 z" />
|
||||
</g>
|
||||
<path
|
||||
style="fill:url(#linearGradient17);fill-opacity:1;stroke:#172a04;stroke-width:2;stroke-linejoin:round"
|
||||
id="path912-0"
|
||||
d="M -31,35 V 21 l 14,5 v 14 z" />
|
||||
<path
|
||||
style="fill:#fce94f;fill-opacity:1;stroke:#172a04;stroke-width:2;stroke-linejoin:round;stroke-opacity:1"
|
||||
id="path914-7"
|
||||
d="M -31,21 -11.415,5.209 2,10.0001 l -19,16 z" />
|
||||
<path
|
||||
style="fill:url(#linearGradient18);fill-opacity:1;stroke:#172a04;stroke-width:2;stroke-linejoin:round"
|
||||
id="path916-5"
|
||||
d="M -17,40 V 26 L 2,10.0001 2.0000003,23 Z" />
|
||||
<path
|
||||
d="m -15,35.578425 v -9 L 0.08743031,14.309658 0.2139029,22.129247 Z"
|
||||
id="path50-7"
|
||||
style="fill:none;stroke:#fce94f;stroke-width:2;stroke-opacity:1" />
|
||||
<path
|
||||
d="m -29.049,33.746 0.08695,-9.9796 9.9568,3.5229 -0.02105,9.9613 z"
|
||||
id="path52-4"
|
||||
style="fill:none;stroke:#fce94f;stroke-width:2;stroke-opacity:1" />
|
||||
</g>
|
||||
<path
|
||||
style="color:#000000;fill:#cc0000;stroke:#650707;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1;paint-order:normal"
|
||||
d="m 26.441831,-47.827151 a 1.3954961,1.4210831 0 0 0 -1.762541,0.906679 1.3954961,1.4210831 0 0 0 0.892953,1.792215 l 2.652896,0.885533 a 1.3954961,1.4210831 0 0 0 1.759944,-0.90668 1.3954961,1.4210831 0 0 0 -0.892951,-1.792215 z m 6.629645,2.212511 a 1.3954961,1.4210831 0 0 0 -1.759946,0.906681 1.3954961,1.4210831 0 0 0 0.890356,1.794858 l 2.652897,0.885533 a 1.3954961,1.4210831 0 0 0 1.759946,-0.909324 1.3954961,1.4210831 0 0 0 -0.890356,-1.792214 z m 6.629644,2.215156 a 1.3954961,1.4210831 0 0 0 -1.759944,0.906681 1.3954961,1.4210831 0 0 0 0.890355,1.792213 l 2.652897,0.885534 a 1.3954961,1.4210831 0 0 0 1.759945,-0.906681 1.3954961,1.4210831 0 0 0 -0.890356,-1.792213 z m 6.629646,2.212511 a 1.3954961,1.4210831 0 0 0 -1.759946,0.906681 1.3954961,1.4210831 0 0 0 0.890356,1.794858 l 2.652895,0.885534 a 1.3954961,1.4210831 0 0 0 1.759946,-0.909324 1.3954961,1.4210831 0 0 0 -0.890356,-1.792215 z"
|
||||
id="path5-6" />
|
||||
<path
|
||||
style="fill:none;fill-rule:evenodd;stroke:#ef2929;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="m 39.300532,-42.479528 2.818448,0.918371"
|
||||
id="path3" />
|
||||
<g
|
||||
id="g943-9"
|
||||
transform="matrix(0.72287451,0,0,0.72287451,-25.415947,-58.269988)">
|
||||
<path
|
||||
d="m 91,33.5 -0.02739,-14.214 12.967,4.3352 v 14.5 z"
|
||||
id="path54-5"
|
||||
style="fill:url(#linearGradient19);stroke:#0b1521;stroke-width:2;stroke-linejoin:round" />
|
||||
<path
|
||||
d="m 92.927,32.029 0.04731,-10.141 8.9272,3.29 0.0781,10.042 z"
|
||||
id="path56-7"
|
||||
style="fill:none;stroke:#729fcf;stroke-width:2" />
|
||||
<path
|
||||
d="m 103.94,38.121 v -14.5 l 11,-9 L 115,28 Z"
|
||||
id="path58-8"
|
||||
style="fill:url(#linearGradient20);stroke:#0b1521;stroke-width:2;stroke-linejoin:round" />
|
||||
<path
|
||||
d="m 105.94,33.621 v -9 l 7,-6 -0.0122,8.5816 z"
|
||||
id="path60-0"
|
||||
style="fill:none;stroke:#729fcf;stroke-width:2" />
|
||||
<path
|
||||
d="M 90.973,19.286 102,9.9998 l 12.94,4.6214 -11,9 z"
|
||||
id="path62-3"
|
||||
style="fill:#729fcf;stroke:#0b1521;stroke-width:2;stroke-linejoin:round" />
|
||||
</g>
|
||||
<path
|
||||
style="fill:none;fill-rule:evenodd;stroke:#ef2929;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="m 26.000232,-46.880657 2.818449,0.918371"
|
||||
id="path1" />
|
||||
<path
|
||||
style="fill:none;fill-rule:evenodd;stroke:#ef2929;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="m 32.65834,-44.672757 2.818448,0.918371"
|
||||
id="path2" />
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 15 KiB |
401
src/Mod/Assembly/Gui/Resources/icons/Assembly_ExportASMT.svg
Normal file
@@ -0,0 +1,401 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
width="64"
|
||||
height="64"
|
||||
id="svg2869"
|
||||
version="1.1"
|
||||
viewBox="0 0 64 64"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/">
|
||||
<defs
|
||||
id="defs2871">
|
||||
<linearGradient
|
||||
id="linearGradient5">
|
||||
<stop
|
||||
style="stop-color:#ef2929;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop19" />
|
||||
<stop
|
||||
style="stop-color:#ef2929;stop-opacity:0;"
|
||||
offset="1"
|
||||
id="stop20" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="swatch18">
|
||||
<stop
|
||||
style="stop-color:#ef2929;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop18" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="swatch15">
|
||||
<stop
|
||||
style="stop-color:#3d0000;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop15" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient5-1">
|
||||
<stop
|
||||
style="stop-color:#ef2929;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop5" />
|
||||
<stop
|
||||
style="stop-color:#ef2929;stop-opacity:0;"
|
||||
offset="1"
|
||||
id="stop6" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient3836-9">
|
||||
<stop
|
||||
style="stop-color:#a40000;stop-opacity:1"
|
||||
offset="0"
|
||||
id="stop3838-8" />
|
||||
<stop
|
||||
style="stop-color:#ef2929;stop-opacity:1"
|
||||
offset="1"
|
||||
id="stop3840-1" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient3836-9-3">
|
||||
<stop
|
||||
style="stop-color:#a40000;stop-opacity:1"
|
||||
offset="0"
|
||||
id="stop3838-8-5" />
|
||||
<stop
|
||||
style="stop-color:#ef2929;stop-opacity:1"
|
||||
offset="1"
|
||||
id="stop3840-1-6" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient2">
|
||||
<stop
|
||||
style="stop-color:#73d216;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop1" />
|
||||
<stop
|
||||
style="stop-color:#8ae234;stop-opacity:1;"
|
||||
offset="1"
|
||||
id="stop2" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient3765"
|
||||
id="linearGradient3771"
|
||||
x1="98"
|
||||
y1="1047.3622"
|
||||
x2="81"
|
||||
y2="993.36218"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="translate(-60,-988.36218)" />
|
||||
<linearGradient
|
||||
id="linearGradient3765">
|
||||
<stop
|
||||
style="stop-color:#d3d7cf;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop3767" />
|
||||
<stop
|
||||
style="stop-color:#ffffff;stop-opacity:1"
|
||||
offset="1"
|
||||
id="stop3769" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient3806"
|
||||
id="linearGradient3012"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(0.73269922,0,0,0.5925111,13.613318,24.513214)"
|
||||
x1="48.014042"
|
||||
y1="26.323408"
|
||||
x2="43.478561"
|
||||
y2="42.076672" />
|
||||
<linearGradient
|
||||
id="linearGradient3806">
|
||||
<stop
|
||||
style="stop-color:#ef2929;stop-opacity:1"
|
||||
offset="0"
|
||||
id="stop3808" />
|
||||
<stop
|
||||
style="stop-color:#a40000;stop-opacity:1"
|
||||
offset="1"
|
||||
id="stop3810" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient69056"
|
||||
id="linearGradient13"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="translate(-1.2435,-2.5881)"
|
||||
x1="27.243999"
|
||||
y1="54.588001"
|
||||
x2="22.243999"
|
||||
y2="40.588001" />
|
||||
<linearGradient
|
||||
id="linearGradient69056"
|
||||
x1="27.243999"
|
||||
x2="22.243999"
|
||||
y1="54.588001"
|
||||
y2="40.588001"
|
||||
gradientTransform="translate(-1.2435,-2.5881)"
|
||||
gradientUnits="userSpaceOnUse">
|
||||
<stop
|
||||
stop-color="#c4a000"
|
||||
offset="0"
|
||||
id="stop14" />
|
||||
<stop
|
||||
stop-color="#fce94f"
|
||||
offset="1"
|
||||
id="stop16" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient4399"
|
||||
id="linearGradient14"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="translate(1.2856,1.4142)"
|
||||
x1="48.714001"
|
||||
y1="45.585999"
|
||||
x2="44.714001"
|
||||
y2="34.585999" />
|
||||
<linearGradient
|
||||
id="linearGradient4399"
|
||||
x1="48.714001"
|
||||
x2="44.714001"
|
||||
y1="45.585999"
|
||||
y2="34.585999"
|
||||
gradientTransform="translate(1.2856,1.4142)"
|
||||
gradientUnits="userSpaceOnUse">
|
||||
<stop
|
||||
stop-color="#c4a000"
|
||||
offset="0"
|
||||
id="stop8" />
|
||||
<stop
|
||||
stop-color="#edd400"
|
||||
offset="1"
|
||||
id="stop10" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient69709"
|
||||
x1="20.243999"
|
||||
x2="17.243999"
|
||||
y1="37.588001"
|
||||
y2="27.587999"
|
||||
gradientTransform="matrix(1,-0.026667,0,1,81.696,-5.3735)"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
xlink:href="#linearGradient4383" />
|
||||
<linearGradient
|
||||
id="linearGradient4383">
|
||||
<stop
|
||||
stop-color="#3465a4"
|
||||
offset="0"
|
||||
id="stop3" />
|
||||
<stop
|
||||
stop-color="#729fcf"
|
||||
offset="1"
|
||||
id="stop4" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient69717"
|
||||
x1="50.714001"
|
||||
x2="48.714001"
|
||||
y1="25.586"
|
||||
y2="20.586"
|
||||
gradientTransform="translate(61.2256,1.0356)"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
xlink:href="#linearGradient4383" />
|
||||
<linearGradient
|
||||
id="linearGradient4389"
|
||||
x1="20.243999"
|
||||
x2="17.243999"
|
||||
y1="37.588001"
|
||||
y2="27.587999"
|
||||
gradientTransform="translate(-1.2435,-2.5881)"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
xlink:href="#linearGradient3774" />
|
||||
<linearGradient
|
||||
id="linearGradient3774">
|
||||
<stop
|
||||
stop-color="#4e9a06"
|
||||
offset="0"
|
||||
id="stop21" />
|
||||
<stop
|
||||
stop-color="#8ae234"
|
||||
offset="1"
|
||||
id="stop23" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient69042"
|
||||
x1="48.714001"
|
||||
x2="44.714001"
|
||||
y1="45.585999"
|
||||
y2="34.585999"
|
||||
gradientTransform="translate(-12.714,-17.586)"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
xlink:href="#linearGradient3774" />
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient69056"
|
||||
id="linearGradient920"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="translate(-41.2435,-2.5881)"
|
||||
x1="20.243999"
|
||||
y1="37.588001"
|
||||
x2="17.243999"
|
||||
y2="27.587999" />
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient4399"
|
||||
id="linearGradient922"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="translate(-52.714,-17.586)"
|
||||
x1="48.714001"
|
||||
y1="45.585999"
|
||||
x2="44.714001"
|
||||
y2="34.585999" />
|
||||
</defs>
|
||||
<metadata
|
||||
id="metadata2874">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:creator>
|
||||
<cc:Agent>
|
||||
<dc:title>[maxwxyz]</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:creator>
|
||||
<dc:relation>https://www.freecad.org/wiki/index.php?title=Artwork</dc:relation>
|
||||
<dc:publisher>
|
||||
<cc:Agent>
|
||||
<dc:title>FreeCAD</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:publisher>
|
||||
<dc:identifier>FreeCAD/src/</dc:identifier>
|
||||
<dc:rights>
|
||||
<cc:Agent>
|
||||
<dc:title>FreeCAD LGPL2+</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:rights>
|
||||
<dc:date>2024</dc:date>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
id="layer3"
|
||||
style="display:inline">
|
||||
<path
|
||||
style="fill:url(#linearGradient3771);fill-opacity:1;stroke:#2e3436;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1"
|
||||
d="m 11,3 v 58.00002 h 42 v -48 L 43,3 Z"
|
||||
id="path2991" />
|
||||
<path
|
||||
style="fill:none;stroke:#ffffff;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||
d="M 13,5 V 59.00002 H 51 V 13.81392 L 41.99741,5 Z"
|
||||
id="path3763" />
|
||||
<path
|
||||
style="fill:#2e3436;fill-opacity:0.392157;stroke:#2e3436;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1"
|
||||
d="M 43,3 V 13.00002 H 53 Z"
|
||||
id="path2993" />
|
||||
<g
|
||||
id="g40"
|
||||
style="display:inline;stroke-width:2"
|
||||
transform="matrix(0.71696222,0,0,0.71696222,9.057209,8.9822968)">
|
||||
<path
|
||||
d="M 9,49 V 35 l 28,10 v 14 z"
|
||||
id="path30"
|
||||
style="fill:url(#linearGradient13);stroke:#302b00;stroke-linejoin:round" />
|
||||
<path
|
||||
d="M 37,59 V 45 L 55,28 v 13 z"
|
||||
id="path32"
|
||||
style="fill:url(#linearGradient14);stroke:#302b00;stroke-linejoin:round" />
|
||||
<path
|
||||
d="M 11.008,47.606 11,37.9997 l 24,8 0.0081,10.185 z"
|
||||
id="path34"
|
||||
style="fill:none;stroke:#fce94f" />
|
||||
<path
|
||||
d="M 39.005,54.168 39,45.9998 l 14,-13 0.0021,7.1768 z"
|
||||
id="path36"
|
||||
style="fill:none;stroke:#edd400" />
|
||||
<path
|
||||
d="M 23,40 42,23 55,28 37,45 Z"
|
||||
id="path38"
|
||||
style="fill:#fce94f;stroke:#302b00;stroke-linejoin:round" />
|
||||
</g>
|
||||
<path
|
||||
style="display:inline;fill:#ef2929;fill-opacity:1;fill-rule:evenodd;stroke:#280000;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="m 45.628392,34.16514 v 5.682261 H 29 v 9.470435 h 16.628392 v 5.682261 L 59.881299,44.582619 Z"
|
||||
id="path3343" />
|
||||
<g
|
||||
id="g943"
|
||||
transform="matrix(0.71696222,0,0,0.71696222,-33.960524,8.9822968)"
|
||||
style="display:inline">
|
||||
<path
|
||||
d="m 91,33.5 -0.02739,-14.214 12.967,4.3352 v 14.5 z"
|
||||
id="path54"
|
||||
style="fill:url(#linearGradient69709);stroke:#0b1521;stroke-width:2;stroke-linejoin:round" />
|
||||
<path
|
||||
d="m 92.927,32.029 0.04731,-10.141 8.9272,3.29 0.0781,10.042 z"
|
||||
id="path56"
|
||||
style="fill:none;stroke:#729fcf;stroke-width:2" />
|
||||
<path
|
||||
d="m 103.94,38.121 v -14.5 l 11,-9 L 115,28 Z"
|
||||
id="path58"
|
||||
style="fill:url(#linearGradient69717);stroke:#0b1521;stroke-width:2;stroke-linejoin:round" />
|
||||
<path
|
||||
d="m 105.94,33.621 v -9 l 7,-6 -0.0122,8.5816 z"
|
||||
id="path60"
|
||||
style="fill:none;stroke:#729fcf;stroke-width:2" />
|
||||
<path
|
||||
d="M 90.973,19.286 102,9.9998 l 12.94,4.6214 -11,9 z"
|
||||
id="path62"
|
||||
style="fill:#729fcf;stroke:#0b1521;stroke-width:2;stroke-linejoin:round" />
|
||||
</g>
|
||||
<path
|
||||
style="display:inline;fill:url(#linearGradient3012);fill-opacity:1;fill-rule:evenodd;stroke:#ef2929;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="m 47.629277,38.105469 v 3.742187 H 31.000371 v 5.470703 h 16.628906 v 3.742188 l 8.863281,-6.478516 z"
|
||||
id="path1" />
|
||||
<g
|
||||
id="g963"
|
||||
transform="matrix(0.71696222,0,0,0.71696222,37.735698,8.9822968)"
|
||||
style="display:inline">
|
||||
<g
|
||||
style="stroke:#172a04;stroke-width:2;stroke-linejoin:round"
|
||||
transform="translate(-40)"
|
||||
id="g48">
|
||||
<path
|
||||
style="fill:url(#linearGradient4389)"
|
||||
id="path42"
|
||||
d="M 9,35 V 21 l 14,5 v 14 z" />
|
||||
<path
|
||||
style="fill:#8ae234"
|
||||
id="path44"
|
||||
d="M 9,21 28.585,5.209 42,10.0001 l -19,16 z" />
|
||||
<path
|
||||
style="fill:url(#linearGradient69042)"
|
||||
id="path46"
|
||||
d="M 23,40 V 26 l 7.9726,-6.7138 0.02739,13.714 z" />
|
||||
</g>
|
||||
<path
|
||||
style="fill:url(#linearGradient920);fill-opacity:1;stroke:#172a04;stroke-width:2;stroke-linejoin:round"
|
||||
id="path912"
|
||||
d="M -31,35 V 21 l 14,5 v 14 z" />
|
||||
<path
|
||||
style="fill:#fce94f;fill-opacity:1;stroke:#172a04;stroke-width:2;stroke-linejoin:round;stroke-opacity:1"
|
||||
id="path914"
|
||||
d="M -31,21 -11.415,5.209 2,10.0001 l -19,16 z" />
|
||||
<path
|
||||
style="fill:url(#linearGradient922);fill-opacity:1;stroke:#172a04;stroke-width:2;stroke-linejoin:round"
|
||||
id="path916"
|
||||
d="M -17,40 V 26 l 7.9726,-6.7138 0.02739,13.714 z" />
|
||||
<path
|
||||
d="m -15,36 v -9 l 4,-3.5 v 9 z"
|
||||
id="path50"
|
||||
style="fill:none;stroke:#fce94f;stroke-width:2;stroke-opacity:1" />
|
||||
<path
|
||||
d="m -29.049,33.746 0.08695,-9.9796 9.9568,3.5229 -0.02105,9.9613 z"
|
||||
id="path52"
|
||||
style="fill:none;stroke:#fce94f;stroke-width:2;stroke-opacity:1" />
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 12 KiB |
381
src/Mod/Assembly/Gui/Resources/icons/Assembly_InsertLink.svg
Normal file
@@ -0,0 +1,381 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
width="64"
|
||||
height="64"
|
||||
id="svg3559"
|
||||
version="1.1"
|
||||
inkscape:version="1.1-beta1 (77e7b44db3, 2021-03-28)"
|
||||
sodipodi:docname="Assembly_InsertLink.svg"
|
||||
viewBox="0 0 64 64"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/">
|
||||
<defs
|
||||
id="defs3561">
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
id="linearGradient73208">
|
||||
<stop
|
||||
style="stop-color:#c4a000;stop-opacity:1"
|
||||
offset="0"
|
||||
id="stop73210" />
|
||||
<stop
|
||||
style="stop-color:#edd400;stop-opacity:1"
|
||||
offset="1"
|
||||
id="stop73212" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient73194"
|
||||
inkscape:collect="always">
|
||||
<stop
|
||||
id="stop73202"
|
||||
offset="0"
|
||||
style="stop-color:#c4a000;stop-opacity:1" />
|
||||
<stop
|
||||
id="stop73204"
|
||||
offset="1"
|
||||
style="stop-color:#fce94f;stop-opacity:1" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient4383-3"
|
||||
inkscape:collect="always">
|
||||
<stop
|
||||
id="stop73188"
|
||||
offset="0"
|
||||
style="stop-color:#3465a4;stop-opacity:1" />
|
||||
<stop
|
||||
id="stop73190"
|
||||
offset="1"
|
||||
style="stop-color:#729fcf;stop-opacity:1" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient73194"
|
||||
id="linearGradient4389"
|
||||
x1="20.243532"
|
||||
y1="37.588112"
|
||||
x2="17.243532"
|
||||
y2="27.588112"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(0.8,0,0,0.8,12.605141,-2.0704894)" />
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient73208"
|
||||
id="linearGradient4399"
|
||||
x1="48.714352"
|
||||
y1="45.585785"
|
||||
x2="46.714352"
|
||||
y2="34.585785"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(0.8,0,0,0.8,14.628486,1.1313711)" />
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient4383-3"
|
||||
id="linearGradient4389-0"
|
||||
x1="27.243532"
|
||||
y1="54.588112"
|
||||
x2="21.243532"
|
||||
y2="30.588112"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="translate(-1.243533,-2.588112)" />
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient4393-9"
|
||||
id="linearGradient4399-7"
|
||||
x1="48.714352"
|
||||
y1="45.585785"
|
||||
x2="40.714352"
|
||||
y2="24.585787"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="translate(1.2856487,1.4142136)" />
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
id="linearGradient4393-9">
|
||||
<stop
|
||||
style="stop-color:#204a87;stop-opacity:1"
|
||||
offset="0"
|
||||
id="stop4395-8" />
|
||||
<stop
|
||||
style="stop-color:#3465a4;stop-opacity:1"
|
||||
offset="1"
|
||||
id="stop4397-1" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient73208"
|
||||
id="linearGradient69042"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(0.8,0,0,0.8,3.4284862,-14.068629)"
|
||||
x1="48.714352"
|
||||
y1="45.585785"
|
||||
x2="46.714352"
|
||||
y2="35.585785" />
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient73194"
|
||||
id="linearGradient69056"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(0.8,0,0,0.8,12.605141,-2.0704894)"
|
||||
x1="27.243532"
|
||||
y1="54.588112"
|
||||
x2="22.243532"
|
||||
y2="40.588112" />
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
id="linearGradient3774">
|
||||
<stop
|
||||
style="stop-color:#4e9a06;stop-opacity:1"
|
||||
offset="0"
|
||||
id="stop3776" />
|
||||
<stop
|
||||
style="stop-color:#8ae234;stop-opacity:1"
|
||||
offset="1"
|
||||
id="stop3778" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient3774"
|
||||
id="linearGradient4316-3"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(0.06183271,-0.69215846,0.57205891,0.05424512,847.51461,1510.3523)"
|
||||
x1="288.11227"
|
||||
y1="358.15811"
|
||||
x2="372.52457"
|
||||
y2="7.5416322" />
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient4383-3"
|
||||
id="linearGradient69056-8"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="translate(-1.243533,-2.588112)"
|
||||
x1="27.243532"
|
||||
y1="54.588112"
|
||||
x2="17.243532"
|
||||
y2="27.588112" />
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient4393-9"
|
||||
id="linearGradient4399-4"
|
||||
x1="48.714352"
|
||||
y1="45.585785"
|
||||
x2="44.714352"
|
||||
y2="34.585785"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="translate(1.2856487,1.4142136)" />
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient4393-9"
|
||||
id="linearGradient69042-2"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="translate(-12.714351,-17.585786)"
|
||||
x1="48.714352"
|
||||
y1="45.585785"
|
||||
x2="44.714352"
|
||||
y2="34.585785" />
|
||||
</defs>
|
||||
<sodipodi:namedview
|
||||
id="base"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:zoom="5"
|
||||
inkscape:cx="36.7"
|
||||
inkscape:cy="-7.7"
|
||||
inkscape:current-layer="layer1"
|
||||
showgrid="true"
|
||||
inkscape:document-units="px"
|
||||
inkscape:grid-bbox="true"
|
||||
inkscape:window-width="3840"
|
||||
inkscape:window-height="1571"
|
||||
inkscape:window-x="-9"
|
||||
inkscape:window-y="-9"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:snap-global="true"
|
||||
objecttolerance="10.0"
|
||||
gridtolerance="10.0"
|
||||
guidetolerance="10.0"
|
||||
inkscape:pagecheckerboard="0">
|
||||
<inkscape:grid
|
||||
type="xygrid"
|
||||
id="grid3007"
|
||||
empspacing="4"
|
||||
visible="true"
|
||||
enabled="true"
|
||||
snapvisiblegridlinesonly="true"
|
||||
spacingx="0.5"
|
||||
spacingy="0.5" />
|
||||
</sodipodi:namedview>
|
||||
<metadata
|
||||
id="metadata3564">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title>Path-Stock</dc:title>
|
||||
<dc:date>2015-07-04</dc:date>
|
||||
<dc:relation>https://www.freecad.org/wiki/index.php?title=Artwork</dc:relation>
|
||||
<dc:publisher>
|
||||
<cc:Agent>
|
||||
<dc:title>FreeCAD</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:publisher>
|
||||
<dc:identifier>FreeCAD/src/Mod/Path/Gui/Resources/icons/Path-Stock.svg</dc:identifier>
|
||||
<dc:rights>
|
||||
<cc:Agent>
|
||||
<dc:title>FreeCAD LGPL2+</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:rights>
|
||||
<cc:license>https://www.gnu.org/copyleft/lesser.html</cc:license>
|
||||
<dc:contributor>
|
||||
<cc:Agent>
|
||||
<dc:title>[agryson] Alexander Gryson</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:contributor>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
id="layer1"
|
||||
inkscape:label="Layer 1"
|
||||
inkscape:groupmode="layer">
|
||||
<g
|
||||
id="g915"
|
||||
transform="matrix(0.77285647,0,0,0.77285647,-14.475389,-1.4914259)">
|
||||
<path
|
||||
sodipodi:nodetypes="ccccc"
|
||||
inkscape:connector-curvature="0"
|
||||
id="path69052"
|
||||
d="M 20.799967,28 V 16.8 l 11.2,4 V 32 Z"
|
||||
style="fill:url(#linearGradient4389);fill-opacity:1;fill-rule:nonzero;stroke:#302b00;stroke-width:1.6;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none" />
|
||||
<path
|
||||
style="fill:url(#linearGradient69056);fill-opacity:1;fill-rule:nonzero;stroke:#302b00;stroke-width:1.6;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none"
|
||||
d="M 20.799967,39.2 V 28 l 22.4,8 v 11.2 z"
|
||||
id="path4381"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="ccccc" />
|
||||
<path
|
||||
style="fill:url(#linearGradient4399);fill-opacity:1;fill-rule:nonzero;stroke:#302b00;stroke-width:1.6;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none"
|
||||
d="M 43.199967,47.2 V 36 l 14.4,-13.6 v 10.4 z"
|
||||
id="path4391"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="ccccc" />
|
||||
<path
|
||||
style="fill:#fce94f;fill-opacity:1;fill-rule:nonzero;stroke:#302b00;stroke-width:1.6;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none"
|
||||
d="m 20.799967,16.8 16,-12.8 10.4,4 -15.2,12.8 z"
|
||||
id="path4403"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="ccccc" />
|
||||
<path
|
||||
style="fill:none;stroke:#fce94f;stroke-width:1.6;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none"
|
||||
d="M 22.406395,38.085016 22.399967,30.4 l 19.2,6.4 0.0065,8.14785 z"
|
||||
id="path4381-7"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="ccccc" />
|
||||
<path
|
||||
style="fill:none;stroke:#edd400;stroke-width:1.6;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none"
|
||||
d="M 44.804,43.3346 44.8,36.8 56,26 l 0.0017,6.141478 z"
|
||||
id="path4391-0"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="ccccc" />
|
||||
<path
|
||||
sodipodi:nodetypes="ccccc"
|
||||
inkscape:connector-curvature="0"
|
||||
id="path69038"
|
||||
d="m 31.999967,32 15.2,-13.6 10.4,4 -14.4,13.6 z"
|
||||
style="fill:#fce94f;fill-opacity:1;fill-rule:nonzero;stroke:#302b00;stroke-width:1.6;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none" />
|
||||
<path
|
||||
sodipodi:nodetypes="ccccc"
|
||||
inkscape:connector-curvature="0"
|
||||
id="path69040"
|
||||
d="M 31.999967,32 V 20.8 l 15.2,-12.8 v 10.4 z"
|
||||
style="fill:url(#linearGradient69042);fill-opacity:1;fill-rule:nonzero;stroke:#302b00;stroke-width:1.6;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none" />
|
||||
<path
|
||||
sodipodi:nodetypes="ccccc"
|
||||
inkscape:connector-curvature="0"
|
||||
id="path69044"
|
||||
d="m 33.599967,28.8 v -7.2 l 12,-10.4 v 6.4 z"
|
||||
style="fill:none;stroke:#edd400;stroke-width:1.6;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none" />
|
||||
<path
|
||||
sodipodi:nodetypes="ccccc"
|
||||
inkscape:connector-curvature="0"
|
||||
id="path69048"
|
||||
d="M 22.406367,26.885016 22.399967,19.2 l 8,2.4 v 8 z"
|
||||
style="fill:none;stroke:#fce94f;stroke-width:1.6;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none" />
|
||||
</g>
|
||||
<g
|
||||
id="g901"
|
||||
transform="matrix(0.62540359,0,0,0.62540359,28.36491,-1.5145292)">
|
||||
<path
|
||||
style="fill:url(#linearGradient69056-8);fill-opacity:1;fill-rule:nonzero;stroke:#0b1521;stroke-width:2;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none"
|
||||
d="M 9,49 V 21 l 14,5 v 14 l 14,5 v 14 z"
|
||||
id="path4381-4"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="ccccccc" />
|
||||
<path
|
||||
style="fill:url(#linearGradient4399-4);fill-opacity:1;fill-rule:nonzero;stroke:#0b1521;stroke-width:2;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none"
|
||||
d="M 37,59 V 45 L 55,28 v 13 z"
|
||||
id="path4391-2"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="ccccc" />
|
||||
<path
|
||||
style="fill:#729fcf;fill-opacity:1;fill-rule:nonzero;stroke:#0b1521;stroke-width:2;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none"
|
||||
d="M 9,21 29,5 42,10 23,26 Z"
|
||||
id="path4403-8"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="ccccc" />
|
||||
<path
|
||||
style="fill:none;stroke:#729fcf;stroke-width:2;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none"
|
||||
d="M 11.008035,47.60627 11,24 21,28 v 13 l 14,5 0.0081,10.184812 z"
|
||||
id="path4381-7-0"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="ccccccc" />
|
||||
<path
|
||||
style="fill:none;stroke:#3465a4;stroke-width:2;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none"
|
||||
d="M 39.005041,54.16825 39,46 53,33 l 0.0021,7.176847 z"
|
||||
id="path4391-0-8"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="ccccc" />
|
||||
<path
|
||||
sodipodi:nodetypes="ccccc"
|
||||
inkscape:connector-curvature="0"
|
||||
id="path69038-4"
|
||||
d="M 23,40 42,23 55,28 37,45 Z"
|
||||
style="fill:#729fcf;fill-opacity:1;fill-rule:nonzero;stroke:#0b1521;stroke-width:2;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none" />
|
||||
<path
|
||||
sodipodi:nodetypes="ccccc"
|
||||
inkscape:connector-curvature="0"
|
||||
id="path69040-1"
|
||||
d="M 23,40 V 26 L 42,10 v 13 z"
|
||||
style="fill:url(#linearGradient69042-2);fill-opacity:1;fill-rule:nonzero;stroke:#0b1521;stroke-width:2;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none" />
|
||||
<path
|
||||
sodipodi:nodetypes="ccccc"
|
||||
inkscape:connector-curvature="0"
|
||||
id="path69044-3"
|
||||
d="M 25,36 V 27 L 40,14 v 8 z"
|
||||
style="fill:none;stroke:#3465a4;stroke-width:2;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none" />
|
||||
</g>
|
||||
<g
|
||||
id="g848"
|
||||
transform="matrix(0.14362562,0,0,0.14362562,-116.21951,-147.93747)">
|
||||
<path
|
||||
id="path4312-7"
|
||||
d="m 981.26844,1199.5897 c -23.22708,22.774 -38.78184,61.0912 -46.66819,114.9502 l -42.7912,-4.0576 c -4.57296,-0.4337 -8.01407,1.8318 -10.32543,6.7941 -2.33026,5.2257 -1.9825,9.9096 1.05198,14.0496 l 74.58404,109.1052 c 1.84782,2.7005 4.18501,4.1828 7.01545,4.4512 2.83125,0.2684 5.39138,-0.75 7.6847,-3.0572 l 92.66051,-93.2492 c 2.2813,-2.1792 3.5801,-5.0423 3.8979,-8.5997 0.1412,-1.5805 0.016,-3.2522 -0.375,-5.0169 -1.3934,-5.3134 -4.3724,-8.1898 -8.9476,-8.6236 l -40.9955,-3.8874 c 3.3105,-21.0748 7.7425,-38.4228 13.2971,-52.0512 5.5547,-13.6222 12.5731,-24.2813 21.0578,-31.9809 19.7193,-17.9274 51.1003,-21.994 94.151,-12.1985 2.8089,0.5287 4.7944,-0.8066 5.9595,-4.0188 0.1462,-0.3847 0.2505,-0.9722 0.3211,-1.7627 0.2354,-2.6344 -0.5254,-4.5646 -2.2818,-5.7964 l -6.1799,-4.5711 c -2.8849,-2.1315 -7.5745,-5.2663 -14.0677,-9.403 -6.4965,-4.1346 -13.017,-7.9466 -19.5704,-11.4249 -6.5504,-3.4781 -13.8368,-6.7252 -21.8573,-9.7452 -8.0238,-3.0183 -15.1905,-4.8281 -21.5044,-5.4268 -36.5853,-3.4692 -65.289,5.0396 -86.11666,25.5208 z"
|
||||
inkscape:connector-curvature="0"
|
||||
style="opacity:1;fill:#8ae234;fill-opacity:1;stroke:#172a04;stroke-width:14.6213;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
|
||||
<path
|
||||
style="opacity:1;fill:url(#linearGradient4316-3);fill-opacity:1;stroke:none;stroke-width:43.0657;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="m 912.40727,1336.8997 c 18.10965,26.4928 35.81255,53.3164 54.37597,79.4477 22.85603,-23.4766 46.51736,-46.0183 69.19286,-69.703 -14.0292,-1.3545 -28.053,-2.777 -42.09822,-3.949 5.02268,-35.0484 10.50862,-71.4994 28.95672,-101.7877 12.9758,-21.618 35.1817,-34.9317 57.9386,-40.9012 -24.2632,-7.102 -51.678,-6.6327 -74.0363,7.2277 -20.63289,12.8563 -32.92403,36.5528 -40.35113,60.1527 -6.7066,19.223 -8.18734,39.866 -14.20145,59.2723 -5.96061,9.965 -18.30518,12.2595 -28.35141,9.6934 -4.32735,-0.4936 -8.69078,-1.2118 -13.03881,-1.8171 0.53771,0.7882 1.07541,1.5765 1.61312,2.3647 z"
|
||||
id="path4314-5"
|
||||
inkscape:connector-curvature="0" />
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 16 KiB |
186
src/Mod/Assembly/Gui/Resources/icons/Assembly_JointGroup.svg
Normal file
@@ -0,0 +1,186 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
width="64px"
|
||||
height="64px"
|
||||
id="svg2821"
|
||||
version="1.1"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/">
|
||||
<defs
|
||||
id="defs2823">
|
||||
<linearGradient
|
||||
id="linearGradient4">
|
||||
<stop
|
||||
style="stop-color:#3465a4;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop3" />
|
||||
<stop
|
||||
style="stop-color:#729fcf;stop-opacity:1;"
|
||||
offset="1"
|
||||
id="stop4" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient3801">
|
||||
<stop
|
||||
style="stop-color:#c4a000;stop-opacity:1"
|
||||
offset="0"
|
||||
id="stop3803" />
|
||||
<stop
|
||||
style="stop-color:#fce94f;stop-opacity:1"
|
||||
offset="1"
|
||||
id="stop3805" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient3801"
|
||||
id="linearGradient3807"
|
||||
x1="110"
|
||||
y1="35"
|
||||
x2="85"
|
||||
y2="35"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
spreadMethod="reflect"
|
||||
gradientTransform="translate(-61,-0.19620034)" />
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient4"
|
||||
id="linearGradient3"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(0.98307932,0,0,0.98280534,-59.426377,1.0297335)"
|
||||
x1="110"
|
||||
y1="35"
|
||||
x2="85"
|
||||
y2="35"
|
||||
spreadMethod="reflect" />
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient4"
|
||||
id="linearGradient9"
|
||||
x1="32"
|
||||
y1="64"
|
||||
x2="32"
|
||||
y2="14.419661"
|
||||
gradientUnits="userSpaceOnUse" />
|
||||
</defs>
|
||||
<metadata
|
||||
id="metadata2826">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:creator>
|
||||
<cc:Agent>
|
||||
<dc:title>[wmayer]</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:creator>
|
||||
<dc:date>2011-10-10</dc:date>
|
||||
<dc:relation>https://www.freecad.org/wiki/index.php?title=Artwork</dc:relation>
|
||||
<dc:publisher>
|
||||
<cc:Agent>
|
||||
<dc:title>FreeCAD</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:publisher>
|
||||
<dc:identifier>FreeCAD/src/Mod/Part/Gui/Resources/icons/Part_Cylinder.svg</dc:identifier>
|
||||
<dc:rights>
|
||||
<cc:Agent>
|
||||
<dc:title>FreeCAD LGPL2+</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:rights>
|
||||
<cc:license>https://www.gnu.org/copyleft/lesser.html</cc:license>
|
||||
<dc:contributor>
|
||||
<cc:Agent>
|
||||
<dc:title>[agryson] Alexander Gryson</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:contributor>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
id="layer1">
|
||||
<g
|
||||
id="layer3"
|
||||
style="display:inline">
|
||||
<path
|
||||
style="fill:#204a87;fill-opacity:1;stroke:#0c1522;stroke-width:2;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:normal"
|
||||
id="path4"
|
||||
d="M 29.921921,10.073012 26.993293,6.1977395 C 26.21651,5.1698698 25.163057,4.5924975 24.064598,4.5924975 H 5.0714589 c -1.1437425,0 -2.0708717,1.2268134 -2.0708717,2.740257 V 58.484215 c 0,0.504481 0.309043,0.913419 0.6902905,0.913419 H 60.294706 c 0.381247,0 0.690291,-0.408938 0.690291,-0.913419 V 12.813269 c 0,-1.513445 -0.927129,-2.740257 -2.070872,-2.740257 z" />
|
||||
<path
|
||||
style="fill:#204a87;fill-opacity:1;stroke:#3465a4;stroke-width:2;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:normal"
|
||||
id="path7"
|
||||
d="M 5.2089844,6.5917969 H 24.064453 c 0.375444,0 0.874561,0.2026195 1.333984,0.8105468 l 3.527344,4.6699223 h 29.84961 c 0.0082,0.01044 0.01784,0.02289 0.02734,0.03711 0.01056,0.0158 0.02193,0.03237 0.0332,0.05273 0.08049,0.145363 0.148438,0.361331 0.148438,0.650391 v 44.58594 H 5 V 7.3320312 C 5,7.0436394 5.0678061,6.828994 5.1484375,6.6835937 c 0.011294,-0.020366 0.022609,-0.038859 0.033203,-0.054687 0.00953,-0.014245 0.019073,-0.026632 0.027344,-0.03711 z" />
|
||||
<path
|
||||
style="fill:#729fcf;fill-opacity:1;stroke:#0c1522;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:normal"
|
||||
id="path6"
|
||||
d="m 29.919347,14.419661 -2.927223,3.534545 C 26.215716,18.891703 25.16247,19.41831 24.064012,19.41831 H 3.0000008 l 0.015588,39.156085 c 2.171e-4,0.460126 0.3093777,0.833108 0.6906252,0.833108 h 56.603828 c 0.381248,0 0.690139,-0.372982 0.689957,-0.833108 L 60.983419,16.918986 C 60.982865,15.538609 60.055293,14.419661 58.91155,14.419661 H 29.919344 Z" />
|
||||
<path
|
||||
style="fill:url(#linearGradient9);fill-opacity:1;stroke:#729fcf;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:normal"
|
||||
id="path8"
|
||||
d="m 30.861328,16.419922 h 28.050781 c 0,0 0.07225,0.463543 0.07227,0.5 L 59,57.408203 H 5.015625 L 5,21.417969 h 19.064453 c 1.756119,0 3.349555,-0.836095 4.46875,-2.1875 z" />
|
||||
</g>
|
||||
<g
|
||||
id="g2"
|
||||
transform="matrix(0.61183741,0,0,0.61123957,12.4212,17.998573)"
|
||||
style="stroke-width:0.854151">
|
||||
<g
|
||||
id="g1"
|
||||
transform="translate(3.6192085e-6,-0.89630564)"
|
||||
style="stroke-width:0.854151">
|
||||
<path
|
||||
style="fill:#fce94f;stroke:#302b00;stroke-width:1.7083;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4.5;stroke-dashoffset:20.4;stroke-opacity:1"
|
||||
d="m 56.000001,52.8038 c 0,4.418278 -10.745166,8 -24,8 -13.254833,0 -23.9999985,-3.581722 -23.9999985,-8 l -2e-6,-18.217405 H 56 Z"
|
||||
id="path2994-3" />
|
||||
<path
|
||||
style="fill:url(#linearGradient3807);fill-opacity:1;stroke:#fce94f;stroke-width:1.7083;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4.5;stroke-dashoffset:20.4;stroke-opacity:1"
|
||||
d="m 54,51.531073 c 0,4.016616 -9.84973,7.272727 -22,7.272727 -12.150264,0 -21.999999,-3.256111 -21.999999,-7.272727 l -1.5e-6,-15.950307 H 54 Z"
|
||||
id="path2994-3-6" />
|
||||
<path
|
||||
style="fill:none;stroke:#fce94f;stroke-width:1.7083;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4.5;stroke-dashoffset:20.4;stroke-opacity:1"
|
||||
d="m 54,38.835626 c -2,3.272727 -9.84973,5.272727 -22,5.272727 -12.150264,0 -19,-2 -21.999999,-5.272727"
|
||||
id="path2994-3-6-9" />
|
||||
<ellipse
|
||||
style="fill:#fce94f;stroke:#302b00;stroke-width:1.49476;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4.5;stroke-dasharray:none;stroke-dashoffset:20.4;stroke-opacity:1"
|
||||
id="path2994"
|
||||
cx="32"
|
||||
cy="34.381172"
|
||||
rx="24"
|
||||
ry="7.9999995" />
|
||||
</g>
|
||||
<path
|
||||
d="m 44.724484,42.214865 v 8.096549 c 0,0 -1.084323,3.922162 -12.564831,3.922162 -11.480508,0 -11.750143,-3.922162 -11.750143,-3.922162 v -7.8593"
|
||||
style="fill:#729fcf;fill-opacity:1;stroke:#fce94f;stroke-width:1.77948;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4.5;stroke-dashoffset:20.4;stroke-opacity:1"
|
||||
id="path1-5"
|
||||
transform="matrix(0.96000015,0,0,0.96000015,1.2799944,2.2388113)" />
|
||||
<path
|
||||
d="m 42.423915,37.93471 v 11.605108 c 0,0 0.105469,2.899307 -10.224895,2.899307 -10.330364,0 -9.561926,-2.899307 -9.561926,-2.899307 V 38.110087"
|
||||
style="fill:#729fcf;fill-opacity:1;stroke:#302b00;stroke-width:1.7083;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4.5;stroke-dashoffset:20.4;stroke-opacity:1"
|
||||
id="path1-6" />
|
||||
<g
|
||||
id="g3"
|
||||
transform="translate(3.6192085e-6,-20.496033)"
|
||||
style="stroke-width:0.854151">
|
||||
<path
|
||||
style="fill:#729fcf;fill-opacity:1;stroke:#0b1521;stroke-width:2.45283037;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4.5;stroke-dashoffset:20.4;stroke-opacity:1;stroke-dasharray:none"
|
||||
d="m 56.000001,52.8038 c 0,3.292855 -5.968324,6.121052 -14.495801,7.348199 v 9.235537 c 0,0 0.0958,2.307316 -9.287334,2.307316 -9.383131,0 -8.685155,-2.307316 -8.685155,-2.307316 V 60.291568 C 14.4556,59.150481 8.0000025,56.228438 8.0000025,52.8038 l -2e-6,-18.217405 H 56 Z"
|
||||
id="path1" />
|
||||
<path
|
||||
style="fill:url(#linearGradient3);fill-opacity:1;stroke:#729fcf;stroke-width:2.45283;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4.5;stroke-dasharray:none;stroke-dashoffset:20.4;stroke-opacity:1"
|
||||
d="m 53.627745,51.867574 c 0,3.124022 -6.064364,5.779939 -14.514788,6.752122 v 9.88738 c 0,0 -3.337936,0.817369 -6.483138,0.809873 -3.145202,-0.0075 -6.427599,-0.809873 -6.427599,-0.809873 V 58.755519 C 17.072982,57.918034 10.372256,55.151416 10.372256,51.867574 l -1e-6,-15.676047 h 43.25549 z"
|
||||
id="path2" />
|
||||
<path
|
||||
style="fill:none;stroke:#729fcf;stroke-width:1.7083;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4.5;stroke-dashoffset:20.4;stroke-opacity:1"
|
||||
d="m 54,38.835626 c -2,3.272727 -9.84973,5.272727 -22,5.272727 -12.150264,0 -19,-2 -21.999999,-5.272727"
|
||||
id="path3" />
|
||||
<ellipse
|
||||
style="fill:#729fcf;fill-opacity:1;stroke:#0b1521;stroke-width:2.45283037;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4.5;stroke-dasharray:none;stroke-dashoffset:20.4;stroke-opacity:1"
|
||||
id="ellipse3"
|
||||
cx="32"
|
||||
cy="34.381172"
|
||||
rx="24"
|
||||
ry="7.9999995" />
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 9.5 KiB |
@@ -0,0 +1,446 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
width="64"
|
||||
height="64"
|
||||
version="1.1"
|
||||
viewBox="0 0 64 64"
|
||||
id="svg96"
|
||||
sodipodi:docname="Assembly_SelectJointsOfComponent.svg"
|
||||
inkscape:version="1.4.2 (f4327f4, 2025-05-13)"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/">
|
||||
<sodipodi:namedview
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1"
|
||||
objecttolerance="10"
|
||||
gridtolerance="10"
|
||||
guidetolerance="10"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:window-width="3840"
|
||||
inkscape:window-height="1571"
|
||||
id="namedview98"
|
||||
showgrid="false"
|
||||
inkscape:zoom="7.375"
|
||||
inkscape:cx="-46.033898"
|
||||
inkscape:cy="36.135593"
|
||||
inkscape:window-x="-9"
|
||||
inkscape:window-y="-9"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="svg96"
|
||||
inkscape:pagecheckerboard="0"
|
||||
inkscape:showpageshadow="0"
|
||||
inkscape:deskcolor="#505050ff" />
|
||||
<defs
|
||||
id="defs26">
|
||||
<linearGradient
|
||||
id="linearGradient5">
|
||||
<stop
|
||||
style="stop-color:#3465a4;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop3" />
|
||||
<stop
|
||||
style="stop-color:#729fcf;stop-opacity:1;"
|
||||
offset="1"
|
||||
id="stop5" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient4383">
|
||||
<stop
|
||||
stop-color="#3465a4"
|
||||
offset="0"
|
||||
id="stop2" />
|
||||
<stop
|
||||
stop-color="#729fcf"
|
||||
offset="1"
|
||||
id="stop4" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient4389"
|
||||
x1="20.244"
|
||||
x2="17.244"
|
||||
y1="37.588"
|
||||
y2="27.588"
|
||||
gradientTransform="translate(-1.2435,-2.5881)"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
xlink:href="#linearGradient3774" />
|
||||
<linearGradient
|
||||
id="linearGradient4399"
|
||||
x1="48.714"
|
||||
x2="44.714"
|
||||
y1="45.586"
|
||||
y2="34.586"
|
||||
gradientTransform="translate(1.2856,1.4142)"
|
||||
gradientUnits="userSpaceOnUse">
|
||||
<stop
|
||||
stop-color="#c4a000"
|
||||
offset="0"
|
||||
id="stop8" />
|
||||
<stop
|
||||
stop-color="#edd400"
|
||||
offset="1"
|
||||
id="stop10" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient69042"
|
||||
x1="48.714"
|
||||
x2="44.714"
|
||||
y1="45.586"
|
||||
y2="34.586"
|
||||
gradientTransform="translate(-12.714,-17.586)"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
xlink:href="#linearGradient3774" />
|
||||
<linearGradient
|
||||
id="linearGradient69056"
|
||||
x1="27.244"
|
||||
x2="22.244"
|
||||
y1="54.588"
|
||||
y2="40.588"
|
||||
gradientTransform="translate(-1.2435,-2.5881)"
|
||||
gradientUnits="userSpaceOnUse">
|
||||
<stop
|
||||
stop-color="#c4a000"
|
||||
offset="0"
|
||||
id="stop14" />
|
||||
<stop
|
||||
stop-color="#fce94f"
|
||||
offset="1"
|
||||
id="stop16" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient69709"
|
||||
x1="20.244"
|
||||
x2="17.244"
|
||||
y1="37.588"
|
||||
y2="27.588"
|
||||
gradientTransform="matrix(1,-0.026667,0,1,-4.9583303,13.035246)"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
xlink:href="#linearGradient4383" />
|
||||
<linearGradient
|
||||
id="linearGradient69717"
|
||||
x1="50.714"
|
||||
x2="48.714"
|
||||
y1="25.586"
|
||||
y2="20.586"
|
||||
gradientTransform="translate(-25.42873,19.444346)"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
xlink:href="#linearGradient4383" />
|
||||
<linearGradient
|
||||
id="linearGradient3774">
|
||||
<stop
|
||||
stop-color="#4e9a06"
|
||||
offset="0"
|
||||
id="stop21" />
|
||||
<stop
|
||||
stop-color="#8ae234"
|
||||
offset="1"
|
||||
id="stop23" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient4383"
|
||||
id="linearGradient14"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(-0.21101776,-0.38855873,0.36549348,-0.22433449,55.738696,89.232256)"
|
||||
x1="74.090889"
|
||||
y1="36.438313"
|
||||
x2="98.940155"
|
||||
y2="39.402027"
|
||||
spreadMethod="reflect" />
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient4383"
|
||||
id="linearGradient1"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(-0.21101776,-0.38855873,0.36549348,-0.22433449,49.945687,92.628304)"
|
||||
x1="74.090889"
|
||||
y1="36.438313"
|
||||
x2="98.940155"
|
||||
y2="39.402027"
|
||||
spreadMethod="reflect" />
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient3801-5"
|
||||
id="linearGradient3807"
|
||||
x1="74.090889"
|
||||
y1="36.438313"
|
||||
x2="98.940155"
|
||||
y2="39.402027"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
spreadMethod="reflect"
|
||||
gradientTransform="matrix(0.91296596,0,0,0.91296596,-53.260025,-10.845327)" />
|
||||
<linearGradient
|
||||
id="linearGradient3801-5">
|
||||
<stop
|
||||
style="stop-color:#c4a000;stop-opacity:1"
|
||||
offset="0"
|
||||
id="stop3803-3" />
|
||||
<stop
|
||||
style="stop-color:#fce94f;stop-opacity:1"
|
||||
offset="1"
|
||||
id="stop3805-5" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient5"
|
||||
id="linearGradient3807-8"
|
||||
x1="110"
|
||||
y1="35"
|
||||
x2="85"
|
||||
y2="35"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
spreadMethod="reflect"
|
||||
gradientTransform="matrix(0.46639319,0,0,0.46639319,3.7503584,-8.1314081)" />
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient3801-5"
|
||||
id="linearGradient2"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="translate(-61,-0.19620034)"
|
||||
x1="110"
|
||||
y1="35"
|
||||
x2="85"
|
||||
y2="35"
|
||||
spreadMethod="reflect" />
|
||||
</defs>
|
||||
<metadata
|
||||
id="metadata28">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title>Path-Stock</dc:title>
|
||||
<dc:date>2015-07-04</dc:date>
|
||||
<dc:relation>https://www.freecad.org/wiki/index.php?title=Artwork</dc:relation>
|
||||
<dc:publisher>
|
||||
<cc:Agent>
|
||||
<dc:title>FreeCAD</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:publisher>
|
||||
<dc:identifier>FreeCAD/src/Mod/Path/Gui/Resources/icons/Path-Stock.svg</dc:identifier>
|
||||
<dc:rights>
|
||||
<cc:Agent>
|
||||
<dc:title>FreeCAD LGPL2+</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:rights>
|
||||
<cc:license>https://www.gnu.org/copyleft/lesser.html</cc:license>
|
||||
<dc:contributor>
|
||||
<cc:Agent>
|
||||
<dc:title>[agryson] Alexander Gryson</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:contributor>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
id="g1"
|
||||
transform="translate(0.86290997,0.28763666)">
|
||||
<path
|
||||
d="m 4.3456697,51.908746 -0.02739,-38.214 12.9670003,4.3352 v 38.5 z"
|
||||
id="path54"
|
||||
style="fill:url(#linearGradient69709);stroke:#0b1521;stroke-width:2;stroke-linejoin:round"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="ccccc" />
|
||||
<path
|
||||
d="m 6.2726697,50.437746 0.04731,-34.141 8.9272003,3.29 0.0781,34.042 z"
|
||||
id="path56"
|
||||
inkscape:connector-curvature="0"
|
||||
style="fill:none;stroke:#729fcf;stroke-width:2"
|
||||
sodipodi:nodetypes="ccccc" />
|
||||
<path
|
||||
d="m 17.28567,56.529746 v -38.5 l 11,-9 0.06,37.379 z"
|
||||
id="path58"
|
||||
style="fill:url(#linearGradient69717);stroke:#0b1521;stroke-width:2;stroke-linejoin:round"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="ccccc" />
|
||||
<path
|
||||
d="m 19.28567,52.029746 v -33 l 7,-6 -0.0122,32.5816 z"
|
||||
id="path60"
|
||||
inkscape:connector-curvature="0"
|
||||
style="fill:none;stroke:#729fcf;stroke-width:2"
|
||||
sodipodi:nodetypes="ccccc" />
|
||||
<path
|
||||
d="m 4.3186697,13.694746 11.0270003,-9.2862 12.94,4.6214 -11,9 z"
|
||||
id="path62"
|
||||
inkscape:connector-curvature="0"
|
||||
style="fill:#729fcf;stroke:#0b1521;stroke-width:2;stroke-linejoin:round"
|
||||
sodipodi:nodetypes="ccccc" />
|
||||
</g>
|
||||
<g
|
||||
display="none"
|
||||
fill="#ef2929"
|
||||
fill-rule="evenodd"
|
||||
opacity=".588"
|
||||
stroke="#ef2929"
|
||||
stroke-width="1px"
|
||||
id="g94">
|
||||
<path
|
||||
d="m9 35v14"
|
||||
id="path66" />
|
||||
<path
|
||||
d="m9 35 28 10"
|
||||
id="path68" />
|
||||
<path
|
||||
d="m55 28v13"
|
||||
id="path70" />
|
||||
<path
|
||||
d="m37 45 18-17"
|
||||
id="path72" />
|
||||
<path
|
||||
d="m23 40v-14"
|
||||
id="path74" />
|
||||
<path
|
||||
d="m29 5 13 5"
|
||||
id="path76" />
|
||||
<path
|
||||
d="m23 26 19-16"
|
||||
id="path78" />
|
||||
<path
|
||||
d="m19 13 10-8"
|
||||
id="path80" />
|
||||
<path
|
||||
d="m55 15-9 8"
|
||||
id="path82" />
|
||||
<path
|
||||
d="m42 23v-13"
|
||||
id="path84" />
|
||||
<path
|
||||
d="m42 23 14 5"
|
||||
id="path86" />
|
||||
<path
|
||||
d="m23 40 19-17"
|
||||
id="path88" />
|
||||
<path
|
||||
d="m23 10h19"
|
||||
id="path90" />
|
||||
<path
|
||||
d="m34 17v13"
|
||||
id="path92" />
|
||||
</g>
|
||||
<path
|
||||
style="fill:#729fcf;stroke:#302b00;stroke-width:0.920557;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4.5;stroke-dashoffset:20.4;stroke-opacity:1"
|
||||
d="m 49.530247,32.427747 c 1.614852,-0.991172 5.191369,2.380453 7.988374,7.530734 2.797006,5.150281 3.75533,10.128913 2.140479,11.120085 L 50.923166,56.440554 40.794313,37.789735 Z"
|
||||
id="path10" />
|
||||
<path
|
||||
style="fill:url(#linearGradient14);fill-opacity:1;stroke:#729fcf;stroke-width:0.920557;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4.5;stroke-dashoffset:20.4;stroke-opacity:1"
|
||||
d="m 49.48711,33.490382 c 1.468047,-0.901066 4.736602,2.195675 7.300525,6.916768 2.563921,4.721092 3.452303,9.27875 1.984256,10.179816 l -7.632608,4.684783 -9.284782,-17.096585 z"
|
||||
id="path11" />
|
||||
<path
|
||||
style="fill:none;stroke:#fce94f;stroke-width:0.920557;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4.5;stroke-dashoffset:20.4;stroke-opacity:1"
|
||||
d="m 42.745026,37.628573 c 1.618196,0.04293 4.005615,2.644344 6.569538,7.365438 2.563921,4.721091 3.27835,7.831285 2.715243,9.731146"
|
||||
id="path12" />
|
||||
<ellipse
|
||||
style="fill:#fce94f;stroke:#302b00;stroke-width:0.806052;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4.5;stroke-dasharray:none;stroke-dashoffset:20.4;stroke-opacity:1"
|
||||
id="ellipse12"
|
||||
cx="-64.233864"
|
||||
cy="17.839087"
|
||||
rx="10.611865"
|
||||
ry="3.4307916"
|
||||
transform="matrix(-0.47724187,-0.87877198,0.85226618,-0.52310837,0,0)" />
|
||||
<path
|
||||
style="fill:url(#linearGradient1);fill-opacity:1;stroke:#729fcf;stroke-width:0.920557;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4.5;stroke-dashoffset:20.4;stroke-opacity:1"
|
||||
d="m 43.694101,36.88643 c 1.468047,-0.901066 4.736602,2.195675 7.300525,6.916768 2.563922,4.721091 3.589396,9.354221 2.121349,10.255286"
|
||||
id="path1" />
|
||||
<g
|
||||
id="g3"
|
||||
transform="matrix(-0.23113431,-0.42560046,0.40033637,-0.24572054,40.478828,68.374637)"
|
||||
style="stroke-width:1.05775">
|
||||
<path
|
||||
style="fill:#fce94f;stroke:#302b00;stroke-width:1.93138;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4.5;stroke-dashoffset:20.4;stroke-opacity:1"
|
||||
d="m 53.556993,35.317428 c 0,4.033737 -9.809971,7.303728 -21.911183,7.303728 -12.101212,0 -21.9111824,-3.269991 -21.9111824,-7.303728 l -1.8e-6,-21.821485 H 53.556992 Z"
|
||||
id="path2994-3" />
|
||||
<path
|
||||
style="fill:url(#linearGradient3807);fill-opacity:1;stroke:#fce94f;stroke-width:1.93138;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4.5;stroke-dashoffset:20.4;stroke-opacity:1"
|
||||
d="m 51.73106,34.155472 c 0,3.667033 -8.992468,6.639752 -20.085251,6.639752 -11.092778,0 -20.085251,-2.972719 -20.085251,-6.639752 l -1e-6,-19.06549 H 51.73106 Z"
|
||||
id="path2994-3-6" />
|
||||
<path
|
||||
style="fill:none;stroke:#fce94f;stroke-width:1.93138;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4.5;stroke-dashoffset:20.4;stroke-opacity:1"
|
||||
d="m 51.73106,17.314424 c -1.825932,2.987888 -8.992468,4.81382 -20.085251,4.81382 -11.092778,0 -17.346353,-1.825932 -20.085251,-4.81382"
|
||||
id="path2994-3-6-9" />
|
||||
<ellipse
|
||||
style="fill:#fce94f;stroke:#302b00;stroke-width:1.68995;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4.5;stroke-dasharray:none;stroke-dashoffset:20.4;stroke-opacity:1"
|
||||
id="path2994"
|
||||
cx="31.645807"
|
||||
cy="13.495944"
|
||||
rx="21.911182"
|
||||
ry="7.3037271" />
|
||||
</g>
|
||||
<g
|
||||
id="g3894"
|
||||
transform="matrix(-0.28197722,0.1854423,-0.1854423,-0.28197722,63.457932,47.485473)">
|
||||
<path
|
||||
id="path3034"
|
||||
style="fill:#cc0000;stroke:#280000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1"
|
||||
d="m 39.727861,59.856357 -7.931696,1.051156 16.468003,13.415414 9.308602,-16.824452 -7.931071,1.047948 c 0,0 -4.769344,-11.438514 -4.482124,-23.814377 0.28722,-12.375864 2.122864,-21.560053 5.002308,-27.8806611 L 58.035007,8.2705416 49.401308,-9.8243533 32.447357,3.658281 40.32048,5.0774383 c -2.215519,7.1939257 -4.944461,17.7161567 -5.097129,29.4339847 -0.152668,11.717827 4.50451,25.344934 4.50451,25.344934 z" />
|
||||
<path
|
||||
id="path3034-3"
|
||||
style="fill:none;stroke:#ef2929;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||
d="M 42.294596,61.458559 36.569302,62.26303 47.6973,71.281842 53.888294,59.977938 47.993171,60.40505 c 0,0 -5.098096,-12.019738 -4.755572,-25.591292 C 43.580123,21.242204 44.972361,12.57644 49.056995,4.8823104 L 54.501933,5.7523283 48.673377,-6.64344 37.040489,2.5499919 l 5.69744,1.262008 C 40.115582,12.087163 37.884178,20.2052 37.277916,34.520587 c -0.606263,14.315386 5.01668,26.937972 5.01668,26.937972 z" />
|
||||
</g>
|
||||
<g
|
||||
id="g1-2"
|
||||
inkscape:label="Part"
|
||||
transform="matrix(0.46639319,0,0,0.46639319,32.200343,1.1012781)">
|
||||
<path
|
||||
style="fill:#fce94f;stroke:#302b00;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4.5;stroke-dashoffset:20.4;stroke-opacity:1"
|
||||
d="m 56.000001,52.8038 c 0,4.418278 -10.745166,8 -24,8 -13.254833,0 -23.9999985,-3.581722 -23.9999985,-8 l -2e-6,-22.788679 L 56,30.015122 Z"
|
||||
id="path2994-3-4"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="sscccs" />
|
||||
<path
|
||||
style="fill:url(#linearGradient2);fill-opacity:1;stroke:#fce94f;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4.5;stroke-dashoffset:20.4;stroke-opacity:1"
|
||||
d="m 54,51.531073 c 0,4.016616 -9.84973,7.272727 -22,7.272727 -12.150264,0 -21.999999,-3.256111 -21.999999,-7.272727 l -1.5e-6,-17.675951 H 54 Z"
|
||||
id="path2994-3-6-5"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="sscccs" />
|
||||
<path
|
||||
style="fill:none;stroke:#fce94f;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4.5;stroke-dashoffset:20.4;stroke-opacity:1"
|
||||
d="m 53.883463,36.735122 c -2.106548,1.373238 -5.918402,2.880001 -9.403465,3.127242 l -0.005,9.10552 c 0,0 -4.321609,1.454482 -12.474967,1.454482 -8.153358,0 -12.5599,-1.348891 -12.5599,-1.348891 l 0.07989,-9.211111 c -2.251676,-0.247241 -6.445502,-1.207241 -9.370239,-3.127242"
|
||||
id="path2994-3-6-9-5"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="ccczccc" />
|
||||
<ellipse
|
||||
style="fill:#fce94f;stroke:#302b00;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4.5;stroke-dasharray:none;stroke-dashoffset:20.4;stroke-opacity:1"
|
||||
id="path2994-1"
|
||||
cx="32"
|
||||
cy="31.700123"
|
||||
ry="7.9999995"
|
||||
rx="24" />
|
||||
</g>
|
||||
<path
|
||||
d="m 52.040371,18.21664 0.01255,4.919407 c 0,0 -1.478401,0.544511 -4.927996,0.520661 -3.449596,-0.02385 -4.928002,-0.520661 -4.928002,-0.520661 l -0.01084,-4.923169"
|
||||
style="fill:none;fill-opacity:1;stroke:#302b00;stroke-width:1.03602;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4.5;stroke-dashoffset:20.4;stroke-opacity:1"
|
||||
id="path1-6"
|
||||
sodipodi:nodetypes="ccscc" />
|
||||
<path
|
||||
style="fill:#729fcf;fill-opacity:1;stroke:#0b1521;stroke-width:0.932786;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4.5;stroke-dashoffset:20.4;stroke-opacity:1"
|
||||
d="m 58.318362,15.100126 c -10e-7,1.531479 -2.768068,2.847452 -6.727467,3.42234 l 0.0114,4.045106 c 0,0 -1.343214,0.447737 -4.477373,0.428126 -3.134159,-0.01961 -4.477378,-0.428126 -4.477378,-0.428126 l -0.0098,-4.0482 C 38.689693,17.942866 35.931526,16.628863 35.931526,15.100126 V 8.0909575 h 22.386873 z"
|
||||
id="path1-1"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="scczcccccs" />
|
||||
<path
|
||||
style="fill:url(#linearGradient3807-8);fill-opacity:1;stroke:#729fcf;stroke-width:0.783541;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4.5;stroke-dasharray:none;stroke-dashoffset:20.4;stroke-opacity:1"
|
||||
d="m 57.422886,14.652388 c 0.0089,1.461235 -2.759506,2.658723 -6.678752,3.135924 V 21.722 c 0,0 -1.048334,0.363129 -3.619211,0.363129 -2.570876,0 -3.544589,-0.267179 -3.544589,-0.267179 v -3.952999 c -3.837888,-0.49083 -6.678748,-1.770602 -6.678748,-3.212563 l -0.03731,-6.0976626 h 20.5213 z"
|
||||
id="path2"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="scczcccccs" />
|
||||
<path
|
||||
style="fill:none;stroke:#729fcf;stroke-width:0.932786;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4.5;stroke-dashoffset:20.4;stroke-opacity:1"
|
||||
d="m 57.385575,10.07277 c -0.932786,1.526377 -4.593847,2.459164 -10.26065,2.459164 -5.6668,0 -8.861471,-0.932787 -10.26065,-2.459164"
|
||||
id="path3"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="csc" />
|
||||
<ellipse
|
||||
style="fill:#729fcf;fill-opacity:1;stroke:#0b1521;stroke-width:0.816188;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4.5;stroke-dasharray:none;stroke-dashoffset:20.4;stroke-opacity:1"
|
||||
id="ellipse3"
|
||||
cx="47.124924"
|
||||
cy="7.9952431"
|
||||
rx="11.193437"
|
||||
ry="3.7311454" />
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 18 KiB |
1434
src/Mod/Assembly/Gui/Resources/icons/Assembly_SimulationGroup.svg
Normal file
|
After Width: | Height: | Size: 82 KiB |
270
src/Mod/Assembly/Gui/Resources/icons/Assembly_SolveAssembly.svg
Executable file
@@ -0,0 +1,270 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
width="64"
|
||||
height="64"
|
||||
id="svg3559"
|
||||
version="1.1"
|
||||
viewBox="0 0 64 64"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/">
|
||||
<defs
|
||||
id="defs3561">
|
||||
<linearGradient
|
||||
id="linearGradient4383-3">
|
||||
<stop
|
||||
id="stop73188"
|
||||
offset="0"
|
||||
style="stop-color:#3465a4;stop-opacity:1" />
|
||||
<stop
|
||||
id="stop73190"
|
||||
offset="1"
|
||||
style="stop-color:#729fcf;stop-opacity:1" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient3774">
|
||||
<stop
|
||||
style="stop-color:#4e9a06;stop-opacity:1"
|
||||
offset="0"
|
||||
id="stop3776" />
|
||||
<stop
|
||||
style="stop-color:#8ae234;stop-opacity:1"
|
||||
offset="1"
|
||||
id="stop3778" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient2380">
|
||||
<stop
|
||||
style="stop-color:#729fcf;stop-opacity:1"
|
||||
offset="0"
|
||||
id="stop2382" />
|
||||
<stop
|
||||
style="stop-color:#3465a4;stop-opacity:1"
|
||||
offset="1"
|
||||
id="stop2384" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient4399-70"
|
||||
x1="48.714001"
|
||||
x2="44.714001"
|
||||
y1="45.585999"
|
||||
y2="34.585999"
|
||||
gradientTransform="translate(1.2856,1.4142)"
|
||||
gradientUnits="userSpaceOnUse">
|
||||
<stop
|
||||
stop-color="#c4a000"
|
||||
offset="0"
|
||||
id="stop8" />
|
||||
<stop
|
||||
stop-color="#edd400"
|
||||
offset="1"
|
||||
id="stop10" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient69709"
|
||||
x1="20.243999"
|
||||
x2="17.243999"
|
||||
y1="37.588001"
|
||||
y2="27.587999"
|
||||
gradientTransform="matrix(1,-0.026667,0,1,81.696,-5.3735)"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
xlink:href="#linearGradient4383-3" />
|
||||
<linearGradient
|
||||
id="linearGradient4389-9"
|
||||
x1="20.243999"
|
||||
x2="17.243999"
|
||||
y1="37.588001"
|
||||
y2="27.587999"
|
||||
gradientTransform="translate(-1.2435,-2.5881)"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
xlink:href="#linearGradient3774" />
|
||||
<linearGradient
|
||||
id="linearGradient69042-0"
|
||||
x1="48.714001"
|
||||
x2="44.714001"
|
||||
y1="45.585999"
|
||||
y2="34.585999"
|
||||
gradientTransform="translate(-12.714,-17.586)"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
xlink:href="#linearGradient3774" />
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient4399-70"
|
||||
id="linearGradient922"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="translate(-52.714,-17.586)"
|
||||
x1="48.714001"
|
||||
y1="45.585999"
|
||||
x2="44.714001"
|
||||
y2="34.585999" />
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient2380"
|
||||
id="linearGradient3034-7"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
x1="41.791897"
|
||||
y1="20.134634"
|
||||
x2="23.705669"
|
||||
y2="34.083359"
|
||||
gradientTransform="matrix(-0.82942185,-0.69481004,-0.70076106,0.82237821,78.689134,17.828742)" />
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient2380"
|
||||
id="linearGradient3034-4-9"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
x1="26.221533"
|
||||
y1="31.125586"
|
||||
x2="46.731483"
|
||||
y2="21.766298"
|
||||
gradientTransform="matrix(0.82942185,0.69481004,0.70076106,-0.82237821,-14.689134,46.171259)" />
|
||||
</defs>
|
||||
<metadata
|
||||
id="metadata3564">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:date>2015-07-04</dc:date>
|
||||
<dc:relation>https://www.freecad.org/wiki/index.php?title=Artwork</dc:relation>
|
||||
<dc:publisher>
|
||||
<cc:Agent>
|
||||
<dc:title>FreeCAD</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:publisher>
|
||||
<dc:identifier>FreeCAD/src/Mod/Path/Gui/Resources/icons/Path-Stock.svg</dc:identifier>
|
||||
<dc:rights>
|
||||
<cc:Agent>
|
||||
<dc:title>FreeCAD LGPL2+</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:rights>
|
||||
<cc:license>https://www.gnu.org/copyleft/lesser.html</cc:license>
|
||||
<dc:contributor>
|
||||
<cc:Agent>
|
||||
<dc:title>[agryson] Alexander Gryson</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:contributor>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
id="layer1">
|
||||
<g
|
||||
id="g1124"
|
||||
transform="matrix(1.0964113,0,0,1.0964113,-13.226965,60.643745)"
|
||||
style="opacity:1">
|
||||
<g
|
||||
id="g40"
|
||||
style="stroke-width:2"
|
||||
transform="translate(9.249999,-58.229485)">
|
||||
<path
|
||||
d="M 9,49 V 35 l 28,10 v 14 z"
|
||||
id="path30"
|
||||
style="fill:#babdb6;stroke:#0b1e23;stroke-linejoin:round;stroke-opacity:1" />
|
||||
<path
|
||||
d="M 37,59 V 45 L 55,28 v 13 z"
|
||||
id="path32"
|
||||
style="fill:#babdb6;stroke:#0b1e23;stroke-linejoin:round;stroke-opacity:1" />
|
||||
<path
|
||||
d="M 11.008,47.606 11,37.9997 l 24,8 0.0081,10.185 z"
|
||||
id="path34"
|
||||
style="fill:#888a85;stroke:#babdb6" />
|
||||
<path
|
||||
d="M 39.005,54.168 39,45.9998 l 14,-13 0.0021,7.1768 z"
|
||||
id="path36"
|
||||
style="fill:#888a85;stroke:#babdb6" />
|
||||
<path
|
||||
d="M 23,40 42,23 55,28 37,45 Z"
|
||||
id="path38"
|
||||
style="fill:#d3d7cf;stroke:#0b1e23;stroke-linejoin:round;stroke-opacity:1" />
|
||||
</g>
|
||||
<g
|
||||
id="g943"
|
||||
transform="translate(-50.750001,-58.229485)">
|
||||
<path
|
||||
d="m 91,33.5 -0.02739,-14.214 12.967,4.3352 v 14.5 z"
|
||||
id="path54"
|
||||
style="fill:url(#linearGradient69709);stroke:#0b1e23;stroke-width:2;stroke-linejoin:round;stroke-opacity:1" />
|
||||
<path
|
||||
d="m 92.927,32.029 0.04731,-10.141 8.9272,3.29 0.0781,10.042 z"
|
||||
id="path56"
|
||||
style="fill:#888a85;stroke:#babdb6;stroke-width:2" />
|
||||
<path
|
||||
d="m 103.94,38.121 v -14.5 l 11,-9 L 115,28 Z"
|
||||
id="path58"
|
||||
style="fill:#edd400;stroke:#0b1e23;stroke-width:2;stroke-linejoin:round;stroke-opacity:1" />
|
||||
<path
|
||||
d="m 105.94,33.621 v -9 l 7,-6 -0.0122,8.5816 z"
|
||||
id="path60"
|
||||
style="fill:#888a85;stroke:#babdb6;stroke-width:2" />
|
||||
<path
|
||||
d="M 90.973,19.286 102,9.9998 l 12.94,4.6214 -11,9 z"
|
||||
id="path62"
|
||||
style="fill:#d3d7cf;stroke:#0b1e23;stroke-width:2;stroke-linejoin:round;stroke-opacity:1" />
|
||||
</g>
|
||||
<g
|
||||
id="g963"
|
||||
transform="translate(49.249999,-58.229485)">
|
||||
<g
|
||||
style="stroke:#172a04;stroke-width:2;stroke-linejoin:round"
|
||||
transform="translate(-40)"
|
||||
id="g48">
|
||||
<path
|
||||
style="fill:url(#linearGradient4389-9)"
|
||||
id="path42"
|
||||
d="M 9,35 V 21 l 14,5 v 14 z" />
|
||||
<path
|
||||
style="fill:#8ae234"
|
||||
id="path44"
|
||||
d="M 9,21 28.585,5.209 42,10.0001 l -19,16 z" />
|
||||
<path
|
||||
style="fill:url(#linearGradient69042-0)"
|
||||
id="path46"
|
||||
d="M 23,40 V 26 l 7.9726,-6.7138 0.02739,13.714 z" />
|
||||
</g>
|
||||
<path
|
||||
style="fill:#888a85;fill-opacity:1;stroke:#0b1e23;stroke-width:2;stroke-linejoin:round;stroke-opacity:1"
|
||||
id="path912"
|
||||
d="M -31,35 V 21 l 14,5 v 14 z" />
|
||||
<path
|
||||
style="fill:#d3d7cf;fill-opacity:1;stroke:#0b1e23;stroke-width:2;stroke-linejoin:round;stroke-opacity:1"
|
||||
id="path914"
|
||||
d="M -31,21 -11.415,5.209 2,10.0001 l -19,16 z" />
|
||||
<path
|
||||
style="fill:url(#linearGradient922);fill-opacity:1;stroke:#0b1e23;stroke-width:2;stroke-linejoin:round;stroke-opacity:1"
|
||||
id="path916"
|
||||
d="M -17,40 V 26 l 7.9726,-6.7138 0.02739,13.714 z" />
|
||||
<path
|
||||
d="m -15,36 v -9 l 4,-3.5 v 9 z"
|
||||
id="path50"
|
||||
style="fill:#888a85;stroke:#babdb6;stroke-width:2;stroke-opacity:1" />
|
||||
<path
|
||||
d="m -29.049,33.746 0.08695,-9.9796 9.9568,3.5229 -0.02105,9.9613 z"
|
||||
id="path52"
|
||||
style="fill:none;stroke:#babdb6;stroke-width:2;stroke-opacity:1" />
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<g
|
||||
id="layer3"
|
||||
style="display:inline;stroke-width:1.00001"
|
||||
transform="matrix(0.99999395,0,0,0.99999769,1.9375e-4,7.39671e-5)">
|
||||
<path
|
||||
style="color:#000000;display:block;overflow:visible;visibility:visible;fill:url(#linearGradient3034-7);fill-opacity:1;fill-rule:nonzero;stroke:#0c1522;stroke-width:2.00001;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none"
|
||||
d="M 6.7411068,28.35175 C 1.4831503,3.6363838 28.09784,-5.6492191 51.300453,12.499428 L 58.138947,5.0555856 58.001843,29.387215 36.57066,29.365336 c 0,0 7.133319,-7.951066 7.133319,-7.951066 C 27.386121,9.1527 6.487378,10.070587 6.7411068,28.35175 Z"
|
||||
id="path1880" />
|
||||
<path
|
||||
id="path2807"
|
||||
d="M 8.9327084,16.531664 C 10.778287,7.0872986 29.562949,-3.0013417 51.45955,15.429377 l 4.588842,-4.832097 -0.19413,16.695009 -14.599448,0.0047 5.534397,-6.0237 C 33.264206,10.416141 16.345195,7.4769202 8.9327084,16.531664 Z"
|
||||
style="color:#000000;display:block;overflow:visible;visibility:visible;fill:none;stroke:#729fcf;stroke-width:2.00001;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:21;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none" />
|
||||
<path
|
||||
style="color:#000000;display:block;overflow:visible;visibility:visible;fill:url(#linearGradient3034-4-9);fill-opacity:1;fill-rule:nonzero;stroke:#0c1522;stroke-width:2.00001;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none"
|
||||
d="M 57.258893,35.64825 C 62.516849,60.363616 35.90216,69.649219 12.699547,51.500572 l -6.8384943,7.443843 0.1371039,-24.33163 21.4311834,0.02188 c 0,0 -7.13332,7.951066 -7.13332,7.951066 16.317859,12.26157 37.216602,11.343683 36.962873,-6.93748 z"
|
||||
id="path1880-2" />
|
||||
<path
|
||||
id="path2807-5"
|
||||
d="M 55.067292,47.468336 C 53.683665,57.143642 34.437051,67.001342 12.54045,48.570623 l -4.5888419,4.832097 0.19413,-16.695009 14.5994479,-0.0047 -5.534397,6.0237 c 13.525005,10.857147 30.444015,13.796366 37.856503,4.741623 z"
|
||||
style="color:#000000;display:block;overflow:visible;visibility:visible;fill:none;stroke:#729fcf;stroke-width:2.00001;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:21;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none" />
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 10 KiB |
441
src/Mod/Assembly/Gui/Resources/icons/Assembly_ToggleGrounded.svg
Normal file
@@ -0,0 +1,441 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
width="64px"
|
||||
height="64px"
|
||||
id="svg2821"
|
||||
sodipodi:version="0.32"
|
||||
inkscape:version="1.3 (0e150ed6c4, 2023-07-21)"
|
||||
sodipodi:docname="Assembly_FixObject.svg"
|
||||
inkscape:output_extension="org.inkscape.output.svg.inkscape"
|
||||
version="1.1"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/">
|
||||
<defs
|
||||
id="defs2823">
|
||||
<radialGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient3377"
|
||||
id="radialGradient3701"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
cx="84.883324"
|
||||
cy="77.042847"
|
||||
fx="84.883324"
|
||||
fy="77.042847"
|
||||
r="19.467436"
|
||||
gradientTransform="matrix(2.8492421,1.2585119,-0.4040415,0.9147407,-125.84131,-100.25805)" />
|
||||
<linearGradient
|
||||
id="linearGradient3377">
|
||||
<stop
|
||||
id="stop3379"
|
||||
offset="0"
|
||||
style="stop-color:#faff2b;stop-opacity:1;" />
|
||||
<stop
|
||||
id="stop3381"
|
||||
offset="1"
|
||||
style="stop-color:#ffaa00;stop-opacity:1;" />
|
||||
</linearGradient>
|
||||
<radialGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient3377"
|
||||
id="radialGradient3699"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
cx="76.383331"
|
||||
cy="94.369568"
|
||||
fx="76.383331"
|
||||
fy="94.369568"
|
||||
r="19.467436"
|
||||
gradientTransform="matrix(0.9818943,0.1894295,-0.4109427,2.1300924,40.163453,-121.11559)" />
|
||||
<inkscape:perspective
|
||||
sodipodi:type="inkscape:persp3d"
|
||||
inkscape:vp_x="0 : 32 : 1"
|
||||
inkscape:vp_y="0 : 1000 : 0"
|
||||
inkscape:vp_z="64 : 32 : 1"
|
||||
inkscape:persp3d-origin="32 : 21.333333 : 1"
|
||||
id="perspective2829" />
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient3801-5"
|
||||
id="linearGradient3807-7"
|
||||
x1="110"
|
||||
y1="35"
|
||||
x2="85"
|
||||
y2="35"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
spreadMethod="reflect"
|
||||
gradientTransform="translate(-62,-16)" />
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
id="linearGradient3801-5">
|
||||
<stop
|
||||
style="stop-color:#c4a000;stop-opacity:1"
|
||||
offset="0"
|
||||
id="stop3803-3" />
|
||||
<stop
|
||||
style="stop-color:#fce94f;stop-opacity:1"
|
||||
offset="1"
|
||||
id="stop3805-5" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient3838"
|
||||
id="linearGradient3844"
|
||||
x1="2802.9631"
|
||||
y1="538.36249"
|
||||
x2="2859.7263"
|
||||
y2="786.05646"
|
||||
gradientUnits="userSpaceOnUse" />
|
||||
<linearGradient
|
||||
id="linearGradient3838">
|
||||
<stop
|
||||
style="stop-color:#34e0e2;stop-opacity:1"
|
||||
offset="0"
|
||||
id="stop3840" />
|
||||
<stop
|
||||
style="stop-color:#06989a;stop-opacity:1"
|
||||
offset="1"
|
||||
id="stop3842" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
y2="786.05646"
|
||||
x2="2859.7263"
|
||||
y1="538.36249"
|
||||
x1="2802.9631"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
id="linearGradient3045"
|
||||
xlink:href="#linearGradient3172" />
|
||||
<linearGradient
|
||||
id="linearGradient3172">
|
||||
<stop
|
||||
id="stop3174"
|
||||
offset="0"
|
||||
style="stop-color:#ef2929;stop-opacity:1" />
|
||||
<stop
|
||||
id="stop3176"
|
||||
offset="1"
|
||||
style="stop-color:#a40000;stop-opacity:1" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient3172"
|
||||
id="linearGradient3880"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
x1="2802.9631"
|
||||
y1="626.0874"
|
||||
x2="2849.4058"
|
||||
y2="822.17853" />
|
||||
<linearGradient
|
||||
id="linearGradient69056"
|
||||
x1="27.243999"
|
||||
x2="22.243999"
|
||||
y1="54.588001"
|
||||
y2="40.588001"
|
||||
gradientTransform="translate(-1.2435,-2.5881)"
|
||||
gradientUnits="userSpaceOnUse">
|
||||
<stop
|
||||
stop-color="#c4a000"
|
||||
offset="0"
|
||||
id="stop14" />
|
||||
<stop
|
||||
stop-color="#fce94f"
|
||||
offset="1"
|
||||
id="stop16" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient4399"
|
||||
x1="48.714001"
|
||||
x2="44.714001"
|
||||
y1="45.585999"
|
||||
y2="34.585999"
|
||||
gradientTransform="translate(1.2856,1.4142)"
|
||||
gradientUnits="userSpaceOnUse">
|
||||
<stop
|
||||
stop-color="#c4a000"
|
||||
offset="0"
|
||||
id="stop8" />
|
||||
<stop
|
||||
stop-color="#edd400"
|
||||
offset="1"
|
||||
id="stop10" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient69056"
|
||||
id="linearGradient920"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="translate(-1.2435,-2.5881)"
|
||||
x1="20.243999"
|
||||
y1="37.588001"
|
||||
x2="17.243999"
|
||||
y2="27.587999" />
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient73208"
|
||||
id="linearGradient69042-3"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="translate(-12.714351,-17.585786)"
|
||||
x1="48.714352"
|
||||
y1="45.585785"
|
||||
x2="46.714352"
|
||||
y2="35.585785" />
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
id="linearGradient73208">
|
||||
<stop
|
||||
style="stop-color:#c4a000;stop-opacity:1"
|
||||
offset="0"
|
||||
id="stop73210" />
|
||||
<stop
|
||||
style="stop-color:#edd400;stop-opacity:1"
|
||||
offset="1"
|
||||
id="stop73212" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient69056"
|
||||
id="linearGradient3"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="translate(-1.2435,-2.5881)"
|
||||
x1="27.243999"
|
||||
y1="54.588001"
|
||||
x2="22.243999"
|
||||
y2="40.588001" />
|
||||
</defs>
|
||||
<sodipodi:namedview
|
||||
id="base"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:zoom="7.2080075"
|
||||
inkscape:cx="39.469992"
|
||||
inkscape:cy="21.226393"
|
||||
inkscape:current-layer="layer1"
|
||||
showgrid="true"
|
||||
inkscape:document-units="px"
|
||||
inkscape:grid-bbox="true"
|
||||
inkscape:window-width="2560"
|
||||
inkscape:window-height="1356"
|
||||
inkscape:window-x="0"
|
||||
inkscape:window-y="0"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:showpageshadow="2"
|
||||
inkscape:pagecheckerboard="0"
|
||||
inkscape:deskcolor="#d1d1d1">
|
||||
<inkscape:grid
|
||||
type="xygrid"
|
||||
id="grid2992"
|
||||
empspacing="2"
|
||||
visible="true"
|
||||
enabled="true"
|
||||
snapvisiblegridlinesonly="true"
|
||||
originx="0"
|
||||
originy="0"
|
||||
spacingy="1"
|
||||
spacingx="1"
|
||||
units="px" />
|
||||
</sodipodi:namedview>
|
||||
<metadata
|
||||
id="metadata2826">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:creator>
|
||||
<cc:Agent>
|
||||
<dc:title>[wmayer]</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:creator>
|
||||
<dc:title>Part_Cylinder</dc:title>
|
||||
<dc:date>2011-10-10</dc:date>
|
||||
<dc:relation>http://www.freecad.org/wiki/index.php?title=Artwork</dc:relation>
|
||||
<dc:publisher>
|
||||
<cc:Agent>
|
||||
<dc:title>FreeCAD</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:publisher>
|
||||
<dc:identifier>FreeCAD/src/Mod/Part/Gui/Resources/icons/Part_Cylinder.svg</dc:identifier>
|
||||
<dc:rights>
|
||||
<cc:Agent>
|
||||
<dc:title>FreeCAD LGPL2+</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:rights>
|
||||
<cc:license>https://www.gnu.org/copyleft/lesser.html</cc:license>
|
||||
<dc:contributor>
|
||||
<cc:Agent>
|
||||
<dc:title>[agryson] Alexander Gryson</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:contributor>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
id="layer1"
|
||||
inkscape:label="Layer 1"
|
||||
inkscape:groupmode="layer">
|
||||
<g
|
||||
id="g1"
|
||||
transform="matrix(1.0462449,0,0,1.0462449,-1.4798357,-1.6196228)">
|
||||
<g
|
||||
id="g40"
|
||||
style="stroke-width:2">
|
||||
<path
|
||||
d="M 9,49 V 35 l 28,10 v 14 z"
|
||||
id="path30"
|
||||
style="fill:url(#linearGradient3);stroke:#302b00;stroke-linejoin:round"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
d="M 37,59 V 45 L 55,28 v 13 z"
|
||||
id="path32"
|
||||
style="fill:url(#linearGradient4399);stroke:#302b00;stroke-linejoin:round"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
d="M 11.008,47.606 11,37.9997 l 24,8 0.0081,10.185 z"
|
||||
id="path34"
|
||||
inkscape:connector-curvature="0"
|
||||
style="fill:none;stroke:#fce94f" />
|
||||
<path
|
||||
d="M 39.005,54.168 39,45.9998 l 14,-13 0.0021,7.1768 z"
|
||||
id="path36"
|
||||
inkscape:connector-curvature="0"
|
||||
style="fill:none;stroke:#edd400" />
|
||||
<path
|
||||
d="M 23,40 42,23 55,28 37,45 Z"
|
||||
id="path38"
|
||||
inkscape:connector-curvature="0"
|
||||
style="fill:#fce94f;stroke:#302b00;stroke-linejoin:round" />
|
||||
</g>
|
||||
<g
|
||||
display="none"
|
||||
fill="#ef2929"
|
||||
fill-rule="evenodd"
|
||||
opacity="0.588"
|
||||
stroke="#ef2929"
|
||||
stroke-width="1px"
|
||||
id="g94">
|
||||
<path
|
||||
d="M 9,35 V 49"
|
||||
id="path66" />
|
||||
<path
|
||||
d="M 9,35 37,45"
|
||||
id="path68" />
|
||||
<path
|
||||
d="M 55,28 V 41"
|
||||
id="path70" />
|
||||
<path
|
||||
d="M 37,45 55,28"
|
||||
id="path72" />
|
||||
<path
|
||||
d="M 23,40 V 26"
|
||||
id="path74" />
|
||||
<path
|
||||
d="m 29,5 13,5"
|
||||
id="path76" />
|
||||
<path
|
||||
d="M 23,26 42,10"
|
||||
id="path78" />
|
||||
<path
|
||||
d="M 19,13 29,5"
|
||||
id="path80" />
|
||||
<path
|
||||
d="m 55,15 -9,8"
|
||||
id="path82" />
|
||||
<path
|
||||
d="M 42,23 V 10"
|
||||
id="path84" />
|
||||
<path
|
||||
d="m 42,23 14,5"
|
||||
id="path86" />
|
||||
<path
|
||||
d="M 23,40 42,23"
|
||||
id="path88" />
|
||||
<path
|
||||
d="M 23,10 H 42"
|
||||
id="path90" />
|
||||
<path
|
||||
d="M 34,17 V 30"
|
||||
id="path92" />
|
||||
</g>
|
||||
<path
|
||||
d="M 9,35 V 21 l 14,5 v 14 z"
|
||||
id="path912"
|
||||
style="fill:url(#linearGradient920);fill-opacity:1;stroke:#172a04;stroke-width:2;stroke-linejoin:round"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
d="M 9,21 28.585,5.209 42,10.0001 l -19,16 z"
|
||||
id="path914"
|
||||
inkscape:connector-curvature="0"
|
||||
style="fill:#fce94f;fill-opacity:1;stroke:#172a04;stroke-width:2;stroke-linejoin:round;stroke-opacity:1" />
|
||||
<path
|
||||
style="fill:none;stroke:#fce94f;stroke-width:2;stroke-opacity:1"
|
||||
inkscape:connector-curvature="0"
|
||||
id="path52"
|
||||
d="m 10.951,33.746 0.08695,-9.9796 9.9568,3.5229 -0.02105,9.9613 z" />
|
||||
<path
|
||||
sodipodi:nodetypes="ccccc"
|
||||
inkscape:connector-curvature="0"
|
||||
id="path69040"
|
||||
d="M 23,40 V 26 L 42,10 v 13 z"
|
||||
style="fill:url(#linearGradient69042-3);fill-opacity:1;fill-rule:nonzero;stroke:#302b00;stroke-width:2;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none" />
|
||||
<path
|
||||
sodipodi:nodetypes="ccccc"
|
||||
inkscape:connector-curvature="0"
|
||||
id="path69044-6"
|
||||
d="M 25,36 V 27 L 40,14 v 8 z"
|
||||
style="fill:none;stroke:#edd400;stroke-width:2;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none" />
|
||||
</g>
|
||||
<g
|
||||
transform="matrix(0.58573981,0,0,1.0757034,6.6270859,6.5711408)"
|
||||
style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:54.2152px;font-family:Arial;-inkscape-font-specification:Arial;display:inline;overflow:visible;visibility:visible;fill:#ff2600;fill-opacity:1;fill-rule:nonzero;stroke:#731200;stroke-width:2.51469;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;enable-background:accumulate"
|
||||
id="text3796"
|
||||
inkscape:label="Lock">
|
||||
<g
|
||||
transform="matrix(0.26232603,0,0,0.14315619,-698.74089,-70.421371)"
|
||||
id="g2385"
|
||||
style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:54.2152px;font-family:Arial;-inkscape-font-specification:Arial;display:inline;overflow:visible;visibility:visible;fill:url(#linearGradient3844);fill-opacity:1;fill-rule:nonzero;stroke:#042a2a;stroke-width:11.8436;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;enable-background:accumulate">
|
||||
<path
|
||||
style="display:inline;overflow:visible;visibility:visible;fill:url(#linearGradient3045);fill-opacity:1;fill-rule:evenodd;stroke:#280000;stroke-width:11.8436;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;enable-background:accumulate"
|
||||
d="m 2751.3603,595.12568 v 0 0 l -2e-4,46.44262 h 30.9618 l -0.2475,-47.17448 h -0.05 c 0.2977,-25.0696 20.9388,-45.71077 46.7403,-45.71077 25.8014,0 46.4426,20.64117 46.4421,46.44263 v 0 46.44262 h 30.9618 v -46.44262 0 c 5e-4,-41.28234 -25.801,-77.40438 -77.4039,-77.40438 -51.6029,0 -77.4044,36.12204 -77.4044,77.40438 z"
|
||||
id="path2387" />
|
||||
<rect
|
||||
style="display:inline;overflow:visible;visibility:visible;fill:url(#linearGradient3880);fill-opacity:1;fill-rule:evenodd;stroke:#280000;stroke-width:11.8436;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;enable-background:accumulate"
|
||||
id="rect2389"
|
||||
width="196.09097"
|
||||
height="154.80875"
|
||||
x="2730.7192"
|
||||
y="641.5683" />
|
||||
<rect
|
||||
style="display:inline;overflow:visible;visibility:visible;fill:none;stroke:#ef2929;stroke-width:11.8436;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;enable-background:accumulate"
|
||||
id="rect2389-0"
|
||||
width="175.44977"
|
||||
height="134.16759"
|
||||
x="2741.0398"
|
||||
y="651.88885" />
|
||||
</g>
|
||||
<path
|
||||
style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:54.2152px;font-family:Arial;-inkscape-font-specification:Arial;display:inline;overflow:visible;visibility:visible;fill:none;stroke:#a40000;stroke-width:4.59028;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;enable-background:accumulate"
|
||||
d="M 25.719895,26.594196 H 60.915549"
|
||||
id="path3777-7" />
|
||||
<path
|
||||
style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:54.2152px;font-family:Arial;-inkscape-font-specification:Arial;display:inline;overflow:visible;visibility:visible;fill:none;stroke:#a40000;stroke-width:4.59028;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;enable-background:accumulate"
|
||||
d="M 25.719921,32.504016 H 60.915574"
|
||||
id="path3777-3-5" />
|
||||
<path
|
||||
style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:54.2152px;font-family:Arial;-inkscape-font-specification:Arial;display:inline;overflow:visible;visibility:visible;fill:none;stroke:#a40000;stroke-width:4.59028;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;enable-background:accumulate"
|
||||
d="M 25.719921,38.413838 H 60.915574"
|
||||
id="path3777-6-3" />
|
||||
<path
|
||||
style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:54.2152px;font-family:Arial;-inkscape-font-specification:Arial;display:inline;overflow:visible;visibility:visible;fill:none;stroke:#ef2929;stroke-width:2.29514;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;enable-background:accumulate"
|
||||
d="m 25.719879,20.684376 v -6.648549 c 1.2e-5,-3.69364 5.414701,-8.8647326 17.597824,-8.8647334 12.183122,-7e-7 17.597835,5.1710934 17.597825,8.8647334 v 6.648549"
|
||||
id="path3828" />
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 17 KiB |
343
src/Mod/Assembly/Gui/Resources/icons/preferences-assembly.svg
Normal file
@@ -0,0 +1,343 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="64"
|
||||
height="64"
|
||||
version="1.1"
|
||||
viewBox="0 0 64 64"
|
||||
id="svg96"
|
||||
sodipodi:docname="Geofeaturegroup.svg"
|
||||
inkscape:version="0.92.5 (2060ec1f9f, 2020-04-08)">
|
||||
<sodipodi:namedview
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1"
|
||||
objecttolerance="10"
|
||||
gridtolerance="10"
|
||||
guidetolerance="10"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:window-width="1255"
|
||||
inkscape:window-height="930"
|
||||
id="namedview98"
|
||||
showgrid="false"
|
||||
inkscape:zoom="3.6875"
|
||||
inkscape:cx="32"
|
||||
inkscape:cy="32"
|
||||
inkscape:window-x="67"
|
||||
inkscape:window-y="23"
|
||||
inkscape:window-maximized="0"
|
||||
inkscape:current-layer="svg96" />
|
||||
<defs
|
||||
id="defs26">
|
||||
<linearGradient
|
||||
id="linearGradient4383">
|
||||
<stop
|
||||
stop-color="#3465a4"
|
||||
offset="0"
|
||||
id="stop2" />
|
||||
<stop
|
||||
stop-color="#729fcf"
|
||||
offset="1"
|
||||
id="stop4" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient4389"
|
||||
x1="20.244"
|
||||
x2="17.244"
|
||||
y1="37.588"
|
||||
y2="27.588"
|
||||
gradientTransform="translate(-1.2435,-2.5881)"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
xlink:href="#linearGradient3774" />
|
||||
<linearGradient
|
||||
id="linearGradient4399"
|
||||
x1="48.714"
|
||||
x2="44.714"
|
||||
y1="45.586"
|
||||
y2="34.586"
|
||||
gradientTransform="translate(1.2856,1.4142)"
|
||||
gradientUnits="userSpaceOnUse">
|
||||
<stop
|
||||
stop-color="#c4a000"
|
||||
offset="0"
|
||||
id="stop8" />
|
||||
<stop
|
||||
stop-color="#edd400"
|
||||
offset="1"
|
||||
id="stop10" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient69042"
|
||||
x1="48.714"
|
||||
x2="44.714"
|
||||
y1="45.586"
|
||||
y2="34.586"
|
||||
gradientTransform="translate(-12.714,-17.586)"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
xlink:href="#linearGradient3774" />
|
||||
<linearGradient
|
||||
id="linearGradient69056"
|
||||
x1="27.244"
|
||||
x2="22.244"
|
||||
y1="54.588"
|
||||
y2="40.588"
|
||||
gradientTransform="translate(-1.2435,-2.5881)"
|
||||
gradientUnits="userSpaceOnUse">
|
||||
<stop
|
||||
stop-color="#c4a000"
|
||||
offset="0"
|
||||
id="stop14" />
|
||||
<stop
|
||||
stop-color="#fce94f"
|
||||
offset="1"
|
||||
id="stop16" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient69709"
|
||||
x1="20.244"
|
||||
x2="17.244"
|
||||
y1="37.588"
|
||||
y2="27.588"
|
||||
gradientTransform="matrix(1,-0.026667,0,1,81.696,-5.3735)"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
xlink:href="#linearGradient4383" />
|
||||
<linearGradient
|
||||
id="linearGradient69717"
|
||||
x1="50.714"
|
||||
x2="48.714"
|
||||
y1="25.586"
|
||||
y2="20.586"
|
||||
gradientTransform="translate(61.2256,1.0356)"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
xlink:href="#linearGradient4383" />
|
||||
<linearGradient
|
||||
id="linearGradient3774">
|
||||
<stop
|
||||
stop-color="#4e9a06"
|
||||
offset="0"
|
||||
id="stop21" />
|
||||
<stop
|
||||
stop-color="#8ae234"
|
||||
offset="1"
|
||||
id="stop23" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient69056"
|
||||
id="linearGradient920"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="translate(-41.2435,-2.5881)"
|
||||
x1="20.243999"
|
||||
y1="37.588001"
|
||||
x2="17.243999"
|
||||
y2="27.587999" />
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient4399"
|
||||
id="linearGradient922"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="translate(-52.714,-17.586)"
|
||||
x1="48.714001"
|
||||
y1="45.585999"
|
||||
x2="44.714001"
|
||||
y2="34.585999" />
|
||||
</defs>
|
||||
<metadata
|
||||
id="metadata28">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title />
|
||||
<dc:title>Path-Stock</dc:title>
|
||||
<dc:date>2015-07-04</dc:date>
|
||||
<dc:relation>https://www.freecad.org/wiki/index.php?title=Artwork</dc:relation>
|
||||
<dc:publisher>
|
||||
<cc:Agent>
|
||||
<dc:title>FreeCAD</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:publisher>
|
||||
<dc:identifier>FreeCAD/src/Mod/Path/Gui/Resources/icons/Path-Stock.svg</dc:identifier>
|
||||
<dc:rights>
|
||||
<cc:Agent>
|
||||
<dc:title>FreeCAD LGPL2+</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:rights>
|
||||
<cc:license>https://www.gnu.org/copyleft/lesser.html</cc:license>
|
||||
<dc:contributor>
|
||||
<cc:Agent>
|
||||
<dc:title>[agryson] Alexander Gryson</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:contributor>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
id="g40"
|
||||
style="stroke-width:2">
|
||||
<path
|
||||
d="M 9,49 V 35 l 28,10 v 14 z"
|
||||
id="path30"
|
||||
style="fill:url(#linearGradient69056);stroke:#302b00;stroke-linejoin:round"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
d="M 37,59 V 45 L 55,28 v 13 z"
|
||||
id="path32"
|
||||
style="fill:url(#linearGradient4399);stroke:#302b00;stroke-linejoin:round"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
d="M 11.008,47.606 11,37.9997 l 24,8 0.0081,10.185 z"
|
||||
id="path34"
|
||||
inkscape:connector-curvature="0"
|
||||
style="fill:none;stroke:#fce94f" />
|
||||
<path
|
||||
d="M 39.005,54.168 39,45.9998 l 14,-13 0.0021,7.1768 z"
|
||||
id="path36"
|
||||
inkscape:connector-curvature="0"
|
||||
style="fill:none;stroke:#edd400" />
|
||||
<path
|
||||
d="M 23,40 42,23 55,28 37,45 Z"
|
||||
id="path38"
|
||||
inkscape:connector-curvature="0"
|
||||
style="fill:#fce94f;stroke:#302b00;stroke-linejoin:round" />
|
||||
</g>
|
||||
<g
|
||||
id="g943"
|
||||
transform="translate(-60)">
|
||||
<path
|
||||
d="m 91,33.5 -0.02739,-14.214 12.967,4.3352 v 14.5 z"
|
||||
id="path54"
|
||||
style="fill:url(#linearGradient69709);stroke:#0b1521;stroke-width:2;stroke-linejoin:round"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
d="m 92.927,32.029 0.04731,-10.141 8.9272,3.29 0.0781,10.042 z"
|
||||
id="path56"
|
||||
inkscape:connector-curvature="0"
|
||||
style="fill:none;stroke:#729fcf;stroke-width:2" />
|
||||
<path
|
||||
d="m 103.94,38.121 v -14.5 l 11,-9 L 115,28 Z"
|
||||
id="path58"
|
||||
style="fill:url(#linearGradient69717);stroke:#0b1521;stroke-width:2;stroke-linejoin:round"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
d="m 105.94,33.621 v -9 l 7,-6 -0.0122,8.5816 z"
|
||||
id="path60"
|
||||
inkscape:connector-curvature="0"
|
||||
style="fill:none;stroke:#729fcf;stroke-width:2" />
|
||||
<path
|
||||
d="M 90.973,19.286 102,9.9998 l 12.94,4.6214 -11,9 z"
|
||||
id="path62"
|
||||
inkscape:connector-curvature="0"
|
||||
style="fill:#729fcf;stroke:#0b1521;stroke-width:2;stroke-linejoin:round" />
|
||||
</g>
|
||||
<g
|
||||
display="none"
|
||||
fill="#ef2929"
|
||||
fill-rule="evenodd"
|
||||
opacity=".588"
|
||||
stroke="#ef2929"
|
||||
stroke-width="1px"
|
||||
id="g94">
|
||||
<path
|
||||
d="m9 35v14"
|
||||
id="path66" />
|
||||
<path
|
||||
d="m9 35 28 10"
|
||||
id="path68" />
|
||||
<path
|
||||
d="m55 28v13"
|
||||
id="path70" />
|
||||
<path
|
||||
d="m37 45 18-17"
|
||||
id="path72" />
|
||||
<path
|
||||
d="m23 40v-14"
|
||||
id="path74" />
|
||||
<path
|
||||
d="m29 5 13 5"
|
||||
id="path76" />
|
||||
<path
|
||||
d="m23 26 19-16"
|
||||
id="path78" />
|
||||
<path
|
||||
d="m19 13 10-8"
|
||||
id="path80" />
|
||||
<path
|
||||
d="m55 15-9 8"
|
||||
id="path82" />
|
||||
<path
|
||||
d="m42 23v-13"
|
||||
id="path84" />
|
||||
<path
|
||||
d="m42 23 14 5"
|
||||
id="path86" />
|
||||
<path
|
||||
d="m23 40 19-17"
|
||||
id="path88" />
|
||||
<path
|
||||
d="m23 10h19"
|
||||
id="path90" />
|
||||
<path
|
||||
d="m34 17v13"
|
||||
id="path92" />
|
||||
</g>
|
||||
<g
|
||||
id="g963"
|
||||
transform="translate(40)">
|
||||
<g
|
||||
style="stroke:#172a04;stroke-width:2;stroke-linejoin:round"
|
||||
transform="translate(-40)"
|
||||
id="g48">
|
||||
<path
|
||||
inkscape:connector-curvature="0"
|
||||
style="fill:url(#linearGradient4389)"
|
||||
id="path42"
|
||||
d="M 9,35 V 21 l 14,5 v 14 z" />
|
||||
<path
|
||||
style="fill:#8ae234"
|
||||
inkscape:connector-curvature="0"
|
||||
id="path44"
|
||||
d="M 9,21 28.585,5.209 42,10.0001 l -19,16 z" />
|
||||
<path
|
||||
inkscape:connector-curvature="0"
|
||||
style="fill:url(#linearGradient69042)"
|
||||
id="path46"
|
||||
d="M 23,40 V 26 l 7.9726,-6.7138 0.02739,13.714 z" />
|
||||
</g>
|
||||
<path
|
||||
inkscape:connector-curvature="0"
|
||||
style="fill:url(#linearGradient920);fill-opacity:1;stroke:#172a04;stroke-width:2;stroke-linejoin:round"
|
||||
id="path912"
|
||||
d="M -31,35 V 21 l 14,5 v 14 z" />
|
||||
<path
|
||||
style="fill:#fce94f;fill-opacity:1;stroke:#172a04;stroke-width:2;stroke-linejoin:round;stroke-opacity:1"
|
||||
inkscape:connector-curvature="0"
|
||||
id="path914"
|
||||
d="M -31,21 -11.415,5.209 2,10.0001 l -19,16 z" />
|
||||
<path
|
||||
inkscape:connector-curvature="0"
|
||||
style="fill:url(#linearGradient922);fill-opacity:1;stroke:#172a04;stroke-width:2;stroke-linejoin:round"
|
||||
id="path916"
|
||||
d="M -17,40 V 26 l 7.9726,-6.7138 0.02739,13.714 z" />
|
||||
<path
|
||||
d="m -15,36 v -9 l 4,-3.5 v 9 z"
|
||||
id="path50"
|
||||
inkscape:connector-curvature="0"
|
||||
style="fill:none;stroke:#fce94f;stroke-width:2;stroke-opacity:1" />
|
||||
<path
|
||||
d="m -29.049,33.746 0.08695,-9.9796 9.9568,3.5229 -0.02105,9.9613 z"
|
||||
id="path52"
|
||||
inkscape:connector-curvature="0"
|
||||
style="fill:none;stroke:#fce94f;stroke-width:2;stroke-opacity:1" />
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 9.8 KiB |
131
src/Mod/Assembly/Gui/Resources/panels/TaskAssemblyCreateBom.ui
Normal file
@@ -0,0 +1,131 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>TaskAssemblyCreateView</class>
|
||||
<widget class="QWidget" name="TaskAssemblyCreateBom">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>376</width>
|
||||
<height>387</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>Bill of Materials</string>
|
||||
</property>
|
||||
<layout class="QGridLayout" name="gridLayout">
|
||||
<item row="0" column="0" colspan="2">
|
||||
<widget class="Gui::PrefCheckBox" name="CheckBox_detailSubAssemblies">
|
||||
<property name="toolTip">
|
||||
<string>Includes children of sub-assemblies in the bill of materials</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Sub-assemblies children</string>
|
||||
</property>
|
||||
<property name="checked">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="prefEntry" stdset="0">
|
||||
<cstring>BOMDetailSubAssemblies</cstring>
|
||||
</property>
|
||||
<property name="prefPath" stdset="0">
|
||||
<cstring>Mod/Assembly</cstring>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="0" colspan="2">
|
||||
<widget class="Gui::PrefCheckBox" name="CheckBox_detailParts">
|
||||
<property name="toolTip">
|
||||
<string>Include child parts in the bill of materials</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Parts children</string>
|
||||
</property>
|
||||
<property name="checked">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="prefEntry" stdset="0">
|
||||
<cstring>BOMDetailParts</cstring>
|
||||
</property>
|
||||
<property name="prefPath" stdset="0">
|
||||
<cstring>Mod/Assembly</cstring>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="2" column="0" colspan="2">
|
||||
<widget class="Gui::PrefCheckBox" name="CheckBox_onlyParts">
|
||||
<property name="toolTip">
|
||||
<string>Adds only part containers and sub-assemblies to the bill of materials. Solids (e.g. bodies, fasteners, primitives) are excluded.</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Only parts</string>
|
||||
</property>
|
||||
<property name="checked">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="prefEntry" stdset="0">
|
||||
<cstring>BOMOnlyParts</cstring>
|
||||
</property>
|
||||
<property name="prefPath" stdset="0">
|
||||
<cstring>Mod/Assembly</cstring>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="3" column="0" colspan="2">
|
||||
<widget class="QGroupBox" name="groupBox_1">
|
||||
<property name="title">
|
||||
<string>Columns</string>
|
||||
</property>
|
||||
<layout class="QGridLayout" name="gridLayout2">
|
||||
<item row="0" column="0">
|
||||
<widget class="QListWidget" name="columnList"/>
|
||||
</item>
|
||||
<item row="1" column="0">
|
||||
<widget class="QPushButton" name="btnAddColumn">
|
||||
<property name="text">
|
||||
<string>Add Column</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="5" column="0">
|
||||
<widget class="QPushButton" name="btnExport">
|
||||
<property name="text">
|
||||
<string>Export</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="5" column="1">
|
||||
<widget class="QToolButton" name="helpButton">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Maximum" vsizetype="Preferred">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Help</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset resource="Icons/resource.qrc">
|
||||
<normaloff>:/icons/help-browser.svg</normaloff>:/icons/help-browser.svg</iconset>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<customwidgets>
|
||||
<customwidget>
|
||||
<class>Gui::PrefCheckBox</class>
|
||||
<extends>QCheckBox</extends>
|
||||
<header>Gui/PrefWidgets.h</header>
|
||||
</customwidget>
|
||||
</customwidgets>
|
||||
<resources/>
|
||||
<connections/>
|
||||
</ui>
|
||||
376
src/Mod/Assembly/Gui/Resources/panels/TaskAssemblyCreateJoint.ui
Normal file
@@ -0,0 +1,376 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>TaskAssemblyCreateJoint</class>
|
||||
<widget class="QWidget" name="TaskAssemblyCreateJoint">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>150</width>
|
||||
<height>150</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>Joint</string>
|
||||
</property>
|
||||
<layout class="QGridLayout" name="gridLayout">
|
||||
<item row="0" column="0" colspan="2">
|
||||
<widget class="QComboBox" name="jointType"/>
|
||||
</item>
|
||||
<item row="15" column="0" colspan="2">
|
||||
<layout class="QHBoxLayout" name="hLayoutIsolate">
|
||||
<item>
|
||||
<widget class="QLabel" name="isolateLabel2">
|
||||
<property name="text">
|
||||
<string>Isolate</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QComboBox" name="isolateType"/>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item row="1" column="0" colspan="2">
|
||||
<widget class="QListWidget" name="featureList">
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>16777215</width>
|
||||
<height>75</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="2" column="0" colspan="2">
|
||||
<layout class="QHBoxLayout" name="hLayoutAngle">
|
||||
<item>
|
||||
<widget class="QLabel" name="angleLabel">
|
||||
<property name="text">
|
||||
<string>Angle</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="Gui::QuantitySpinBox" name="angleSpinbox">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="unit" stdset="0">
|
||||
<string notr="true">deg</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item row="3" column="0" colspan="2">
|
||||
<layout class="QHBoxLayout" name="hLayoutDistance">
|
||||
<item>
|
||||
<widget class="QLabel" name="distanceLabel">
|
||||
<property name="text">
|
||||
<string>Distance</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="Gui::QuantitySpinBox" name="distanceSpinbox">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="unit" stdset="0">
|
||||
<string notr="true">mm</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item row="4" column="0" colspan="2">
|
||||
<layout class="QHBoxLayout" name="hLayoutDistance2">
|
||||
<item>
|
||||
<widget class="QLabel" name="distanceLabel2">
|
||||
<property name="text">
|
||||
<string>Radius 2</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="Gui::QuantitySpinBox" name="distanceSpinbox2">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="unit" stdset="0">
|
||||
<string notr="true">mm</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item row="5" column="0" colspan="2">
|
||||
<layout class="QHBoxLayout" name="hLayout">
|
||||
<item>
|
||||
<widget class="QLabel" name="offsetLabel">
|
||||
<property name="text">
|
||||
<string>Offset</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="Gui::QuantitySpinBox" name="offsetSpinbox">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="unit" stdset="0">
|
||||
<string notr="true">mm</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item row="6" column="0" colspan="2">
|
||||
<layout class="QHBoxLayout" name="hLayoutRotation">
|
||||
<item>
|
||||
<widget class="QLabel" name="rotationLabel">
|
||||
<property name="text">
|
||||
<string>Rotation</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="Gui::QuantitySpinBox" name="rotationSpinbox">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="unit" stdset="0">
|
||||
<string notr="true">deg</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item row="7" column="0" colspan="2">
|
||||
<layout class="QHBoxLayout" name="hLayoutOffset1">
|
||||
<item>
|
||||
<widget class="QLabel" name="offset1Label">
|
||||
<property name="text">
|
||||
<string>Offset1</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="offset1Button">
|
||||
<property name="toolTip">
|
||||
<string>Sets the attachment offset of the joint’s first marker (coordinate system)</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string></string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item row="8" column="0" colspan="2">
|
||||
<layout class="QHBoxLayout" name="hLayoutOffset2">
|
||||
<item>
|
||||
<widget class="QLabel" name="offset2Label">
|
||||
<property name="text">
|
||||
<string>Offset2</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="offset2Button">
|
||||
<property name="toolTip">
|
||||
<string>Sets the attachment offset of the second marker (coordinate system) of the joint</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string></string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item row="9" column="0" colspan="2">
|
||||
<widget class="QCheckBox" name="advancedOffsetCheckbox">
|
||||
<property name="text">
|
||||
<string>Show advanced offsets</string>
|
||||
</property>
|
||||
<property name="checked">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="10" column="0">
|
||||
<widget class="QToolButton" name="PushButtonReverse">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Maximum" vsizetype="Preferred">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Reverse the direction of the joint</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Reverse</string>
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset resource="Resources/resource.qrc">
|
||||
<normaloff>:/icons/button_sort.svg</normaloff>:/icons/button_sort.svg</iconset>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="11" column="0">
|
||||
<widget class="QGroupBox" name="groupBox_limits">
|
||||
<property name="title">
|
||||
<string>Limits</string>
|
||||
</property>
|
||||
<layout class="QGridLayout" name="gridLayout_limits">
|
||||
<item row="0" column="0">
|
||||
<widget class="QCheckBox" name="limitCheckbox1">
|
||||
<property name="text">
|
||||
<string>Min length</string>
|
||||
</property>
|
||||
<property name="checked">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="1">
|
||||
<widget class="Gui::QuantitySpinBox" name="limitLenMinSpinbox">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="unit" stdset="0">
|
||||
<string notr="true">mm</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="0">
|
||||
<widget class="QCheckBox" name="limitCheckbox2">
|
||||
<property name="text">
|
||||
<string>Max length</string>
|
||||
</property>
|
||||
<property name="checked">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="1">
|
||||
<widget class="Gui::QuantitySpinBox" name="limitLenMaxSpinbox">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="unit" stdset="0">
|
||||
<string notr="true">mm</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="2" column="0">
|
||||
<widget class="QCheckBox" name="limitCheckbox3">
|
||||
<property name="text">
|
||||
<string>Min angle</string>
|
||||
</property>
|
||||
<property name="checked">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="2" column="1">
|
||||
<widget class="Gui::QuantitySpinBox" name="limitRotMinSpinbox">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="unit" stdset="0">
|
||||
<string notr="true">deg</string>
|
||||
</property>
|
||||
<property name="minimum">
|
||||
<double>-180.0</double>
|
||||
</property>
|
||||
<property name="maximum">
|
||||
<double>180.0</double>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="3" column="0">
|
||||
<widget class="QCheckBox" name="limitCheckbox4">
|
||||
<property name="text">
|
||||
<string>Max angle</string>
|
||||
</property>
|
||||
<property name="checked">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="3" column="1">
|
||||
<widget class="Gui::QuantitySpinBox" name="limitRotMaxSpinbox">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="unit" stdset="0">
|
||||
<string notr="true">deg</string>
|
||||
</property>
|
||||
<property name="minimum">
|
||||
<double>-180.0</double>
|
||||
</property>
|
||||
<property name="maximum">
|
||||
<double>180.0</double>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="12" column="0">
|
||||
<widget class="QCheckBox" name="reverseRotCheckbox">
|
||||
<property name="text">
|
||||
<string>Reverse rotation</string>
|
||||
</property>
|
||||
<property name="checked">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<customwidgets>
|
||||
<customwidget>
|
||||
<class>Gui::QuantitySpinBox</class>
|
||||
<extends>QWidget</extends>
|
||||
<header>Gui/QuantitySpinBox.h</header>
|
||||
</customwidget>
|
||||
</customwidgets>
|
||||
<resources/>
|
||||
<connections/>
|
||||
</ui>
|
||||
@@ -0,0 +1,339 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>TaskAssemblyCreateSimulation</class>
|
||||
<widget class="QDialog" name="TaskAssemblyCreateSimulation">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>400</width>
|
||||
<height>602</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>Simulation</string>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout_2">
|
||||
<item>
|
||||
<widget class="QGroupBox" name="groupBox_motions">
|
||||
<property name="title">
|
||||
<string>Motions</string>
|
||||
</property>
|
||||
<layout class="QGridLayout" name="gridLayout">
|
||||
<item row="0" column="0">
|
||||
<widget class="QListWidget" name="motionList">
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>16777215</width>
|
||||
<height>75</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="1">
|
||||
<layout class="QVBoxLayout" name="motion_buttonsLayout">
|
||||
<item>
|
||||
<widget class="QToolButton" name="AddButton">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Maximum" vsizetype="Preferred">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Add a prescribed motion</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset resource="Icons/resource.qrc">
|
||||
<normaloff>:/icons/list-add.svg</normaloff>:/icons/list-add.svg</iconset>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QToolButton" name="RemoveButton">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Maximum" vsizetype="Preferred">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Delete selected motions</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset resource="Icons/resource.qrc">
|
||||
<normaloff>:/icons/edit-delete.svg</normaloff>:/icons/edit-delete.svg</iconset>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QGroupBox" name="groupBox_settings">
|
||||
<property name="title">
|
||||
<string>Simulation Settings</string>
|
||||
</property>
|
||||
<layout class="QGridLayout" name="gridLayout">
|
||||
<item row="0" column="0">
|
||||
<widget class="QLabel" name="TimeStartLabel">
|
||||
<property name="text">
|
||||
<string>Start</string>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Start time of the simulation</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="1">
|
||||
<widget class="Gui::PrefQuantitySpinBox" name="TimeStartSpinBox">
|
||||
<property name="toolTip">
|
||||
<string>Start time of the simulation</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="0">
|
||||
<widget class="QLabel" name="TimeEndLabel">
|
||||
<property name="text">
|
||||
<string>End</string>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>End time of the simulation</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="1">
|
||||
<widget class="Gui::PrefQuantitySpinBox" name="TimeEndSpinBox">
|
||||
<property name="toolTip">
|
||||
<string>End time of the simulation</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="2" column="0">
|
||||
<widget class="QLabel" name="TimeStepOutputLabel">
|
||||
<property name="text">
|
||||
<string>Step</string>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Time step</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="2" column="1">
|
||||
<widget class="Gui::PrefQuantitySpinBox" name="TimeStepOutputSpinBox">
|
||||
<property name="toolTip">
|
||||
<string>Time step</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="5" column="0">
|
||||
<widget class="QLabel" name="GlobalErrorToleranceLabel">
|
||||
<property name="text">
|
||||
<string>Tolerance</string>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Global error tolerance</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="5" column="1">
|
||||
<widget class="Gui::PrefQuantitySpinBox" name="GlobalErrorToleranceSpinBox">
|
||||
<property name="toolTip">
|
||||
<string>Global error tolerance</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="RunKinematicsButton">
|
||||
<property name="text">
|
||||
<string>Generate</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QGroupBox" name="groupBox_player">
|
||||
<property name="title">
|
||||
<string>Animation Player</string>
|
||||
</property>
|
||||
<layout class="QGridLayout" name="gridLayout">
|
||||
<item row="0" column="0">
|
||||
<layout class="QGridLayout" name="gridLayout_2">
|
||||
<item row="0" column="0">
|
||||
<widget class="QLabel" name="FrameLabel">
|
||||
<property name="text">
|
||||
<string>Frame</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="1">
|
||||
<widget class="QSlider" name="frameSlider">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="orientation">
|
||||
<enum>Qt::Horizontal</enum>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="2">
|
||||
<widget class="QLabel" name="FrameTimeLabel">
|
||||
<property name="text">
|
||||
<string>0.00 s</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item row="1" column="0">
|
||||
<layout class="QHBoxLayout" name="fps_layout">
|
||||
<item>
|
||||
<widget class="QLabel" name="FramesPerSecondLabel">
|
||||
<property name="text">
|
||||
<string>Frames per second</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QSpinBox" name="FramesPerSecondSpinBox"/>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item row="2" column="0">
|
||||
<layout class="QHBoxLayout" name="controls_layout">
|
||||
<item>
|
||||
<widget class="QToolButton" name="StepBackwardButton">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Maximum" vsizetype="Preferred">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Step backward</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset resource="Icons/resource.qrc">
|
||||
<normaloff>:/icons/media-playback-step-back.svg</normaloff>:/icons/media-playback-step-back.svg</iconset>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QToolButton" name="PlayBackwardButton">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Maximum" vsizetype="Preferred">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Play backward</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset resource="Icons/resource.qrc">
|
||||
<normaloff>:/icons/media-playback-start-back.svg</normaloff>:/icons/media-playback-start-back.svg</iconset>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QToolButton" name="StopButton">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Maximum" vsizetype="Preferred">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Stop</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset resource="Icons/resource.qrc">
|
||||
<normaloff>:/icons/media-playback-stop.svg</normaloff>:/icons/media-playback-stop.svg</iconset>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QToolButton" name="PlayForwardButton">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Maximum" vsizetype="Preferred">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Play forward</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset resource="Icons/resource.qrc">
|
||||
<normaloff>:/icons/media-playback-start.svg</normaloff>:/icons/media-playback-start.svg</iconset>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QToolButton" name="StepForwardButton">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Maximum" vsizetype="Preferred">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Step forward</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset resource="Icons/resource.qrc">
|
||||
<normaloff>:/icons/media-playback-step.svg</normaloff>:/icons/media-playback-step.svg</iconset>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<customwidgets>
|
||||
<customwidget>
|
||||
<class>Gui::QuantitySpinBox</class>
|
||||
<extends>QWidget</extends>
|
||||
<header>Gui/QuantitySpinBox.h</header>
|
||||
</customwidget>
|
||||
</customwidgets>
|
||||
<resources/>
|
||||
<connections/>
|
||||
</ui>
|
||||
@@ -0,0 +1,71 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>TaskAssemblyCreateView</class>
|
||||
<widget class="QWidget" name="TaskAssemblyCreateView">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>376</width>
|
||||
<height>387</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>Exploded View</string>
|
||||
</property>
|
||||
<layout class="QGridLayout" name="gridLayout">
|
||||
<item row="0" column="0">
|
||||
<widget class="Gui::PrefCheckBox" name="CheckBox_PartsAsSingleSolid">
|
||||
<property name="toolTip">
|
||||
<string>If checked, parts will be selected as a single solid</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Parts as single solid</string>
|
||||
</property>
|
||||
<property name="checked">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="prefEntry" stdset="0">
|
||||
<cstring>PartsAsSingleSolid</cstring>
|
||||
</property>
|
||||
<property name="prefPath" stdset="0">
|
||||
<cstring>Mod/Assembly</cstring>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="2" column="0">
|
||||
<widget class="QListWidget" name="stepList"/>
|
||||
</item>
|
||||
<item row="3" column="0">
|
||||
<widget class="QPushButton" name="btnAlignDragger">
|
||||
<property name="text">
|
||||
<string>Align Dragger</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="4" column="0">
|
||||
<widget class="QLabel" name="LabelAlignDragger">
|
||||
<property name="text">
|
||||
<string>Select a feature to align. Press Esc to cancel.</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="5" column="0">
|
||||
<widget class="QPushButton" name="btnRadialExplosion">
|
||||
<property name="text">
|
||||
<string>Explode Radially</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<customwidgets>
|
||||
<customwidget>
|
||||
<class>Gui::PrefCheckBox</class>
|
||||
<extends>QCheckBox</extends>
|
||||
<header>Gui/PrefWidgets.h</header>
|
||||
</customwidget>
|
||||
</customwidgets>
|
||||
<resources/>
|
||||
<connections/>
|
||||
</ui>
|
||||
105
src/Mod/Assembly/Gui/Resources/panels/TaskAssemblyInsertLink.ui
Normal file
@@ -0,0 +1,105 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>TaskAssemblyInsertLink</class>
|
||||
<widget class="QWidget" name="TaskAssemblyInsertLink">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>200</width>
|
||||
<height>200</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>Insert</string>
|
||||
</property>
|
||||
<layout class="QGridLayout" name="gridLayout">
|
||||
<item row="0" column="0">
|
||||
<widget class="QLineEdit" name="filterPartList">
|
||||
<property name="placeholderText">
|
||||
<string>Search parts…</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="0">
|
||||
<widget class="QTreeWidget" name="partList">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="2" column="0">
|
||||
<layout class="QHBoxLayout" name="hLayout">
|
||||
<item>
|
||||
<widget class="QLabel" name="label1">
|
||||
<property name="text">
|
||||
<string>Cannot find the part? </string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="openFileButton">
|
||||
<property name="text">
|
||||
<string>Open File</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item row="3" column="0">
|
||||
<widget class="Gui::PrefCheckBox" name="CheckBox_ShowOnlyParts">
|
||||
<property name="toolTip">
|
||||
<string>Shows only parts in the list</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Show only parts</string>
|
||||
</property>
|
||||
<property name="checked">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="prefEntry" stdset="0">
|
||||
<cstring>InsertShowOnlyParts</cstring>
|
||||
</property>
|
||||
<property name="prefPath" stdset="0">
|
||||
<cstring>Mod/Assembly</cstring>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="4" column="0">
|
||||
<widget class="Gui::PrefCheckBox" name="CheckBox_RigidSubAsm">
|
||||
<property name="toolTip">
|
||||
<string>Sets whether the inserted sub-assemblies will be rigid or flexible.
|
||||
Rigid means that the added sub-assembly will be considered as a solid unit within the parent assembly.
|
||||
Flexible means that the added sub-assembly will allow movement of its individual components' joints within the parent assembly.
|
||||
You can change this behavior at any time by either right-clicking the sub-assembly on the document tree and toggling the
|
||||
'Turn rigid'/'Turn flexible' command there, or by editing its Rigid property in the property editor.</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Rigid sub-assemblies</string>
|
||||
</property>
|
||||
<property name="checked">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="prefEntry" stdset="0">
|
||||
<cstring>InsertRigidSubAssemblies</cstring>
|
||||
</property>
|
||||
<property name="prefPath" stdset="0">
|
||||
<cstring>Mod/Assembly</cstring>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<customwidgets>
|
||||
<customwidget>
|
||||
<class>Gui::PrefCheckBox</class>
|
||||
<extends>QCheckBox</extends>
|
||||
<header>Gui/PrefWidgets.h</header>
|
||||
</customwidget>
|
||||
</customwidgets>
|
||||
<resources/>
|
||||
<connections/>
|
||||
</ui>
|
||||