SolveSpace Logo SOLVESPACE -- parametric 2d/3d CAD
Examples
Tutorials
Features
Download
Reference
Technology
Library
Forum
Contact
USER FORUM

(you are viewing a thread; or go back to list of threads)

saving prefs (by Mathieu)
Hi,

Is it possible to save preferences like line style and configuration parameters?
Every time I change any of those preferences, it resets to default after closing and reopening the program (after saving or not).

I use version 2.2 on linuxmint xfce (no 2.3 working package, and failed to compile following readme file).

Thanks for this great (because simple and effective) software.
Tue Jan 23 2018, 06:45:14
(no subject) (by app4soft)
> Is it possible to save preferences like line style and configuration parameters?

You could create empty "template.slvs" (name it as you wish) and customize line styles inside it and save it.

Every time when you need this custom line styles, just use this template.

P.S.: There was issue with line styles and factory defaults setting, that was fixed later.

https://github.com/whitequark/solvespace/issues/183

But I don't remember, was it fixed in v2.2 or in v2.3

P.P.S.: About configuration file - try look into folder: "/home/mint/<username>/.config/solvespace/settings.json"
Tue Jan 23 2018, 22:38:25
(no subject) (by Mathieu)
Thanks for the answer.

Fhe template trick dosen't work because as I said, custom setting is not saved while saving a file.
Following the link, I discovered that solvespace is supposed to have an option "use styles of latest saved file as factory defaults", but I don't find it.

Finally, the folder .config/solvespace is empty. That is maybe the point.

Concerning version, I finally managed to compile latest version, so I use 3.0~c6fc0125.
(actually, I already managed to compile it before, but due to old GL version supported by my hardware, nothing was plot. I learn I could use the workaround of software rendering, and it now works fine)

So I'll try to find the settings.json file and put it in the config folder.
Thu Jan 25 2018, 05:38:44
(no subject) (by Mathieu)
looking for a settings file guided me to the solution, thanks app4soft !

the problem was that config folder was owned by "root". So writing was denied. Changing it to me with chown command was enough for automatically creating a seetings file when launching solvespace and of course, now, the settings are saved.

Problem solved
Thu Jan 25 2018, 06:07:40
(no subject) (by app4soft)
> Concerning version, I finally managed to compile latest version, so I use 3.0~c6fc0125. (actually, I already managed to compile it before, but due to old GL version supported by my hardware, nothing was plot. I learn I could use the workaround of software rendering, and it now works fine)

@Mathieu, try change flags before compille it to this:

CMakeLists.txt:46 set(OPENGL 1 CACHE STRING "OpenGL version to use (one of: 1 3)")

This should (hopefully) force SolveSpace built with OpenGL 1.x support

> looking for a settings file guided me to the solution, thanks app4soft !

@Methieu, you are welcome to ask me anything (I'm on reddit and twitter under same nickname, i.e. app4soft)
Thu Jan 25 2018, 08:46:00
Post a reply to this comment:
Your Name:
Your Email:
Subject:
(no HTML tags; use plain text, and hit Enter for a line break)
Attached file (if you want, 5 MB max):
© 2008-2022 SolveSpace contributors. Most recent update June 2 2022.