GithubHelp home page GithubHelp logo

Comments (13)

Zolko-123 avatar Zolko-123 commented on May 19, 2024

re-saving: did you have a window open on the part axis, along with the window open on the assembly ? I think that that doesn't work well with App::Link. If it's confirmed, I think it's a bug in App::Link.

from freecad_assembly4.

Zolko-123 avatar Zolko-123 commented on May 19, 2024

The sketch I created had the stated dimensions the same

are you sure that the dimension with "18mm" was relative to the vertical sketch axis ?

from freecad_assembly4.

justinclift avatar justinclift commented on May 19, 2024

re-saving: did you have a window open on the part axis, along with the window open on the assembly ? I think that that doesn't work well with App::Link. If it's confirmed, I think it's a bug in App::Link.

No. It's pretty simple to replicate. Happens 100% reliably:

  1. Start FreeCAD
    FreeCAD-Assembly4-issue27-2

  2. Open asm_tuto1.FCStd
    FreeCAD-Assembly4-issue27-3

  3. Make the axis body inside asm_tuto1 active
    FreeCAD-Assembly4-issue27-4

  4. Select the edge to chamfer
    FreeCAD-Assembly4-issue27-5

  5. Add a 1mm chamfer to it (and press OK)
    FreeCAD-Assembly4-issue27-6

  6. Click the Save document icon
    FreeCAD-Assembly4-issue27-7

  7. Click Yes to also save the dependent files
    FreeCAD-Assembly4-issue27-8

** Note the warning that appears in the Report view**

<App> DocumentObject.cpp(699): Changes to partial loaded document will not be saved: axis#Chamfer001.Label
1.9e-07 <App> Document.cpp(2223): Partial loaded document 'axis' cannot be saved
  1. Close the open documents (File -> Close All) then reopen asm_tuto1.FCStd.
    FreeCAD-Assembly4-issue27-9

The added chamfer isn't present. 😦

from freecad_assembly4.

justinclift avatar justinclift commented on May 19, 2024

Just checked, this also happens with freshly compiled FreeCAD too (as of a few minutes ago):

OS: openSUSE Leap 15.1 (KDE//usr/share/xsessions/default)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.19299 (Git)
Build type: Unknown
Branch: test-v1
Hash: a285e89b2708de427fdce5b3b981a3ef630f5a4d
Python version: 3.6.9
Qt version: 5.9.7
Coin version: 3.1.3
OCC version: 7.3.0
Locale: English/UnitedKingdom (en_GB)

from freecad_assembly4.

justinclift avatar justinclift commented on May 19, 2024

The "Branch: test-v1" is somewhat misleading. It's actually master, I just created created an initial branch to experiment in, not realising the branch name would show up here. πŸ˜‰

from freecad_assembly4.

Zolko-123 avatar Zolko-123 commented on May 19, 2024

Strange, for me it works as advertised.

from freecad_assembly4.

justinclift avatar justinclift commented on May 19, 2024

Hmmm. Does it work for you with today's .AppImage build of FreeCAD?

https://github.com/FreeCAD/FreeCAD/releases/tag/0.19_pre

Asking "just in case". πŸ˜„

from freecad_assembly4.

Zolko-123 avatar Zolko-123 commented on May 19, 2024

yes, also with that one. There is an option in the preferences about "disabling partially loaded documents". For me it's unchecked, may-be you can look at that setting and change-it, see if that has an influence. Also, in the PartDesign preferences, I have checked all 3 options "Automatically refine model after..."

OS: Ubuntu 18.04.3 LTS (KDE/plasma)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.19285 (Git) AppImage
Build type: Release
Branch: master
Hash: 8b2e318f15ee6304e8d89f48b2ac45af3bf61aed
Python version: 3.8.1
Qt version: 5.12.5
Coin version: 4.0.0a
OCC version: 7.4.0
Locale: English/United Kingdom (en_GB)

from freecad_assembly4.

justinclift avatar justinclift commented on May 19, 2024

Interesting. Tried those 3 options in the PartDesign Preferences but they made no difference.

Then tried turning on the Disable partial loading of external linked objects option in General > Document > Document objects.
FreeCAD-Assembly4-issue27-10

That worked. eg enabling that option then means the referenced documents "fully load", so any changes are kept when saved.

Thanks @Zolko-123. πŸ˜„

Sounds like a note about this should be added somewhere appropriate. πŸ˜„

from freecad_assembly4.

rschader avatar rschader commented on May 19, 2024

I am wondering if this is the appropriate place to report some issues I am having with assembly4 on 0.19pre on Windows 10, trying to go through this same tutorial from scratch. I am fairly new to freecad (been waiting for a good assembly module). Here is my PC info:

OS: Windows 10 (10.0)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.19358 (Git)
Build type: Release
Branch: master
Hash: 9e736095187450812e16ff9b92b6839e578f5506
Python version: 3.7.3
Qt version: 5.12.5
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/United States (en_US)

Assembly4 version Current version: 0.7.12, 2020-01-25, apparently just updated to this version, but the problem still persists!

Here is what is happening to me: When I try to edit datum on the bearing part, and hit OK after selecting the circular edge and specifying concentric, when I hot the OK button I get the following error:
Illegal storage access...
Unhandled Base::Exception caught in GUIApplication::notify.
The error message is: Illegal storage access! Please save your work under a new file name and restart the application!
If I hit the OK button again, Freecad crashes. If I hit cancel, it appears that the LCS was modified, but then Freecad crashes shortly afterwards. I've tried several different options in the bearing file, such as import as assembly when reading the step file, or not, I recently tried disabling the partial loading as suggested above, to no avail. It kind of sounds like a permission problem?

from freecad_assembly4.

justinclift avatar justinclift commented on May 19, 2024

I am wondering if this is the appropriate place to report some issues I am having with assembly4 ...

Kind of yes, kind of no. πŸ˜‰

In theory, "best practise" would be to create a new issue here in this repository, with the same info you gave. But, some places aren't real fussed about it so you may be fine. πŸ˜„

from freecad_assembly4.

Zolko-123 avatar Zolko-123 commented on May 19, 2024

@rschader: yes, this is a recently discovered bug in FreeCAD. For the time being, don't use the "Edit datum" command to edit the attachment, but rather the edit MapMode in the properties of the LCS

from freecad_assembly4.

rschader avatar rschader commented on May 19, 2024

Thanks! That works. I just downloaded the latest 0.19 release and see that bug is still there!
OS: Windows 7 SP 1 (6.1)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.19373 (Git)
Build type: Release
Branch: master
Hash: c47512b7b2b3b64b4a21a86ad34a565459a13e6a
Python version: 3.7.3
Qt version: 5.12.5
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/United States (en_US)

from freecad_assembly4.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.