Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 0 additions & 21 deletions .bumpversion.cfg

This file was deleted.

11 changes: 6 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,17 @@ on:
- main

jobs:
build:
Build:
if: "!contains(github.event.pull_request.labels.*.name, 'docs-only')"
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python: ['3.8', '3.9', '3.10']
os: [macos-latest, windows-latest, ubuntu-latest]
python: ["3.9", "3.10", "3.11", "3.12"]

steps:
- uses: compas-dev/compas-actions.build@v3
- uses: compas-dev/compas-actions.build@v4
with:
invoke_lint: true
invoke_test: true
python: ${{ matrix.python }}
invoke_lint: true
7 changes: 2 additions & 5 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
branches:
- main
tags:
- 'v*'
- "v*"
pull_request:
branches:
- main
Expand All @@ -14,9 +14,6 @@ jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: compas-dev/compas-actions.docs@v2
- uses: compas-dev/compas-actions.docs@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
use_conda: true
use_virtual_display: true
use_latex: true
21 changes: 21 additions & 0 deletions .github/workflows/pr-checks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: verify-pr-checklist
on:
pull_request:
types: [assigned, opened, synchronize, reopened, labeled, unlabeled]
branches:
- main
- master

jobs:
build:
name: Check Actions
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Changelog check
uses: Zomzog/[email protected]
with:
fileName: CHANGELOG.md
checkNotification: Simple
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
16 changes: 8 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
on:
push:
tags:
- 'v*'
- "v*"

name: Create Release

Expand All @@ -10,21 +10,21 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python: ['3.8', '3.9', '3.10']
os: [macos-latest, windows-latest, ubuntu-latest]
python: ["3.9", "3.10", "3.11", "3.12"]

steps:
- uses: compas-dev/compas-actions.build@v3
- uses: compas-dev/compas-actions.build@v4
with:
python: ${{ matrix.python }}
invoke_lint: true
check_import: true
invoke_test: true
python: ${{ matrix.python }}

publish:
Publish:
needs: build
runs-on: ubuntu-latest
steps:
- uses: compas-dev/compas-actions.publish@v2
- uses: compas-dev/compas-actions.publish@v3
with:
pypi_token: ${{ secrets.PYPI }}
github_token: ${{ secrets.GITHUB_TOKEN }}
57 changes: 0 additions & 57 deletions CONTRIBUTING.md

This file was deleted.

24 changes: 0 additions & 24 deletions MANIFEST.in

This file was deleted.

1 change: 0 additions & 1 deletion docs/PLACEHOLDER

This file was deleted.

1 change: 0 additions & 1 deletion docs/_static/PLACEHOLDER

This file was deleted.

65 changes: 64 additions & 1 deletion docs/api/compas_tno.algorithms.rst
Original file line number Diff line number Diff line change
@@ -1,2 +1,65 @@
********************************************************************************
compas_tno.algorithms
********************************************************************************

.. automodule:: compas_tno.algorithms
.. currentmodule:: compas_tno.algorithms


Equilibrium
===========

.. autosummary::
:toctree: generated/
:nosignatures:

equilibrium_fdm
vertical_equilibrium_fdm
q_from_qid
q_from_variables
xyz_from_q
xyz_from_xopt
weights_from_xyz
weights_from_xyz_dict
compute_reactions
equilibrium_residual


Independents
============

.. autosummary::
:toctree: generated/
:nosignatures:

find_independents_backward
find_independents_forward
find_independents_QR
find_independents
independents_exclude
independents_include
inds_incl_excl
check_independents
check_horizontal_loads


Smoothing
=========

.. autosummary::
:toctree: generated/
:nosignatures:

constrained_smoothing
apply_sag


Graphic Statics
===============

.. autosummary::
:toctree: generated/
:nosignatures:

form_update_with_parallelisation
force_update_from_form
reciprocal_from_form
26 changes: 25 additions & 1 deletion docs/api/compas_tno.analysis.rst
Original file line number Diff line number Diff line change
@@ -1,2 +1,26 @@
********************************************************************************
compas_tno.analysis
********************************************************************************

.. currentmodule:: compas_tno.analysis

Classes
=======

.. autosummary::
:toctree: generated/
:nosignatures:

Analysis

Routines
========

.. autosummary::
:toctree: generated/
:nosignatures:

limit_analysis_GSF
thk_minmax_GSF
max_n_minmax_GSF

.. automodule:: compas_tno.analysis
52 changes: 51 additions & 1 deletion docs/api/compas_tno.diagrams.rst
Original file line number Diff line number Diff line change
@@ -1,2 +1,52 @@
********************************************************************************
compas_tno.diagrams
********************************************************************************

.. automodule:: compas_tno.diagrams
.. currentmodule:: compas_tno.diagrams


Classes
=======

.. autosummary::
:toctree: generated/

FormDiagram
ForceDiagram
FormGraph


Rectangular diagrams
====================

.. autosummary::
:toctree: generated/

create_cross_form
create_cross_diagonal
create_cross_with_diagonal
create_fan_form
create_ortho_form
create_parametric_form


Circular diagrams
=================

.. autosummary::
:toctree: generated/

create_circular_radial_form
create_circular_radial_spaced_form
create_circular_spiral_form


Linear diagrams
===============

.. autosummary::
:toctree: generated/

create_arch_form_diagram
create_linear_form_diagram
create_linear_form_diagram_sp_ep
14 changes: 13 additions & 1 deletion docs/api/compas_tno.optimisers.rst
Original file line number Diff line number Diff line change
@@ -1,2 +1,14 @@
********************************************************************************
compas_tno.optimisers
********************************************************************************

.. automodule:: compas_tno.optimisers
.. currentmodule:: compas_tno.optimisers

Classes
=======

.. autosummary::
:toctree: generated/
:nosignatures:

Optimiser
2 changes: 0 additions & 2 deletions docs/api/compas_tno.plotters.rst

This file was deleted.

Loading
Loading