Template
Update Readme.md for prettier formatting
This commit is contained in:
1 parent
28c2609769
commit
afba8cad8e
1 file changed
+10
-4
@@ -6,14 +6,20 @@ Note: This does NOT version the .FCStd files directly, but rather allows you to
|
|||||||
|
|
||||||
# How to Use
|
# How to Use
|
||||||
You will need to manually pack and unpack freecad files using the provided scripts (you may need to chmod +x the fc-pack and fc-unpack scripts). A total workflow looks like so:
|
You will need to manually pack and unpack freecad files using the provided scripts (you may need to chmod +x the fc-pack and fc-unpack scripts). A total workflow looks like so:
|
||||||
|
> ```
|
||||||
>cd <project-dir>
|
>cd <project-dir>
|
||||||
> git clone . (or git pull for an existing repo)
|
>git clone <git-repo-using-this-template> . (or git pull for an existing repo)
|
||||||
>./fc-pack
|
>./fc-pack
|
||||||
Now open the file in FreeCAD, make any changes like normal, and save the file
|
> ```
|
||||||
|
|
||||||
|
Now open the file in FreeCAD, make any changes like normal, and save the file.
|
||||||
|
|
||||||
|
When you are finished editing your file:
|
||||||
|
>```
|
||||||
>./fc-unpack
|
>./fc-unpack
|
||||||
>git add *
|
>git add *
|
||||||
>git push
|
>git push
|
||||||
|
>```
|
||||||
|
|
||||||
# Additional options
|
# Additional options
|
||||||
fc-pack can take directories (or lists of directories) as an argument, if you would only like to work on a limited number of files in a repository.
|
fc-pack can take directories (or lists of directories) as an argument, if you would only like to work on a limited number of files in a repository.
|
||||||
@@ -37,4 +43,4 @@ Of course, you still get the other benefits of version control, and this allows
|
|||||||
|
|
||||||
This is a very simple set of files: the .gitignore, which ignores .FCStd files, an fc-unpack script that unzips the .FCStd files to their own folders, and an fc-pack script that uses freecad to [re]generate a .FCStd file from a directory to which a .FCStd file had previously been unpacked.
|
This is a very simple set of files: the .gitignore, which ignores .FCStd files, an fc-unpack script that unzips the .FCStd files to their own folders, and an fc-pack script that uses freecad to [re]generate a .FCStd file from a directory to which a .FCStd file had previously been unpacked.
|
||||||
|
|
||||||
\*Merge at your own risk!
|
\**Merge at your own risk!*
|
||||||
Reference in new issue
Block a user