Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -1,288 +1,139 @@
|
|
| 1 |
# LINUXCNC
|
| 2 |
|
| 3 |
-
|
| 4 |
-
**Status:** Active development with Anticloud overlay
|
| 5 |
|
| 6 |
## What This Project Does
|
| 7 |
|
| 8 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
- A compatible operating system (Linux, macOS, or Windows)
|
| 30 |
-
- Required build tools as specified by the upstream project
|
| 31 |
-
- Runtime dependencies per the upstream requirements
|
| 32 |
-
|
| 33 |
-
### From Source
|
| 34 |
-
|
| 35 |
-
To build from source, source the project and follow the
|
| 36 |
-
upstream build instructions:
|
| 37 |
-
|
| 38 |
-
```bash
|
| 39 |
-
git source https://github.com/LinuxCNC/linuxcnc/linuxcnc.git
|
| 40 |
-
cd linuxcnc
|
| 41 |
-
# Follow upstream build system (Makefile, CMake, setup.py, etc.)
|
| 42 |
-
make
|
| 43 |
-
sudo make install
|
| 44 |
```
|
| 45 |
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
through package managers such as apt, brew, or pip. Refer to
|
| 50 |
-
the upstream documentation for platform-specific instructions.
|
| 51 |
-
|
| 52 |
-
## Usage
|
| 53 |
-
|
| 54 |
-
### Basic Usage
|
| 55 |
-
|
| 56 |
-
After installation, LINUXCNC can be invoked as follows:
|
| 57 |
|
| 58 |
-
|
| 59 |
-
# Display help and available options
|
| 60 |
-
linuxcnc --help
|
| 61 |
|
| 62 |
-
|
| 63 |
-
|
| 64 |
-
|
| 65 |
|
| 66 |
-
|
|
|
|
|
|
|
| 67 |
|
| 68 |
-
|
|
|
|
|
|
|
|
|
|
| 69 |
|
| 70 |
-
|
| 71 |
-
2. **Execution** - Run the main functionality with appropriate parameters
|
| 72 |
-
3. **Monitoring** - Check status and output during operation
|
| 73 |
-
4. **Shutdown** - Cleanly terminate and save state
|
| 74 |
|
| 75 |
-
|
| 76 |
|
| 77 |
-
|
| 78 |
-
# Example 1: Basic invocation
|
| 79 |
-
linuxcnc --input /path/to/input --output /path/to/output
|
| 80 |
|
| 81 |
-
|
| 82 |
-
linuxcnc --config /path/to/config.yaml
|
| 83 |
|
| 84 |
-
# Example 3: Verbose mode for debugging
|
| 85 |
-
linuxcnc --verbose --log-level debug
|
| 86 |
-
`
|
| 87 |
|
| 88 |
-
##
|
| 89 |
|
| 90 |
-
|
| 91 |
|
| 92 |
-
LINUXCNC exposes a standard API consistent with its category.
|
| 93 |
-
The API can be accessed programmatically or through the command
|
| 94 |
-
line interface.
|
| 95 |
|
| 96 |
-
##
|
| 97 |
|
| 98 |
-
|
| 99 |
-
|--------|----------|-------------|
|
| 100 |
-
| GET | /status | Get current status |
|
| 101 |
-
| POST | /execute | Execute main operation |
|
| 102 |
-
| GET | /results | Retrieve results |
|
| 103 |
-
| DELETE | /reset | Reset to initial state |
|
| 104 |
|
| 105 |
-
### Authentication
|
| 106 |
|
| 107 |
-
|
| 108 |
-
Refer to the upstream documentation for specific authentication
|
| 109 |
-
requirements and token management.
|
| 110 |
|
| 111 |
-
|
| 112 |
|
| 113 |
-
The API implements rate limiting to prevent abuse. Default limits
|
| 114 |
-
are configurable through the configuration file.
|
| 115 |
|
| 116 |
## Dependencies
|
| 117 |
|
| 118 |
-
|
| 119 |
-
|
| 120 |
-
- Compiler (GCC, Clang, or MSVC)
|
| 121 |
-
- Build system (Make, CMake, or Meson)
|
| 122 |
-
- Package manager (pip, npm, or cargo)
|
| 123 |
-
|
| 124 |
-
### Runtime Dependencies
|
| 125 |
|
| 126 |
-
Runtime dependencies are managed by the upstream project build
|
| 127 |
-
system. Key dependencies include:
|
| 128 |
-
|
| 129 |
-
- Standard library components
|
| 130 |
-
- Third-party libraries as specified in upstream documentation
|
| 131 |
-
- System libraries required for operation
|
| 132 |
-
|
| 133 |
-
### Optional Dependencies
|
| 134 |
-
|
| 135 |
-
Some features may require additional optional dependencies.
|
| 136 |
-
These are documented in the upstream README and can be
|
| 137 |
-
installed separately as needed.
|
| 138 |
|
| 139 |
## Configuration
|
| 140 |
|
| 141 |
-
|
| 142 |
-
|
| 143 |
-
LINUXCNC uses a configuration file for runtime settings.
|
| 144 |
-
The default location is typically:
|
| 145 |
-
|
| 146 |
-
- **Linux/macOS:** ~/.config/linuxcnc/config.yaml
|
| 147 |
-
- **Windows:** %APPDATA%\linuxcnc\config.yaml
|
| 148 |
-
|
| 149 |
-
### Configuration Options
|
| 150 |
|
| 151 |
-
| Option | Type | Default | Description |
|
| 152 |
-
|--------|------|---------|-------------|
|
| 153 |
-
| log_level | string | info | Logging verbosity |
|
| 154 |
-
| output_dir | string | ./output | Output directory |
|
| 155 |
-
| max_workers | int | 4 | Maximum worker threads |
|
| 156 |
-
| timeout | int | 30 | Operation timeout (seconds) |
|
| 157 |
-
|
| 158 |
-
### Environment Variables
|
| 159 |
-
|
| 160 |
-
The following environment variables can override configuration:
|
| 161 |
-
|
| 162 |
-
- **LINUXCNC_LOG_LEVEL** - Override log level
|
| 163 |
-
- **LINUXCNC_CONFIG** - Path to custom config file
|
| 164 |
-
- **LINUXCNC_OUTPUT** - Override output directory
|
| 165 |
|
| 166 |
## Contributing
|
| 167 |
|
| 168 |
-
|
| 169 |
-
these guidelines:
|
| 170 |
-
|
| 171 |
-
1. **Fork the project** and create a feature branch
|
| 172 |
-
2. **Make your changes** with clear commit messages
|
| 173 |
-
3. **Add tests** for new functionality
|
| 174 |
-
4. **Update documentation** as needed
|
| 175 |
-
5. **Submit a pull request** with a clear description
|
| 176 |
-
|
| 177 |
-
### Code Style
|
| 178 |
-
|
| 179 |
-
Follow the code style established in the upstream project.
|
| 180 |
-
Use consistent formatting, meaningful variable names, and
|
| 181 |
-
clear comments for complex logic.
|
| 182 |
|
| 183 |
-
### Reporting Issues
|
| 184 |
-
|
| 185 |
-
When reporting issues, please include:
|
| 186 |
-
|
| 187 |
-
- Operating system and version
|
| 188 |
-
- Project version or commit hash
|
| 189 |
-
- Steps to reproduce the issue
|
| 190 |
-
- Expected vs actual behavior
|
| 191 |
-
- Relevant log output
|
| 192 |
-
|
| 193 |
-
## License
|
| 194 |
-
|
| 195 |
-
**Overlay license:** Anticommons 0.1.0
|
| 196 |
-
**Upstream license:** MIT
|
| 197 |
-
|
| 198 |
-
This project is distributed under the MIT license.
|
| 199 |
-
The Anticloud overlay is licensed under Anticommons 0.1.0,
|
| 200 |
-
which ensures that improvements remain available to the
|
| 201 |
-
community while preventing enclosure by any single entity.
|
| 202 |
-
|
| 203 |
-
See the LICENSE file in the project root for the full
|
| 204 |
-
license text and additional terms.
|
| 205 |
-
|
| 206 |
-
## Upstream
|
| 207 |
-
|
| 208 |
-
**SHA-256:** pending resolution
|
| 209 |
-
|
| 210 |
-
The upstream project is pinned to the above commit hash
|
| 211 |
-
to ensure reproducible builds and verifiable provenance.
|
| 212 |
-
All measurements and benchmarks are taken against this
|
| 213 |
-
specific commit.
|
| 214 |
|
| 215 |
## Benchmarks
|
| 216 |
|
| 217 |
-
|
| 218 |
-
project's `BENCH.json`, produced by a real run — the SHA3-256 of that file is
|
| 219 |
-
`b703dc6403185c5472e0227163fd673898007abecf839dd525c1cdd8cee321ba`.
|
| 220 |
-
|
| 221 |
-
| Framework | Controls | Evidence | Coverage | Result |
|
| 222 |
-
|---|---|---|---|---|
|
| 223 |
-
| OWASP Top 10 for LLM Applications | 10 controls mapped | 10 with evidence | 100.0% | PASS |
|
| 224 |
-
| OWASP Top 10 (2021) | 9 controls mapped | 9 with evidence | 100.0% | PASS |
|
| 225 |
-
| SOC 2 Type II readiness | 9 controls mapped | 9 with evidence | 100.0% | PASS |
|
| 226 |
-
| NIST AI Risk Management Framework | 8 controls mapped | 8 with evidence | 100.0% | PASS |
|
| 227 |
-
| NIST SP 800-53 Rev. 5 | 12 controls mapped | 12 with evidence | 100.0% | PASS |
|
| 228 |
-
| NIST Cybersecurity Framework 2.0 | 8 controls mapped | 8 with evidence | 100.0% | PASS |
|
| 229 |
-
| FedRAMP Rev. 5 | 10 controls mapped | 10 with evidence | 100.0% | PASS |
|
| 230 |
-
| PCI DSS v4.0.1 | 11 controls mapped | 11 with evidence | 100.0% | PASS |
|
| 231 |
-
| ISO/IEC 27001:2022 | 9 controls mapped | 9 with evidence | 100.0% | PASS |
|
| 232 |
-
| MITRE ATT&CK v16 | 12 controls mapped | 12 with evidence | 100.0% | PASS |
|
| 233 |
-
| ML Technology Readiness Level | TRL 8 | 8/8 criteria | | PASS |
|
| 234 |
-
|
| 235 |
-
**Overall: 16/16 checks passing.**
|
| 236 |
-
|
| 237 |
-
See `ISOLATED_LAB_RESULTS/03_Result_Register.md` for the 16-check register with pass condition, command and observed value per check.
|
| 238 |
-
|
| 239 |
-
Framework folders in `OFFICIAL_BENCHMARKS/` state the control set and the
|
| 240 |
-
evidence source bound to each control. This project does not claim an audit
|
| 241 |
-
opinion, a SOC report, a FedRAMP authorisation or a PCI attestation — those are
|
| 242 |
-
issued by an independent assessor.
|
| 243 |
-
|
| 244 |
-
## Additional Information
|
| 245 |
-
|
| 246 |
-
This project is part of the Anticloud ecosystem, providing
|
| 247 |
-
FACTORY_MANUFACTURING functionality with measured performance characteristics.
|
| 248 |
-
|
| 249 |
-
The overlay adds 12 improvements including:
|
| 250 |
-
|
| 251 |
-
- Performance optimizations
|
| 252 |
-
- Security hardening
|
| 253 |
-
- Documentation generation
|
| 254 |
-
- Benchmark measurement
|
| 255 |
-
- License compliance
|
| 256 |
-
- Dependency auditing
|
| 257 |
-
- SBOM generation
|
| 258 |
-
- Seal verification
|
| 259 |
-
- Quality gates
|
| 260 |
-
- Contamination detection
|
| 261 |
-
- Press distribution
|
| 262 |
-
- Family background integration
|
| 263 |
-
|
| 264 |
-
For more information about the Anticloud project, visit
|
| 265 |
-
the main project or contact the maintainers.
|
| 266 |
-
|
| 267 |
-
## Archives and Permanent Records
|
| 268 |
-
|
| 269 |
-
| Platform | Identifier | Volume |
|
| 270 |
-
|---|---|---|
|
| 271 |
-
| Harvard Dataverse | DOI 10.7910/DVN/YMJKOG | 145 citable datasets |
|
| 272 |
-
| AIOSS verification kit | DOI 10.7910/DVN/OORKNJ | Offline hash verification |
|
| 273 |
-
| Zenodo (CERN) | — | 146 records, DOI-registered |
|
| 274 |
-
| OSF | — | 144 preregistered records |
|
| 275 |
-
| Figshare | author 20849885 | Research data and figures |
|
| 276 |
-
| Internet Archive | aioss-format, Anticode | Permanent binary specification |
|
| 277 |
-
| ORCID | 0009-0009-2233-6107 | Permanent researcher ID |
|
| 278 |
-
| Kaggle | pax-millennium-20 | Reproducible T4 benchmark run |
|
| 279 |
-
|
| 280 |
-
|
| 281 |
-
|
| 282 |
-
## Press and Independent Publication
|
| 283 |
-
|
| 284 |
-
The PAX benchmark release was distributed by Newsfile wire to 336 outlets
|
| 285 |
-
(312 Web, 23 Terminal, 1 Application), including Yahoo Finance, The Globe and Mail, Business Insider, National Post, Financial Post, StreetInsider, Digital Journal, Barchart, International Business Times, and fox47 · National Law Review.
|
| 286 |
-
Wire distribution makes the announcement dated, public, and indexed, which
|
| 287 |
-
makes the claim checkable.
|
| 288 |
-
|
|
|
|
| 1 |
# LINUXCNC
|
| 2 |
|
| 3 |
+
> Anticloud offline package — upstream: LinuxCNC/linuxcnc @ `master`.
|
|
|
|
| 4 |
|
| 5 |
## What This Project Does
|
| 6 |
|
| 7 |
+
LinuxCNC controls CNC machines. It can drive milling machines, lathes, 3d printers, laser cutters, plasma cutters, robot arms, hexapods, and more.
|
| 8 |
+
|
| 9 |
+
## Upstream README
|
| 10 |
+
|
| 11 |
+
[![Badge GPL2]][License]
|
| 12 |
+
[![Badge LGPL]][License]
|
| 13 |
+
|
| 14 |
+
<div align = center>
|
| 15 |
+
|
| 16 |
+
<br>
|
| 17 |
+
|
| 18 |
+
# LinuxCNC
|
| 19 |
+
|
| 20 |
+
*Controlling CNC Machines*
|
| 21 |
+
|
| 22 |
+
<br>
|
| 23 |
+
|
| 24 |
+
[![Badge Translation]][Translation]
|
| 25 |
+
|
| 26 |
+
<br>
|
| 27 |
+
|
| 28 |
+
---
|
| 29 |
+
|
| 30 |
+
[<kbd> <br> Website <br> </kbd>][Website]
|
| 31 |
+
[<kbd> <br> Install <br> </kbd>][Install]
|
| 32 |
+
[<kbd> <br> Build <br> </kbd>][Build]
|
| 33 |
+
[<kbd> <br> Documentation <br> </kbd>][Documentation]
|
| 34 |
+
|
| 35 |
+
---
|
| 36 |
+
|
| 37 |
+
<br>
|
| 38 |
+
|
| 39 |
+
It can drive milling machines, lathes, 3D printers, laser <br>
|
| 40 |
+
cutters, plasma cutters, robot arms, hexapods, and more.
|
| 41 |
+
|
| 42 |
+
LinuxCNC was initiated 25 years ago and evolved into a very <br>
|
| 43 |
+
international project with contributions from all over the globe.
|
| 44 |
+
|
| 45 |
+
With release 2.9 of LinuxCNC we also transitioned the <br>
|
| 46 |
+
documentation to the use of the public crowd translation <br>
|
| 47 |
+
services [Weblate] and invite all our users to contribute.
|
| 48 |
+
|
| 49 |
+
The translations we expect to help attract practitioners <br>
|
| 50 |
+
to the project and also helps educating enthusiasts of <br>
|
| 51 |
+
all age groups on automated machining.
|
| 52 |
+
|
| 53 |
+
<br>
|
| 54 |
+
|
| 55 |
+
## DISCLAIMER
|
| 56 |
+
|
| 57 |
+
<br>
|
| 58 |
|
| 59 |
+
```
|
| 60 |
+
|
| 61 |
+
The authors of this software accept
|
| 62 |
+
absolutely no liability for any
|
| 63 |
+
harm or loss resulting from its use.
|
| 64 |
+
|
| 65 |
+
It is EXTREMELY unwise to rely
|
| 66 |
+
on software alone for safety.
|
| 67 |
+
|
| 68 |
+
Any machinery capable of harming persons must have
|
| 69 |
+
provisions for completely removing power from all
|
| 70 |
+
motors, etc., before persons enter any danger area.
|
| 71 |
+
|
| 72 |
+
All machinery must be designed to comply with local
|
| 73 |
+
and national safety codes, and the authors of this
|
| 74 |
+
software cannot and do not, take any responsibility
|
| 75 |
+
for such compliance.
|
| 76 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 77 |
```
|
| 78 |
|
| 79 |
+
<br>
|
| 80 |
+
|
| 81 |
+
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 82 |
|
| 83 |
+
<!----------------------------------------------------------------------------->
|
|
|
|
|
|
|
| 84 |
|
| 85 |
+
[Badge Translation]: https://hosted.weblate.org/widgets/linuxcnc/-/svg-badge.svg
|
| 86 |
+
[Badge GPL2]: https://img.shields.io/badge/Most-LGPL_3-blue.svg?style=for-the-badge 'The license this software is under'
|
| 87 |
+
[Badge LGPL]: https://img.shields.io/badge/Some-GPL_2-blue.svg?style=for-the-badge 'Some parts are under this license'
|
| 88 |
|
| 89 |
+
[Translation]: https://hosted.weblate.org/engage/linuxcnc/
|
| 90 |
+
[Weblate]: https://hosted.weblate.org/projects/linuxcnc/
|
| 91 |
+
[Website]: https://linuxcnc.org/
|
| 92 |
|
| 93 |
+
[Documentation]: http://linuxcnc.org/docs/devel/html/
|
| 94 |
+
[Install]: http://linuxcnc.org/docs/devel/html/getting-started/getting-linuxcnc.html
|
| 95 |
+
[Build]: http://linuxcnc.org/docs/devel/html/code/building-linuxcnc.html
|
| 96 |
+
[License]: COPYING
|
| 97 |
|
| 98 |
+
## License
|
|
|
|
|
|
|
|
|
|
| 99 |
|
| 100 |
+
Upstream terms preserved in `THIRD_PARTY_LICENSES/`. Overlay licensed under Anticommons 0.1.0.
|
| 101 |
|
| 102 |
+
## Upstream
|
|
|
|
|
|
|
| 103 |
|
| 104 |
+
Recompute the SHA3-256 of `BENCH.json` and compare to this package’s register. Any drift = invalid package.
|
|
|
|
| 105 |
|
|
|
|
|
|
|
|
|
|
| 106 |
|
| 107 |
+
## Installation
|
| 108 |
|
| 109 |
+
See project documentation for details.
|
| 110 |
|
|
|
|
|
|
|
|
|
|
| 111 |
|
| 112 |
+
## Usage
|
| 113 |
|
| 114 |
+
See project documentation for details.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 115 |
|
|
|
|
| 116 |
|
| 117 |
+
## API
|
|
|
|
|
|
|
| 118 |
|
| 119 |
+
See project documentation for details.
|
| 120 |
|
|
|
|
|
|
|
| 121 |
|
| 122 |
## Dependencies
|
| 123 |
|
| 124 |
+
See project documentation for details.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 125 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 126 |
|
| 127 |
## Configuration
|
| 128 |
|
| 129 |
+
See project documentation for details.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 130 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 131 |
|
| 132 |
## Contributing
|
| 133 |
|
| 134 |
+
See project documentation for details.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 135 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 136 |
|
| 137 |
## Benchmarks
|
| 138 |
|
| 139 |
+
See project documentation for details.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|